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

Unified Diff: components/toolbar/toolbar_model.h

Issue 2144903004: New location security strings and animation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't animate if level is same Created 4 years, 4 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/toolbar/toolbar_model.h
diff --git a/components/toolbar/toolbar_model.h b/components/toolbar/toolbar_model.h
index afc86a9c1e9bfb238d4c9a872165b337b5401664..3ac060bee0e8d19baa32a15f93d2593e8e967aef 100644
--- a/components/toolbar/toolbar_model.h
+++ b/components/toolbar/toolbar_model.h
@@ -74,10 +74,16 @@ class ToolbarModel {
// Like GetIcon(), but gets the vector asset ID.
virtual gfx::VectorIconId GetVectorIcon() const = 0;
+ // Returns text for the omnibox secure verbose chip.
Peter Kasting 2016/08/20 01:16:43 Seems like the changes in these files are copied f
+ virtual base::string16 GetSecureVerboseText() 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;
+ // Returns the EV cert object.
+ virtual scoped_refptr<net::X509Certificate> GetCertificate() const = 0;
+
// Returns whether the URL for the current navigation entry should be
// in the location bar.
virtual bool ShouldDisplayURL() const = 0;

Powered by Google App Engine
This is Rietveld 408576698