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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/SourcesView.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/sources/SourcesView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
index 103ac813d1e3e4f8ca25c71798071207d733c380..b291e14b53b887e16e1f6493381bd61427727bc3 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
@@ -175,12 +175,18 @@ WebInspector.SourcesView.prototype = {
event.consume(true);
},
+ /**
+ * @override
+ */
wasShown: function()
{
WebInspector.VBox.prototype.wasShown.call(this);
WebInspector.context.setFlavor(WebInspector.SourcesView, this);
},
+ /**
+ * @override
+ */
willHide: function()
{
WebInspector.context.setFlavor(WebInspector.SourcesView, null);
@@ -204,7 +210,7 @@ WebInspector.SourcesView.prototype = {
},
/**
- * @return {!WebInspector.Widget}
+ * @return {?WebInspector.Widget}
*/
visibleView: function()
{

Powered by Google App Engine
This is Rietveld 408576698