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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.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/AdvancedSearchView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js b/third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js
index 22646f57fb32ab1e5ec6823a2035a9d0bbbf6c34..0f04cbeddee10fb45da76904a4f44efecf23f573 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/AdvancedSearchView.js
@@ -84,6 +84,9 @@ WebInspector.AdvancedSearchView.prototype = {
this._startIndexing();
},
+ /**
+ * @override
+ */
wasShown: function()
{
if (this._focusOnShow) {
@@ -285,12 +288,18 @@ WebInspector.AdvancedSearchView.prototype = {
this._searchMessageElement.textContent = finished ? WebInspector.UIString("Search finished.") : WebInspector.UIString("Search interrupted.");
},
+ /**
+ * @override
+ */
focus: function()
{
this._search.focus();
this._search.select();
},
+ /**
+ * @override
+ */
willHide: function()
{
this._stopSearch();

Powered by Google App Engine
This is Rietveld 408576698