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

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

Issue 1448433004: [MD] update EV bubble icon and location bar https icons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build.gn Created 5 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: components/omnibox/browser/omnibox_view.h
diff --git a/components/omnibox/browser/omnibox_view.h b/components/omnibox/browser/omnibox_view.h
index 6095561e3ff3f9648358a36cc9ff68fd6ba2813a..63be0e8a3fca210d456463805fecfe7709bb5651 100644
--- a/components/omnibox/browser/omnibox_view.h
+++ b/components/omnibox/browser/omnibox_view.h
@@ -75,8 +75,10 @@ class OmniboxView {
// Returns the resource ID of the icon to show for the current text.
int GetIcon() const;
- // Like GetIcon(), but returns a vector icon identifier.
- gfx::VectorIconId GetVectorIcon() const;
+ // Like GetIcon(), but returns a vector icon identifier. If |invert| is true,
+ // this returns an icon suitable for display in an inverted (light-on-dark)
+ // color scheme.
+ gfx::VectorIconId GetVectorIcon(bool invert) 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
« no previous file with comments | « chrome/browser/ui/views/location_bar/selected_keyword_view.cc ('k') | components/omnibox/browser/omnibox_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698