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

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

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 8dc76785078889bbff1c5d6e1217154abddffbc0..7d102428698e4a31ccb9f1de0391e8076ed04e1c 100644
--- a/chrome/browser/ui/toolbar/toolbar_model_impl.h
+++ b/chrome/browser/ui/toolbar/toolbar_model_impl.h
@@ -31,25 +31,24 @@ class X509Certificate;
class ToolbarModelImpl : public ToolbarModel {
public:
explicit ToolbarModelImpl(ToolbarModelDelegate* delegate);
- virtual ~ToolbarModelImpl();
+ ~ToolbarModelImpl() override;
static SecurityLevel GetSecurityLevelForWebContents(
content::WebContents* web_contents);
private:
// ToolbarModel:
- virtual base::string16 GetText() const override;
- virtual base::string16 GetFormattedURL(size_t* prefix_end) const override;
- virtual base::string16 GetCorpusNameForMobile() const override;
- virtual GURL GetURL() const override;
- virtual bool WouldPerformSearchTermReplacement(
- bool ignore_editing) const override;
- virtual SecurityLevel GetSecurityLevel(bool ignore_editing) const override;
- virtual int GetIcon() const override;
- virtual int GetIconForSecurityLevel(SecurityLevel level) const override;
- virtual base::string16 GetEVCertName() const override;
- virtual bool ShouldDisplayURL() const override;
- virtual bool WouldOmitURLDueToOriginChip() const override;
+ base::string16 GetText() const override;
+ base::string16 GetFormattedURL(size_t* prefix_end) const override;
+ base::string16 GetCorpusNameForMobile() const override;
+ GURL GetURL() const override;
+ bool WouldPerformSearchTermReplacement(bool ignore_editing) const override;
+ SecurityLevel GetSecurityLevel(bool ignore_editing) const override;
+ int GetIcon() const override;
+ int GetIconForSecurityLevel(SecurityLevel level) const override;
+ base::string16 GetEVCertName() const override;
+ bool ShouldDisplayURL() const override;
+ bool WouldOmitURLDueToOriginChip() const override;
// Returns the navigation controller used to retrieve the navigation entry
// from which the states are retrieved.

Powered by Google App Engine
This is Rietveld 408576698