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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/Spectrum.js

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (Closed)
Patch Set: Created 4 years, 1 month 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: third_party/WebKit/Source/devtools/front_end/components/Spectrum.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/Spectrum.js b/third_party/WebKit/Source/devtools/front_end/components/Spectrum.js
index a0bf2cd4510107cb52ba75340a0c8c486fa3b58c..06de0fc6ec23b039094d377c4de0cb5c0a3ae5a7 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/Spectrum.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/Spectrum.js
@@ -851,6 +851,9 @@ WebInspector.Spectrum.prototype = {
this._innerSetColor(hsv, colorString, undefined, WebInspector.Spectrum._ChangeSource.Input);
},
+ /**
+ * @override
+ */
wasShown: function()
{
this._hueAlphaWidth = this._hueElement.offsetWidth;
@@ -863,6 +866,9 @@ WebInspector.Spectrum.prototype = {
WebInspector.targetManager.addModelListener(WebInspector.ResourceTreeModel, WebInspector.ResourceTreeModel.Events.ColorPicked, this._colorPicked, this);
},
+ /**
+ * @override
+ */
willHide: function()
{
this._toggleColorPicker(false);

Powered by Google App Engine
This is Rietveld 408576698