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

Unified Diff: components/omnibox/browser/omnibox_view.h

Issue 1410293003: Vectorize LocationIconView icons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owners,remove assets 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: components/omnibox/browser/omnibox_view.h
diff --git a/components/omnibox/browser/omnibox_view.h b/components/omnibox/browser/omnibox_view.h
index 31bdb558d990c5ca4b8a378287323730645de0a0..a765790e7ec8f67abeaf91bbb4bd383df86ecc88 100644
--- a/components/omnibox/browser/omnibox_view.h
+++ b/components/omnibox/browser/omnibox_view.h
@@ -28,6 +28,10 @@ class OmniboxEditController;
class OmniboxViewMacTest;
class ToolbarModel;
+namespace gfx {
+enum class VectorIconId;
+}
+
class OmniboxView {
public:
virtual ~OmniboxView();
@@ -71,6 +75,9 @@ class OmniboxView {
// Returns the resource ID of the icon to show for the current text.
int GetIcon() const;
+ // FIXME
Peter Kasting 2015/10/21 19:45:47 ?
Evan Stade 2015/10/21 23:20:02 fixed
+ gfx::VectorIconId GetVectorIcon() const;
+
// The user text is the text the user has manually keyed in. When present,
// this is shown in preference to the permanent text; hitting escape will
// revert to the permanent text.

Powered by Google App Engine
This is Rietveld 408576698