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

Unified Diff: third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js

Issue 2534383002: DevTools: [SuggestBox] migrate suggestbox icons onto UI.Icon (Closed)
Patch Set: address comments + better centering Created 4 years 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/ui/Icon.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/console/ConsolePrompt.js
diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js b/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js
index aa8e6222ac2ca80b838dd923665b3cf21c079eaa..6b8f50f9c2939558001c6a6dcd02c3e1324c325b 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsolePrompt.js
@@ -218,7 +218,8 @@ Console.ConsolePrompt = class extends UI.Widget {
if (set.has(item))
continue;
set.add(item);
- result.push({title: item.substring(text.length - prefix.length), className: 'additional'});
+ result.push(
+ {title: item.substring(text.length - prefix.length), iconType: 'smallicon-text-prompt', isSecondary: true});
}
return result;
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui/Icon.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698