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

Unified Diff: third_party/WebKit/Source/devtools/front_end/extensions/ExtensionView.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/extensions/ExtensionView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionView.js b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionView.js
index 13f6899a262f0f22cb3b1665e83c6b26b686902f..0abe01ca56beb311e7e7fbcfbb48d1a23cf23f51 100644
--- a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionView.js
+++ b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionView.js
@@ -54,12 +54,18 @@ WebInspector.ExtensionView = function(server, id, src, className)
};
WebInspector.ExtensionView.prototype = {
+ /**
+ * @override
+ */
wasShown: function()
{
if (typeof this._frameIndex === "number")
this._server.notifyViewShown(this._id, this._frameIndex);
},
+ /**
+ * @override
+ */
willHide: function()
{
if (typeof this._frameIndex === "number")
@@ -92,11 +98,17 @@ WebInspector.ExtensionNotifierView = function(server, id)
};
WebInspector.ExtensionNotifierView.prototype = {
+ /**
+ * @override
+ */
wasShown: function()
{
this._server.notifyViewShown(this._id);
},
+ /**
+ * @override
+ */
willHide: function()
{
this._server.notifyViewHidden(this._id);

Powered by Google App Engine
This is Rietveld 408576698