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

Unified Diff: chrome/browser/ui/pdf/pdf_unsupported_feature.cc

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (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
« no previous file with comments | « chrome/browser/ui/pdf/pdf_browsertest_base.h ('k') | chrome/browser/ui/prefs/prefs_tab_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/pdf/pdf_unsupported_feature.cc
diff --git a/chrome/browser/ui/pdf/pdf_unsupported_feature.cc b/chrome/browser/ui/pdf/pdf_unsupported_feature.cc
index 5705cea0dc58b52656d44b4ecf38a6107882f91b..d3f791bc6939b4c64a07d6c9d46bc061478e9bad 100644
--- a/chrome/browser/ui/pdf/pdf_unsupported_feature.cc
+++ b/chrome/browser/ui/pdf/pdf_unsupported_feature.cc
@@ -59,13 +59,13 @@ class PDFEnableAdobeReaderPromptClient
virtual ~PDFEnableAdobeReaderPromptClient();
// pdf::OpenPDFInReaderPromptClient
- virtual base::string16 GetMessageText() const OVERRIDE;
- virtual base::string16 GetAcceptButtonText() const OVERRIDE;
- virtual base::string16 GetCancelButtonText() const OVERRIDE;
+ virtual base::string16 GetMessageText() const override;
+ virtual base::string16 GetAcceptButtonText() const override;
+ virtual base::string16 GetCancelButtonText() const override;
virtual bool ShouldExpire(
- const content::LoadCommittedDetails& details) const OVERRIDE;
- virtual void Accept() OVERRIDE;
- virtual void Cancel() OVERRIDE;
+ const content::LoadCommittedDetails& details) const override;
+ virtual void Accept() override;
+ virtual void Cancel() override;
private:
void OnYes();
@@ -162,7 +162,7 @@ class PDFUnsupportedFeatureInterstitial
protected:
// InterstitialPageDelegate implementation.
- virtual std::string GetHTMLContents() OVERRIDE {
+ virtual std::string GetHTMLContents() override {
base::DictionaryValue strings;
strings.SetString(
"title",
@@ -190,7 +190,7 @@ class PDFUnsupportedFeatureInterstitial
return webui::GetI18nTemplateHtml(html, &strings);
}
- virtual void CommandReceived(const std::string& command) OVERRIDE {
+ virtual void CommandReceived(const std::string& command) override {
if (command == "0") {
content::RecordAction(
UserMetricsAction("PDF_ReaderInterstitialCancel"));
@@ -215,7 +215,7 @@ class PDFUnsupportedFeatureInterstitial
}
virtual void OverrideRendererPrefs(
- content::RendererPreferences* prefs) OVERRIDE {
+ content::RendererPreferences* prefs) override {
Profile* profile =
Profile::FromBrowserContext(web_contents_->GetBrowserContext());
renderer_preferences_util::UpdateFromSystemSettings(prefs, profile);
@@ -239,13 +239,13 @@ class PDFUnsupportedFeaturePromptClient
virtual ~PDFUnsupportedFeaturePromptClient();
// pdf::OpenPDFInReaderPromptClient:
- virtual base::string16 GetMessageText() const OVERRIDE;
- virtual base::string16 GetAcceptButtonText() const OVERRIDE;
- virtual base::string16 GetCancelButtonText() const OVERRIDE;
+ virtual base::string16 GetMessageText() const override;
+ virtual base::string16 GetAcceptButtonText() const override;
+ virtual base::string16 GetCancelButtonText() const override;
virtual bool ShouldExpire(
- const content::LoadCommittedDetails& details) const OVERRIDE;
- virtual void Accept() OVERRIDE;
- virtual void Cancel() OVERRIDE;
+ const content::LoadCommittedDetails& details) const override;
+ virtual void Accept() override;
+ virtual void Cancel() override;
private:
WebContents* web_contents_;
« no previous file with comments | « chrome/browser/ui/pdf/pdf_browsertest_base.h ('k') | chrome/browser/ui/prefs/prefs_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698