Chromium Code Reviews| Index: components/toolbar/toolbar_model.h |
| diff --git a/components/toolbar/toolbar_model.h b/components/toolbar/toolbar_model.h |
| index afc86a9c1e9bfb238d4c9a872165b337b5401664..e36dcdbf293722adf00b3bad2cda3234bfffadf3 100644 |
| --- a/components/toolbar/toolbar_model.h |
| +++ b/components/toolbar/toolbar_model.h |
| @@ -74,6 +74,9 @@ class ToolbarModel { |
| // Like GetIcon(), but gets the vector asset ID. |
| virtual gfx::VectorIconId GetVectorIcon() const = 0; |
| + // Returns text for the omnibox secure verbose chip. |
| + 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; |
| @@ -82,6 +85,9 @@ class ToolbarModel { |
| // in the location bar. |
| virtual bool ShouldDisplayURL() const = 0; |
| + // Returns the EV cert object. |
| + virtual scoped_refptr<net::X509Certificate> GetCertificate() const = 0; |
|
Peter Kasting
2016/07/19 21:17:21
Nit: Seems like this should maybe be moved up one
Kevin Bailey
2016/08/12 18:49:15
Done. Fixed in toolbar_model_impl.h too.
|
| + |
| // Whether the text in the omnibox is currently being edited. |
| void set_input_in_progress(bool input_in_progress) { |
| input_in_progress_ = input_in_progress; |