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

Unified Diff: components/toolbar/toolbar_model.h

Issue 1410293003: Vectorize LocationIconView icons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android 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
« no previous file with comments | « components/toolbar/OWNERS ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/toolbar/toolbar_model.h
diff --git a/components/toolbar/toolbar_model.h b/components/toolbar/toolbar_model.h
index b592f300d961b4f274164ff07ad489861db12079..dc67fc75ccc81c44186075548fa4aed4811ae69c 100644
--- a/components/toolbar/toolbar_model.h
+++ b/components/toolbar/toolbar_model.h
@@ -11,6 +11,10 @@
#include "base/strings/string16.h"
#include "url/gurl.h"
+namespace gfx {
+enum class VectorIconId;
+}
+
namespace net {
class X509Certificate;
}
@@ -64,6 +68,9 @@ class ToolbarModel {
// user is editing; see OmniboxView::GetIcon().
virtual int GetIcon() const = 0;
+ // Like GetIcon(), but gets the vector asset ID.
+ virtual gfx::VectorIconId GetVectorIcon() const = 0;
+
// Returns the name of the EV cert holder. This returns an empty string if
// the security level is not EV_SECURE.
virtual base::string16 GetEVCertName() const = 0;
« no previous file with comments | « components/toolbar/OWNERS ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698