Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(851)

Unified Diff: Source/devtools/front_end/elements/StylesSidebarPane.js

Issue 1155773002: Devtools Animations: Add cubic bezier easing editor for animations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()
« no previous file with comments | « Source/devtools/front_end/elements/StylesPopoverIcon.js ('k') | Source/devtools/front_end/elements/animationTimeline.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698