summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/render_view_context_menu_observer.h
diff options
context:
space:
mode:
authorhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-28 08:08:26 +0000
committerhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-28 08:08:26 +0000
commitefce6bcf5eb7fea63f7635497e3a0540235bbd08 (patch)
treef44cb4c5829ac6b2613947de6c3dc069de4a225d /chrome/browser/tab_contents/render_view_context_menu_observer.h
parent63d199acbd41b5ad09b8327c1aad9dbdcf4b42f5 (diff)
downloadchromium_src-efce6bcf5eb7fea63f7635497e3a0540235bbd08.zip
chromium_src-efce6bcf5eb7fea63f7635497e3a0540235bbd08.tar.gz
chromium_src-efce6bcf5eb7fea63f7635497e3a0540235bbd08.tar.bz2
Refactor the "spell-checker options" submenu.
This change adds a SpellCheckSubMenuObserver class and move code of the "spell-checker options" submenu there. BUG=93746 TEST=none Review URL: http://codereview.chromium.org/8363042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107698 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/render_view_context_menu_observer.h')
-rw-r--r--chrome/browser/tab_contents/render_view_context_menu_observer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/render_view_context_menu_observer.h b/chrome/browser/tab_contents/render_view_context_menu_observer.h
index 34823e8..f70c9cc 100644
--- a/chrome/browser/tab_contents/render_view_context_menu_observer.h
+++ b/chrome/browser/tab_contents/render_view_context_menu_observer.h
@@ -93,6 +93,7 @@ class RenderViewContextMenuObserver {
// Called when the RenderViewContextMenu class sets the initial status of the
// specified context-menu item. If we need to enable or disable a context-menu
// item while showing, use RenderViewContextMenuDelegate::UpdateMenuItem().
+ virtual bool IsCommandIdChecked(int command_id);
virtual bool IsCommandIdEnabled(int command_id);
// Called when a user selects the specified context-menu item.