| Index: Source/devtools/front_end/elements/StylesSidebarPane.js
|
| diff --git a/Source/devtools/front_end/elements/StylesSidebarPane.js b/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| index 649aed29bb5f0fb568e83310a3b77ca715c2c046..9fa1dae1c214bc47936920f02337760eb0f77298 100644
|
| --- a/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| +++ b/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| @@ -49,7 +49,7 @@ WebInspector.StylesSidebarPane = function(requestShowCallback)
|
| this._toolbarPaneElement = toolbarPaneContainer.createChild("div", "styles-sidebar-toolbar-pane");
|
| this._sectionsContainer = this.bodyElement.createChild("div");
|
|
|
| - this._stylesPopoverHelper = new WebInspector.StylesPopoverHelper();
|
| + this._editorPopoverHelper = new WebInspector.EditorPopoverHelper();
|
|
|
| this._linkifier = new WebInspector.Linkifier(new WebInspector.Linkifier.DefaultCSSFormatter());
|
|
|
| @@ -303,7 +303,7 @@ WebInspector.StylesSidebarPane.prototype = {
|
| }
|
| }
|
|
|
| - this._stylesPopoverHelper.hide();
|
| + this._editorPopoverHelper.hide();
|
| node = WebInspector.SharedSidebarModel.elementNode(node);
|
|
|
| this._resetCache();
|
| @@ -757,7 +757,7 @@ WebInspector.StylesSidebarPane.prototype = {
|
| {
|
| this.element.ownerDocument.body.removeEventListener("keydown", this._keyDownBound, false);
|
| this.element.ownerDocument.body.removeEventListener("keyup", this._keyUpBound, false);
|
| - this._stylesPopoverHelper.hide();
|
| + this._editorPopoverHelper.hide();
|
| this._discardElementUnderMouse();
|
| WebInspector.ElementsSidebarPane.prototype.willHide.call(this);
|
| },
|
| @@ -2079,8 +2079,8 @@ WebInspector.StylePropertyTreeElement.prototype = {
|
| return swatch;
|
| }
|
|
|
| - var stylesPopoverHelper = this._parentPane._stylesPopoverHelper;
|
| - return new WebInspector.ColowSwatchPopoverIcon(this, stylesPopoverHelper, text).element();
|
| + var editorPopoverHelper = this._parentPane._editorPopoverHelper;
|
| + return new WebInspector.ColorSwatchPopoverIcon(this, editorPopoverHelper, text).element();
|
| },
|
|
|
| /**
|
| @@ -2100,8 +2100,8 @@ WebInspector.StylePropertyTreeElement.prototype = {
|
| var geometry = WebInspector.Geometry.CubicBezier.parse(text);
|
| if (!geometry || !this._styleRule.editable())
|
| return createTextNode(text);
|
| - var stylesPopoverHelper = this._parentPane._stylesPopoverHelper;
|
| - return new WebInspector.BezierPopoverIcon(this, stylesPopoverHelper, text).element();
|
| + var editorPopoverHelper = this._parentPane._editorPopoverHelper;
|
| + return new WebInspector.BezierPopoverIcon(this, editorPopoverHelper, text).element();
|
| },
|
|
|
| _updateState: function()
|
|
|