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

Unified Diff: components/translate/content/browser/content_translate_driver.h

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (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: components/translate/content/browser/content_translate_driver.h
diff --git a/components/translate/content/browser/content_translate_driver.h b/components/translate/content/browser/content_translate_driver.h
index ea77e42196e4cd5ecdd752aa5852cc4bc929859e..3bed413e41d3d73a1cbe2faabf02227115d1b119 100644
--- a/components/translate/content/browser/content_translate_driver.h
+++ b/components/translate/content/browser/content_translate_driver.h
@@ -71,29 +71,29 @@ class ContentTranslateDriver : public TranslateDriver,
void InitiateTranslation(const std::string& page_lang, int attempt);
// TranslateDriver methods.
- virtual void OnIsPageTranslatedChanged() OVERRIDE;
- virtual void OnTranslateEnabledChanged() OVERRIDE;
- virtual bool IsLinkNavigation() OVERRIDE;
+ virtual void OnIsPageTranslatedChanged() override;
+ virtual void OnTranslateEnabledChanged() override;
+ virtual bool IsLinkNavigation() override;
virtual void TranslatePage(int page_seq_no,
const std::string& translate_script,
const std::string& source_lang,
- const std::string& target_lang) OVERRIDE;
- virtual void RevertTranslation(int page_seq_no) OVERRIDE;
- virtual bool IsOffTheRecord() OVERRIDE;
- virtual const std::string& GetContentsMimeType() OVERRIDE;
- virtual const GURL& GetLastCommittedURL() OVERRIDE;
- virtual const GURL& GetActiveURL() OVERRIDE;
- virtual const GURL& GetVisibleURL() OVERRIDE;
- virtual bool HasCurrentPage() OVERRIDE;
- virtual void OpenUrlInNewTab(const GURL& url) OVERRIDE;
+ const std::string& target_lang) override;
+ virtual void RevertTranslation(int page_seq_no) override;
+ virtual bool IsOffTheRecord() override;
+ virtual const std::string& GetContentsMimeType() override;
+ virtual const GURL& GetLastCommittedURL() override;
+ virtual const GURL& GetActiveURL() override;
+ virtual const GURL& GetVisibleURL() override;
+ virtual bool HasCurrentPage() override;
+ virtual void OpenUrlInNewTab(const GURL& url) override;
// content::WebContentsObserver implementation.
virtual void NavigationEntryCommitted(
- const content::LoadCommittedDetails& load_details) OVERRIDE;
+ const content::LoadCommittedDetails& load_details) override;
virtual void DidNavigateAnyFrame(
const content::LoadCommittedDetails& details,
- const content::FrameNavigateParams& params) OVERRIDE;
- virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
+ const content::FrameNavigateParams& params) override;
+ virtual bool OnMessageReceived(const IPC::Message& message) override;
// IPC handlers.
void OnTranslateAssignedSequenceNumber(int page_seq_no);

Powered by Google App Engine
This is Rietveld 408576698