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

Side by Side Diff: chrome/browser/printing/print_preview_context_menu_observer.h

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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PRINTING_PRINT_PREVIEW_CONTEXT_MENU_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_PREVIEW_CONTEXT_MENU_OBSERVER_H_
6 #define CHROME_BROWSER_PRINTING_PRINT_PREVIEW_CONTEXT_MENU_OBSERVER_H_ 6 #define CHROME_BROWSER_PRINTING_PRINT_PREVIEW_CONTEXT_MENU_OBSERVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "components/renderer_context_menu/render_view_context_menu_observer.h" 10 #include "components/renderer_context_menu/render_view_context_menu_observer.h"
11 11
12 namespace content { 12 namespace content {
13 class WebContents; 13 class WebContents;
14 } 14 }
15 15
16 class PrintPreviewContextMenuObserver : public RenderViewContextMenuObserver { 16 class PrintPreviewContextMenuObserver : public RenderViewContextMenuObserver {
17 public: 17 public:
18 explicit PrintPreviewContextMenuObserver(content::WebContents* contents); 18 explicit PrintPreviewContextMenuObserver(content::WebContents* contents);
19 virtual ~PrintPreviewContextMenuObserver(); 19 virtual ~PrintPreviewContextMenuObserver();
20 20
21 // RenderViewContextMenuObserver implementation. 21 // RenderViewContextMenuObserver implementation.
22 virtual bool IsCommandIdSupported(int command_id) OVERRIDE; 22 virtual bool IsCommandIdSupported(int command_id) override;
23 virtual bool IsCommandIdEnabled(int command_id) OVERRIDE; 23 virtual bool IsCommandIdEnabled(int command_id) override;
24 24
25 private: 25 private:
26 bool IsPrintPreviewDialog(); 26 bool IsPrintPreviewDialog();
27 27
28 content::WebContents* contents_; 28 content::WebContents* contents_;
29 29
30 DISALLOW_COPY_AND_ASSIGN(PrintPreviewContextMenuObserver); 30 DISALLOW_COPY_AND_ASSIGN(PrintPreviewContextMenuObserver);
31 }; 31 };
32 32
33 #endif // CHROME_BROWSER_PRINTING_PRINT_PREVIEW_CONTEXT_MENU_OBSERVER_H_ 33 #endif // CHROME_BROWSER_PRINTING_PRINT_PREVIEW_CONTEXT_MENU_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_job_worker.cc ('k') | chrome/browser/printing/print_preview_dialog_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698