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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_result_view.h

Issue 1418543002: Vectorize omnibox dropdown icons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: notreached Created 5 years, 2 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
Index: chrome/browser/ui/views/omnibox/omnibox_result_view.h
diff --git a/chrome/browser/ui/views/omnibox/omnibox_result_view.h b/chrome/browser/ui/views/omnibox/omnibox_result_view.h
index b79ce29821f04aa9971d0491f8f06095dc802e5c..e1b32e79a022953f33fa0aaee67177f9999c1ac9 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_result_view.h
+++ b/chrome/browser/ui/views/omnibox/omnibox_result_view.h
@@ -123,6 +123,10 @@ class OmniboxResultView : public views::View,
const char* GetClassName() const override;
gfx::ImageSkia GetIcon() const;
+
+ // Gets the icon for use in MD mode (should eventually supplant GetIcon()).
+ gfx::ImageSkia GetMaterialIcon() const;
+
const gfx::ImageSkia* GetKeywordIcon() const;
// Whether to render only the keyword match. Returns true if |match_| has an

Powered by Google App Engine
This is Rietveld 408576698