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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.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/SourcesPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
index 0a2d8db714e87a240de52a7269e22306bad54b79..83634422914bca812b5f25452ced73ec8c0425ff 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
@@ -178,6 +178,9 @@ WebInspector.SourcesPanel.prototype = {
return this._paused;
},
+ /**
+ * @override
+ */
wasShown: function()
{
WebInspector.context.setFlavor(WebInspector.SourcesPanel, this);
@@ -190,6 +193,9 @@ WebInspector.SourcesPanel.prototype = {
this.editorView.setMainWidget(this._sourcesView);
},
+ /**
+ * @override
+ */
willHide: function()
{
WebInspector.Panel.prototype.willHide.call(this);
@@ -227,6 +233,9 @@ WebInspector.SourcesPanel.prototype = {
return true;
},
+ /**
+ * @override
+ */
onResize: function()
{
if (WebInspector.moduleSetting("sidebarPosition").get() === "auto")
@@ -306,7 +315,7 @@ WebInspector.SourcesPanel.prototype = {
},
/**
- * @return {!WebInspector.Widget}
+ * @return {?WebInspector.Widget}
*/
get visibleView()
{
@@ -1370,6 +1379,9 @@ WebInspector.SourcesPanel.WrapperView = function()
};
WebInspector.SourcesPanel.WrapperView.prototype = {
+ /**
+ * @override
+ */
wasShown: function()
{
if (!WebInspector.SourcesPanel.instance().isShowing())
@@ -1379,6 +1391,9 @@ WebInspector.SourcesPanel.WrapperView.prototype = {
WebInspector.SourcesPanel.updateResizerAndSidebarButtons(WebInspector.SourcesPanel.instance());
},
+ /**
+ * @override
+ */
willHide: function()
{
WebInspector.inspectorView.setDrawerMinimized(false);

Powered by Google App Engine
This is Rietveld 408576698