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

Unified Diff: chrome/browser/printing/print_preview_test.cc

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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/printing/print_preview_test.h ('k') | chrome/browser/printing/print_view_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/print_preview_test.cc
diff --git a/chrome/browser/printing/print_preview_test.cc b/chrome/browser/printing/print_preview_test.cc
index 130df6d6ad1a281f6eeb0ed8a4b09c700eb198d2..1ebfd131585d49a307ecca58ccd59947f4acd85e 100644
--- a/chrome/browser/printing/print_preview_test.cc
+++ b/chrome/browser/printing/print_preview_test.cc
@@ -26,7 +26,7 @@ class PrintPreviewTestBrowserWindow
PrintPreviewTestBrowserWindow() {}
// BrowserWindow overrides
- virtual WebContentsModalDialogHost* GetWebContentsModalDialogHost() OVERRIDE {
+ virtual WebContentsModalDialogHost* GetWebContentsModalDialogHost() override {
return this;
}
@@ -34,23 +34,23 @@ class PrintPreviewTestBrowserWindow
// The web contents modal dialog must be parented to *something*; use the
// WebContents window since there is no true browser window for unit tests.
- virtual gfx::NativeView GetHostView() const OVERRIDE {
+ virtual gfx::NativeView GetHostView() const override {
return FindBrowser()->tab_strip_model()->GetActiveWebContents()->
GetNativeView();
}
- virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE {
+ virtual gfx::Point GetDialogPosition(const gfx::Size& size) override {
return gfx::Point();
}
- virtual gfx::Size GetMaximumDialogSize() OVERRIDE {
+ virtual gfx::Size GetMaximumDialogSize() override {
return gfx::Size();
}
virtual void AddObserver(
- ModalDialogHostObserver* observer) OVERRIDE {}
+ ModalDialogHostObserver* observer) override {}
virtual void RemoveObserver(
- ModalDialogHostObserver* observer) OVERRIDE {}
+ ModalDialogHostObserver* observer) override {}
private:
Browser* FindBrowser() const {
« no previous file with comments | « chrome/browser/printing/print_preview_test.h ('k') | chrome/browser/printing/print_view_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698