Commit be1bd6dc authored by flandy's avatar flandy Committed by Commit bot

DevTools: Move Spectrum from elements/ to components/ so that it can be used...

DevTools: Move Spectrum from elements/ to components/ so that it can be used in both Sources and Elements.

Review-Url: https://codereview.chromium.org/2142133002
Cr-Commit-Position: refs/heads/master@{#405216}
parent dbb205b9
...@@ -98,6 +98,7 @@ ...@@ -98,6 +98,7 @@
'front_end/components/networkConditionsSettingsTab.css', 'front_end/components/networkConditionsSettingsTab.css',
'front_end/components/objectPropertiesSection.css', 'front_end/components/objectPropertiesSection.css',
'front_end/components/objectValue.css', 'front_end/components/objectValue.css',
'front_end/components/spectrum.css',
'front_end/components/CustomPreviewSection.js', 'front_end/components/CustomPreviewSection.js',
'front_end/components/DataSaverInfobar.js', 'front_end/components/DataSaverInfobar.js',
'front_end/components/DockController.js', 'front_end/components/DockController.js',
...@@ -113,6 +114,7 @@ ...@@ -113,6 +114,7 @@
'front_end/components/RemoteObjectPreviewFormatter.js', 'front_end/components/RemoteObjectPreviewFormatter.js',
'front_end/components/RequestAppBannerActionDelegate.js', 'front_end/components/RequestAppBannerActionDelegate.js',
'front_end/components/ShortcutsScreen.js', 'front_end/components/ShortcutsScreen.js',
'front_end/components/Spectrum.js',
'front_end/components/EventListenersUtils.js', 'front_end/components/EventListenersUtils.js',
'front_end/components/EventListenersView.js', 'front_end/components/EventListenersView.js',
'front_end/components/Reload.js', 'front_end/components/Reload.js',
...@@ -445,7 +447,6 @@ ...@@ -445,7 +447,6 @@
'front_end/elements/elementsPanel.css', 'front_end/elements/elementsPanel.css',
'front_end/elements/elementsTreeOutline.css', 'front_end/elements/elementsTreeOutline.css',
'front_end/elements/platformFontsWidget.css', 'front_end/elements/platformFontsWidget.css',
'front_end/elements/spectrum.css',
'front_end/elements/BezierEditor.js', 'front_end/elements/BezierEditor.js',
'front_end/elements/BezierUI.js', 'front_end/elements/BezierUI.js',
'front_end/elements/ClassesPaneWidget.js', 'front_end/elements/ClassesPaneWidget.js',
...@@ -464,7 +465,6 @@ ...@@ -464,7 +465,6 @@
'front_end/elements/PlatformFontsWidget.js', 'front_end/elements/PlatformFontsWidget.js',
'front_end/elements/PropertiesWidget.js', 'front_end/elements/PropertiesWidget.js',
'front_end/elements/PropertyChangeHighlighter.js', 'front_end/elements/PropertyChangeHighlighter.js',
'front_end/elements/Spectrum.js',
'front_end/elements/StylesPopoverHelper.js', 'front_end/elements/StylesPopoverHelper.js',
'front_end/elements/StylesSidebarPane.js', 'front_end/elements/StylesSidebarPane.js',
'front_end/elements/ComputedStyleWidget.js', 'front_end/elements/ComputedStyleWidget.js',
......
...@@ -46,7 +46,7 @@ WebInspector.Spectrum = function() ...@@ -46,7 +46,7 @@ WebInspector.Spectrum = function()
} }
WebInspector.VBox.call(this, true); WebInspector.VBox.call(this, true);
this.registerRequiredCSS("elements/spectrum.css"); this.registerRequiredCSS("components/spectrum.css");
this.contentElement.tabIndex = 0; this.contentElement.tabIndex = 0;
this._colorElement = this.contentElement.createChild("div", "spectrum-color"); this._colorElement = this.contentElement.createChild("div", "spectrum-color");
......
...@@ -76,6 +76,7 @@ ...@@ -76,6 +76,7 @@
"RemoteObjectPreviewFormatter.js", "RemoteObjectPreviewFormatter.js",
"RequestAppBannerActionDelegate.js", "RequestAppBannerActionDelegate.js",
"ShortcutsScreen.js", "ShortcutsScreen.js",
"Spectrum.js",
"EventListenersUtils.js", "EventListenersUtils.js",
"EventListenersView.js", "EventListenersView.js",
"Reload.js" "Reload.js"
...@@ -87,6 +88,7 @@ ...@@ -87,6 +88,7 @@
"domUtils.css", "domUtils.css",
"networkConditionsSettingsTab.css", "networkConditionsSettingsTab.css",
"objectPropertiesSection.css", "objectPropertiesSection.css",
"objectValue.css" "objectValue.css",
"spectrum.css"
] ]
} }
...@@ -160,7 +160,6 @@ ...@@ -160,7 +160,6 @@
"BezierUI.js", "BezierUI.js",
"StylesPopoverHelper.js", "StylesPopoverHelper.js",
"BezierEditor.js", "BezierEditor.js",
"Spectrum.js",
"ElementsBreadcrumbs.js", "ElementsBreadcrumbs.js",
"ElementsSidebarPane.js", "ElementsSidebarPane.js",
"ElementsSidebarView.js", "ElementsSidebarView.js",
...@@ -185,7 +184,6 @@ ...@@ -185,7 +184,6 @@
"computedStyleSidebarPane.css", "computedStyleSidebarPane.css",
"elementsPanel.css", "elementsPanel.css",
"elementsTreeOutline.css", "elementsTreeOutline.css",
"spectrum.css",
"platformFontsWidget.css" "platformFontsWidget.css"
] ]
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment