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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.h

Issue 8879046: Print preview: Disable the right context menu items in print preview. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win build Created 9 years 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: chrome/browser/tab_contents/render_view_context_menu.h
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu.h (revision 113923)
+++ chrome/browser/tab_contents/render_view_context_menu.h (working copy)
@@ -23,6 +23,7 @@
#include "webkit/glue/window_open_disposition.h"
class ExtensionMenuItem;
+class PrintPreviewContextMenuObserver;
class Profile;
class RenderViewHost;
class TabContents;
@@ -268,6 +269,9 @@
// An observer that handles a 'spell-checker options' submenu.
scoped_ptr<SpellCheckerSubMenuObserver> spellchecker_submenu_observer_;
+ // An observer that disables menu items when print preview is active.
+ scoped_ptr<PrintPreviewContextMenuObserver> print_preview_menu_observer_;
+
// Our observers.
mutable ObserverList<RenderViewContextMenuObserver> observers_;

Powered by Google App Engine
This is Rietveld 408576698