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

Unified Diff: third_party/WebKit/Source/devtools/front_end/quick_open/CommandMenu.js

Issue 2599623002: DevTools: Show not found message in FilteredListWidgets (Closed)
Patch Set: merge Created 3 years, 11 months 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/quick_open/CommandMenu.js
diff --git a/third_party/WebKit/Source/devtools/front_end/quick_open/CommandMenu.js b/third_party/WebKit/Source/devtools/front_end/quick_open/CommandMenu.js
index 7a48ee5da8324c55c93cf04150317eb1cfbc254e..16d03cc23fa6333d21ca67d8b67de716dc357d8c 100644
--- a/third_party/WebKit/Source/devtools/front_end/quick_open/CommandMenu.js
+++ b/third_party/WebKit/Source/devtools/front_end/quick_open/CommandMenu.js
@@ -250,6 +250,14 @@ QuickOpen.CommandMenuDelegate = class extends QuickOpen.FilteredListWidget.Deleg
renderMonospace() {
return false;
}
+
+ /**
+ * @override
+ * @return {string}
+ */
+ notFoundText() {
+ return Common.UIString('No commands found');
+ }
};
QuickOpen.CommandMenuDelegate.MaterialPaletteColors = [
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698