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

Unified Diff: third_party/WebKit/Source/devtools/front_end/layers/LayersPanel.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/layers/LayersPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/layers/LayersPanel.js b/third_party/WebKit/Source/devtools/front_end/layers/LayersPanel.js
index 183c31232015053452a5282117ffde6940e5002f..2d337e0cd23e1bfff306ab59e6100d1725b4492d 100644
--- a/third_party/WebKit/Source/devtools/front_end/layers/LayersPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/layers/LayersPanel.js
@@ -72,24 +72,33 @@ WebInspector.LayersPanel.DetailsViewTabs = {
};
WebInspector.LayersPanel.prototype = {
+ /**
+ * @override
+ */
focus: function()
{
this._layerTreeOutline.focus();
},
+ /**
+ * @override
+ */
wasShown: function()
{
- WebInspector.Panel.prototype.wasShown.call(this);
+ WebInspector.PanelWithSidebar.prototype.wasShown.call(this);
if (this._model)
this._model.enable();
this._layerTreeOutline.focus();
},
+ /**
+ * @override
+ */
willHide: function()
{
if (this._model)
this._model.disable();
- WebInspector.Panel.prototype.willHide.call(this);
+ WebInspector.PanelWithSidebar.prototype.willHide.call(this);
},
/**

Powered by Google App Engine
This is Rietveld 408576698