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

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: Missing files Created 5 years, 7 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 ab0bf434ef9369c1acc6e648864ee681dee51bdf..55ed086f72d8356b45ab83030521af290dbde115 100644
--- a/Source/devtools/front_end/elements/StylesSidebarPane.js
+++ b/Source/devtools/front_end/elements/StylesSidebarPane.js
@@ -67,7 +67,7 @@ WebInspector.StylesSidebarPane = function(requestShowCallback)
this._sectionsContainer = createElement("div");
this.bodyElement.appendChild(this._sectionsContainer);
- this._stylesPopoverHelper = new WebInspector.StylesPopoverHelper();
+ this._editorPopoverHelper = new WebInspector.EditorPopoverHelper();
this._linkifier = new WebInspector.Linkifier(new WebInspector.Linkifier.DefaultCSSFormatter());
@@ -363,7 +363,7 @@ WebInspector.StylesSidebarPane.prototype = {
}
}
- this._stylesPopoverHelper.hide();
+ this._editorPopoverHelper.hide();
node = WebInspector.StylesSidebarPane.normalizeNode(node);
this._resetCache();
@@ -900,7 +900,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);
},
@@ -2169,8 +2169,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();
},
/**
@@ -2190,8 +2190,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()

Powered by Google App Engine
This is Rietveld 408576698