| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_IOS_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_IOS_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_IOS_H_ | 6 #define IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_IOS_H_ |
| 7 | 7 |
| 8 #include "base/mac/scoped_nsobject.h" | 8 #include "base/mac/scoped_nsobject.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "components/toolbar/toolbar_model_delegate.h" | 10 #include "components/toolbar/toolbar_model_delegate.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 // ToolbarModelDelegate implementation: | 38 // ToolbarModelDelegate implementation: |
| 39 base::string16 FormattedStringWithEquivalentMeaning( | 39 base::string16 FormattedStringWithEquivalentMeaning( |
| 40 const GURL& url, | 40 const GURL& url, |
| 41 const base::string16& formatted_url) const override; | 41 const base::string16& formatted_url) const override; |
| 42 bool GetURL(GURL* url) const override; | 42 bool GetURL(GURL* url) const override; |
| 43 bool ShouldDisplayURL() const override; | 43 bool ShouldDisplayURL() const override; |
| 44 SecurityLevel GetSecurityLevel() const override; | 44 SecurityLevel GetSecurityLevel() const override; |
| 45 scoped_refptr<net::X509Certificate> GetCertificate() const override; | 45 scoped_refptr<net::X509Certificate> GetCertificate() const override; |
| 46 bool FailsMalwareCheck() const override; | 46 bool FailsMalwareCheck() const override; |
| 47 gfx::VectorIconId GetVectorIconOverride() const override; | 47 const gfx::VectorIcon* GetVectorIconOverride() const override; |
| 48 | 48 |
| 49 base::scoped_nsobject<TabModel> tab_model_; | 49 base::scoped_nsobject<TabModel> tab_model_; |
| 50 | 50 |
| 51 DISALLOW_COPY_AND_ASSIGN(ToolbarModelDelegateIOS); | 51 DISALLOW_COPY_AND_ASSIGN(ToolbarModelDelegateIOS); |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 #endif // IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_IOS_H_ | 54 #endif // IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_IOS_H_ |
| OLD | NEW |