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

Unified Diff: chrome/browser/ui/omnibox/omnibox_current_page_delegate_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/omnibox/omnibox_current_page_delegate_impl.h
diff --git a/chrome/browser/ui/omnibox/omnibox_current_page_delegate_impl.h b/chrome/browser/ui/omnibox/omnibox_current_page_delegate_impl.h
index 64bf0271bf50c3d76b4c98f32eb3ca07d5466dc5..60c325800baef433b45f87927c6d11c40b931a09 100644
--- a/chrome/browser/ui/omnibox/omnibox_current_page_delegate_impl.h
+++ b/chrome/browser/ui/omnibox/omnibox_current_page_delegate_impl.h
@@ -15,27 +15,24 @@ class OmniboxCurrentPageDelegateImpl : public OmniboxCurrentPageDelegate {
public:
explicit OmniboxCurrentPageDelegateImpl(OmniboxEditController* controller,
Profile* profile);
- virtual ~OmniboxCurrentPageDelegateImpl();
+ ~OmniboxCurrentPageDelegateImpl() override;
// OmniboxCurrentPageDelegate.
- virtual bool CurrentPageExists() const override;
- virtual const GURL& GetURL() const override;
- virtual bool IsInstantNTP() const override;
- virtual bool IsSearchResultsPage() const override;
- virtual bool IsLoading() const override;
- virtual content::NavigationController&
- GetNavigationController() const override;
- virtual const SessionID& GetSessionID() const override;
- virtual bool ProcessExtensionKeyword(
- TemplateURL* template_url,
- const AutocompleteMatch& match,
- WindowOpenDisposition disposition) override;
- virtual void OnInputStateChanged() override;
- virtual void OnFocusChanged(OmniboxFocusState state,
- OmniboxFocusChangeReason reason) override;
- virtual void DoPrerender(const AutocompleteMatch& match) override;
- virtual void SetSuggestionToPrefetch(
- const InstantSuggestion& suggestion) override;
+ bool CurrentPageExists() const override;
+ const GURL& GetURL() const override;
+ bool IsInstantNTP() const override;
+ bool IsSearchResultsPage() const override;
+ bool IsLoading() const override;
+ content::NavigationController& GetNavigationController() const override;
+ const SessionID& GetSessionID() const override;
+ bool ProcessExtensionKeyword(TemplateURL* template_url,
+ const AutocompleteMatch& match,
+ WindowOpenDisposition disposition) override;
+ void OnInputStateChanged() override;
+ void OnFocusChanged(OmniboxFocusState state,
+ OmniboxFocusChangeReason reason) override;
+ void DoPrerender(const AutocompleteMatch& match) override;
+ void SetSuggestionToPrefetch(const InstantSuggestion& suggestion) override;
private:
OmniboxEditController* controller_;

Powered by Google App Engine
This is Rietveld 408576698