Commit 65f7005b authored by flandy's avatar flandy Committed by Commit bot

DevTools: Move BezierEditor from elements/ to ui/

This move allows the BezierEditor to also be used in Sources panel.

BUG=642782

Review-Url: https://codereview.chromium.org/2299473002
Cr-Commit-Position: refs/heads/master@{#415704}
parent 604aab69
...@@ -194,6 +194,7 @@ devtools_emulation_js_files = [ ...@@ -194,6 +194,7 @@ devtools_emulation_js_files = [
"front_end/emulation/TouchModel.js", "front_end/emulation/TouchModel.js",
] ]
devtools_ui_js_files = [ devtools_ui_js_files = [
"front_end/ui/bezierEditor.css",
"front_end/ui/bezierSwatch.css", "front_end/ui/bezierSwatch.css",
"front_end/ui/checkboxTextLabel.css", "front_end/ui/checkboxTextLabel.css",
"front_end/ui/closeButton.css", "front_end/ui/closeButton.css",
...@@ -232,6 +233,8 @@ devtools_ui_js_files = [ ...@@ -232,6 +233,8 @@ devtools_ui_js_files = [
"front_end/ui/treeoutline.css", "front_end/ui/treeoutline.css",
"front_end/ui/viewContainers.css", "front_end/ui/viewContainers.css",
"front_end/ui/ActionRegistry.js", "front_end/ui/ActionRegistry.js",
"front_end/ui/BezierEditor.js",
"front_end/ui/BezierUI.js",
"front_end/ui/ColorSwatch.js", "front_end/ui/ColorSwatch.js",
"front_end/ui/Context.js", "front_end/ui/Context.js",
"front_end/ui/ContextMenu.js", "front_end/ui/ContextMenu.js",
...@@ -399,14 +402,11 @@ devtools_diff_js_files = [ ...@@ -399,14 +402,11 @@ devtools_diff_js_files = [
"front_end/diff/diff_match_patch.js", "front_end/diff/diff_match_patch.js",
] ]
devtools_elements_js_files = [ devtools_elements_js_files = [
"front_end/elements/bezierEditor.css",
"front_end/elements/breadcrumbs.css", "front_end/elements/breadcrumbs.css",
"front_end/elements/computedStyleSidebarPane.css", "front_end/elements/computedStyleSidebarPane.css",
"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/BezierEditor.js",
"front_end/elements/BezierUI.js",
"front_end/elements/ClassesPaneWidget.js", "front_end/elements/ClassesPaneWidget.js",
"front_end/elements/ColorSwatchPopoverIcon.js", "front_end/elements/ColorSwatchPopoverIcon.js",
"front_end/elements/ComputedStyleModel.js", "front_end/elements/ComputedStyleModel.js",
......
...@@ -214,9 +214,7 @@ ...@@ -214,9 +214,7 @@
], ],
"scripts": [ "scripts": [
"InspectElementModeController.js", "InspectElementModeController.js",
"BezierUI.js",
"ColorSwatchPopoverIcon.js", "ColorSwatchPopoverIcon.js",
"BezierEditor.js",
"ComputedStyleModel.js", "ComputedStyleModel.js",
"ElementsBreadcrumbs.js", "ElementsBreadcrumbs.js",
"ElementsSidebarPane.js", "ElementsSidebarPane.js",
...@@ -235,7 +233,6 @@ ...@@ -235,7 +233,6 @@
"ElementsTreeElementHighlighter.js" "ElementsTreeElementHighlighter.js"
], ],
"resources": [ "resources": [
"bezierEditor.css",
"breadcrumbs.css", "breadcrumbs.css",
"computedStyleSidebarPane.css", "computedStyleSidebarPane.css",
"elementsPanel.css", "elementsPanel.css",
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
WebInspector.BezierEditor = function() WebInspector.BezierEditor = function()
{ {
WebInspector.VBox.call(this, true); WebInspector.VBox.call(this, true);
this.registerRequiredCSS("elements/bezierEditor.css"); this.registerRequiredCSS("ui/bezierEditor.css");
this.contentElement.tabIndex = 0; this.contentElement.tabIndex = 0;
// Preview UI // Preview UI
......
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
"InspectorView.js", "InspectorView.js",
"ActionRegistry.js", "ActionRegistry.js",
"ShortcutRegistry.js", "ShortcutRegistry.js",
"BezierEditor.js",
"BezierUI.js",
"ColorSwatch.js", "ColorSwatch.js",
"Context.js", "Context.js",
"ContextMenu.js", "ContextMenu.js",
...@@ -51,6 +53,7 @@ ...@@ -51,6 +53,7 @@
"ZoomManager.js" "ZoomManager.js"
], ],
"resources": [ "resources": [
"bezierEditor.css",
"bezierSwatch.css", "bezierSwatch.css",
"checkboxTextLabel.css", "checkboxTextLabel.css",
"closeButton.css", "closeButton.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