diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-07 21:05:21 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-07 21:05:21 +0000 |
commit | de4761b1a1cdea2d8c79b63052504c33a60fe4e4 (patch) | |
tree | c03d95541629198c4941e3884662c5641ec10459 /chrome/browser/printing/print_preview_tab_controller.h | |
parent | 0cc0a246f3ef08594bb6184ba45c8742dc6c0e99 (diff) | |
download | chromium_src-de4761b1a1cdea2d8c79b63052504c33a60fe4e4.zip chromium_src-de4761b1a1cdea2d8c79b63052504c33a60fe4e4.tar.gz chromium_src-de4761b1a1cdea2d8c79b63052504c33a60fe4e4.tar.bz2 |
Disable printing context menus on the print preview page. (resubmit)
BUG=none
TEST=none
Original review: http://codereview.chromium.org/5320001/
Review URL: http://codereview.chromium.org/5625008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68515 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/printing/print_preview_tab_controller.h')
-rw-r--r-- | chrome/browser/printing/print_preview_tab_controller.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/printing/print_preview_tab_controller.h b/chrome/browser/printing/print_preview_tab_controller.h index 6eec3f4..5be6118 100644 --- a/chrome/browser/printing/print_preview_tab_controller.h +++ b/chrome/browser/printing/print_preview_tab_controller.h @@ -43,12 +43,12 @@ class PrintPreviewTabController const NotificationSource& source, const NotificationDetails& details); + // Returns true if |tab| is a print preview tab. + static bool IsPrintPreviewTab(TabContents* tab); + private: friend class base::RefCounted<PrintPreviewTabController>; - // Returns true if |tab| is a print preview tab. - bool IsPrintPreviewTab(TabContents* tab); - // Returns initiator tab for |preview_tab|. // Returns NULL if no initiator tab exists for |preview_tab|. TabContents* GetInitiatorTab(TabContents* preview_tab); |