From 43ddea6efd0411f45e853b79633b5fa6567e4d31 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Fri, 30 Oct 2015 13:59:30 -0500 Subject: [PATCH] Bug 1207976 - Remove /themes from DevTools URLs. r=ochameau --- addon-sdk/source/lib/dev/theme.js | 4 +- browser/base/content/browser.xul | 2 +- .../animation-inspector.xhtml | 4 +- .../client/canvasdebugger/canvasdebugger.xul | 6 +- .../commandline/commandlineoutput.xhtml | 2 +- .../commandline/commandlinetooltip.xhtml | 2 +- devtools/client/debugger/debugger.xul | 6 +- devtools/client/definitions.js | 36 +++++----- devtools/client/eyedropper/eyedropper.xul | 4 +- .../client/fontinspector/font-inspector.xhtml | 4 +- .../client/framework/connect/connect.xhtml | 2 +- .../framework/test/browser_toolbox_sidebar.js | 2 +- .../test/browser_toolbox_sidebar_events.js | 2 +- .../browser_toolbox_sidebar_existing_tabs.js | 2 +- .../test/browser_toolbox_sidebar_tool.xul | 4 +- devtools/client/framework/toolbox.xul | 2 +- devtools/client/inspector/inspector.xul | 6 +- devtools/client/jsonview/css/search-box.css | 4 +- devtools/client/layoutview/view.xhtml | 4 +- devtools/client/markupview/markup-view.xhtml | 4 +- devtools/client/memory/memory.xhtml | 6 +- devtools/client/netmonitor/netmonitor.xul | 6 +- devtools/client/performance/performance.xul | 6 +- .../chrome/content/projecteditor-loader.js | 2 +- .../chrome/content/projecteditor.xul | 8 +-- .../lib/plugins/app-manager/plugin.js | 2 +- .../test/browser_projecteditor_app_options.js | 16 ++--- devtools/client/projecteditor/test/head.js | 2 +- .../promisedebugger/promise-debugger.xhtml | 4 +- .../responsivedesign-child.js | 2 +- devtools/client/scratchpad/scratchpad.xul | 4 +- devtools/client/shadereditor/shadereditor.xul | 6 +- .../shared/test/browser_tableWidget_basic.js | 6 +- ...rowser_tableWidget_keyboard_interaction.js | 6 +- .../browser_tableWidget_mouse_interaction.js | 6 +- .../shared/test/browser_treeWidget_basic.js | 4 +- ...browser_treeWidget_keyboard_interaction.js | 4 +- .../browser_treeWidget_mouse_interaction.js | 4 +- .../client/shared/test/doc_options-view.xul | 4 +- devtools/client/shared/theme-switching.js | 2 +- devtools/client/shared/theme.js | 2 +- devtools/client/shared/widgets/Tooltip.js | 2 +- .../client/shared/widgets/VariablesView.xul | 4 +- .../shared/widgets/cubic-bezier-frame.xhtml | 2 +- .../client/shared/widgets/filter-frame.xhtml | 2 +- .../client/shared/widgets/filter-widget.css | 8 +-- .../client/shared/widgets/graphs-frame.xhtml | 4 +- .../shared/widgets/mdn-docs-frame.xhtml | 2 +- .../shared/widgets/spectrum-frame.xhtml | 2 +- devtools/client/shared/widgets/spectrum.css | 6 +- .../sourceeditor/codemirror/mozilla.css | 18 ++--- devtools/client/sourceeditor/editor.js | 2 +- devtools/client/storage/storage.xul | 6 +- devtools/client/styleeditor/styleeditor.xul | 8 +-- .../client/styleinspector/computedview.xhtml | 4 +- .../client/styleinspector/cssruleview.xhtml | 4 +- devtools/client/themes/animationinspector.css | 6 +- devtools/client/themes/canvasdebugger.css | 4 +- devtools/client/themes/commandline.inc.css | 14 ++-- devtools/client/themes/dark-theme.css | 16 ++--- devtools/client/themes/light-theme.css | 16 ++--- devtools/client/themes/memory.css | 4 +- devtools/client/themes/netmonitor.css | 8 +-- devtools/client/themes/performance.css | 8 +-- .../client/themes/responsivedesign.inc.css | 34 ++++----- devtools/client/themes/ruleview.css | 14 ++-- devtools/client/themes/shims/common.css | 2 +- devtools/client/themes/storage.css | 2 +- devtools/client/themes/toolbars.css | 72 +++++++++---------- devtools/client/themes/webaudioeditor.css | 4 +- devtools/client/themes/webconsole.css | 10 +-- devtools/client/themes/widgets.css | 26 +++---- .../client/webaudioeditor/webaudioeditor.xul | 6 +- devtools/client/webconsole/webconsole.xul | 6 +- devtools/client/webide/content/logs.xhtml | 2 +- devtools/client/webide/content/webide.xul | 2 +- devtools/client/webide/modules/app-manager.js | 2 +- 77 files changed, 268 insertions(+), 268 deletions(-) diff --git a/addon-sdk/source/lib/dev/theme.js b/addon-sdk/source/lib/dev/theme.js index ed4e5d6f92ff..05930a502c35 100644 --- a/addon-sdk/source/lib/dev/theme.js +++ b/addon-sdk/source/lib/dev/theme.js @@ -123,12 +123,12 @@ onDisable.define(Theme, (theme, {window, newTheme}) => { const LightTheme = Theme({ name: "theme-light", - styles: "chrome://devtools/skin/themes/light-theme.css", + styles: "chrome://devtools/skin/light-theme.css", }); const DarkTheme = Theme({ name: "theme-dark", - styles: "chrome://devtools/skin/themes/dark-theme.css", + styles: "chrome://devtools/skin/dark-theme.css", }); exports.LightTheme = LightTheme; diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul index 419e4617ed84..e9945509d4bf 100644 --- a/browser/base/content/browser.xul +++ b/browser/base/content/browser.xul @@ -8,7 +8,7 @@ - + diff --git a/devtools/client/animationinspector/animation-inspector.xhtml b/devtools/client/animationinspector/animation-inspector.xhtml index 5228b056ec0c..582275af8ee8 100644 --- a/devtools/client/animationinspector/animation-inspector.xhtml +++ b/devtools/client/animationinspector/animation-inspector.xhtml @@ -10,8 +10,8 @@ &title; - - + + diff --git a/devtools/client/framework/test/browser_toolbox_sidebar.js b/devtools/client/framework/test/browser_toolbox_sidebar.js index 36b139df71a2..e52a6ef5c0ab 100644 --- a/devtools/client/framework/test/browser_toolbox_sidebar.js +++ b/devtools/client/framework/test/browser_toolbox_sidebar.js @@ -6,7 +6,7 @@ function test() { let {ToolSidebar} = require("devtools/client/framework/sidebar"); const toolURL = "data:text/xml;charset=utf8," + - "" + + "" + "" + "foo" + "" + diff --git a/devtools/client/framework/test/browser_toolbox_sidebar_events.js b/devtools/client/framework/test/browser_toolbox_sidebar_events.js index bc1d2c0bda49..fedcc1e35e78 100644 --- a/devtools/client/framework/test/browser_toolbox_sidebar_events.js +++ b/devtools/client/framework/test/browser_toolbox_sidebar_events.js @@ -6,7 +6,7 @@ function test() { const { ToolSidebar } = require("devtools/client/framework/sidebar"); const toolURL = "data:text/xml;charset=utf8," + - "" + + "" + "" + "foo" + "" + diff --git a/devtools/client/framework/test/browser_toolbox_sidebar_existing_tabs.js b/devtools/client/framework/test/browser_toolbox_sidebar_existing_tabs.js index 9d00bfb1c61d..e9b3bff9637b 100644 --- a/devtools/client/framework/test/browser_toolbox_sidebar_existing_tabs.js +++ b/devtools/client/framework/test/browser_toolbox_sidebar_existing_tabs.js @@ -7,7 +7,7 @@ const {ToolSidebar} = require("devtools/client/framework/sidebar"); const testToolURL = "data:text/xml;charset=utf8," + - "" + + "" + "" + "test tool" + "" + diff --git a/devtools/client/framework/test/browser_toolbox_sidebar_tool.xul b/devtools/client/framework/test/browser_toolbox_sidebar_tool.xul index 59cbe3506d71..7dfb4ea5497e 100644 --- a/devtools/client/framework/test/browser_toolbox_sidebar_tool.xul +++ b/devtools/client/framework/test/browser_toolbox_sidebar_tool.xul @@ -4,8 +4,8 @@ - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> - - + + - - + + diff --git a/devtools/client/markupview/markup-view.xhtml b/devtools/client/markupview/markup-view.xhtml index e49aa6ab7072..3b8f5a812d7c 100644 --- a/devtools/client/markupview/markup-view.xhtml +++ b/devtools/client/markupview/markup-view.xhtml @@ -8,8 +8,8 @@ - - + + diff --git a/devtools/client/shared/widgets/filter-widget.css b/devtools/client/shared/widgets/filter-widget.css index 7cc02507627b..7ff553d8c151 100644 --- a/devtools/client/shared/widgets/filter-widget.css +++ b/devtools/client/shared/widgets/filter-widget.css @@ -195,7 +195,7 @@ html, body { .remove-button { width: 16px; height: 16px; - background: url(chrome://devtools/skin/themes/images/close@2x.png); + background: url(chrome://devtools/skin/images/close@2x.png); background-size: cover; font-size: 0; border: none; @@ -231,14 +231,14 @@ html, body { } .add { - background: url(chrome://devtools/skin/themes/images/add.svg); + background: url(chrome://devtools/skin/images/add.svg); } #toggle-presets { - background: url(chrome://devtools/skin/themes/images/pseudo-class.svg#pseudo-class); + background: url(chrome://devtools/skin/images/pseudo-class.svg#pseudo-class); } .show-presets #toggle-presets { - background: url(chrome://devtools/skin/themes/images/pseudo-class.svg#pseudo-class-checked); + background: url(chrome://devtools/skin/images/pseudo-class.svg#pseudo-class-checked); filter: none; } diff --git a/devtools/client/shared/widgets/graphs-frame.xhtml b/devtools/client/shared/widgets/graphs-frame.xhtml index b8d6f752ba0b..6e951982fb09 100644 --- a/devtools/client/shared/widgets/graphs-frame.xhtml +++ b/devtools/client/shared/widgets/graphs-frame.xhtml @@ -7,8 +7,8 @@ - - + + diff --git a/devtools/client/webide/content/webide.xul b/devtools/client/webide/content/webide.xul index 86c358793782..17c464cb40b4 100644 --- a/devtools/client/webide/content/webide.xul +++ b/devtools/client/webide/content/webide.xul @@ -12,7 +12,7 @@ - +