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

Unified Diff: chrome/browser/ui/toolbar/toolbar_model_impl.h

Issue 1410293003: Vectorize LocationIconView icons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: self review 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/toolbar/toolbar_model_impl.h
diff --git a/chrome/browser/ui/toolbar/toolbar_model_impl.h b/chrome/browser/ui/toolbar/toolbar_model_impl.h
index 3bca88e459bcc63868efa175cf698ff79596e47c..b6cc5418134ee4b601cc83892b36cd8b3bdfe6f5 100644
--- a/chrome/browser/ui/toolbar/toolbar_model_impl.h
+++ b/chrome/browser/ui/toolbar/toolbar_model_impl.h
@@ -43,12 +43,15 @@ class ToolbarModelImpl : public ChromeToolbarModel {
SecurityStateModel::SecurityLevel GetSecurityLevel(
bool ignore_editing) const override;
int GetIcon() const override;
+ gfx::VectorIconId GetVectorIcon() const override;
base::string16 GetEVCertName() const override;
bool ShouldDisplayURL() const override;
// As |GetIcon()|, but returns the icon only taking into account the security
// level| given, ignoring search term replacement state.
int GetIconForSecurityLevel(SecurityStateModel::SecurityLevel level) const;
+ gfx::VectorIconId GetVectorIconForSecurityLevel(
+ SecurityStateModel::SecurityLevel level) const;
// Returns the navigation controller used to retrieve the navigation entry
// from which the states are retrieved.
« no previous file with comments | « no previous file | chrome/browser/ui/toolbar/toolbar_model_impl.cc » ('j') | chrome/browser/ui/toolbar/toolbar_model_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698