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

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

Issue 8363042: Refactor the "spell-checker options" submenu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
Index: chrome/browser/tab_contents/render_view_context_menu_observer.h
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu_observer.h (revision 107513)
+++ chrome/browser/tab_contents/render_view_context_menu_observer.h (working copy)
@@ -93,6 +93,7 @@
// 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.

Powered by Google App Engine
This is Rietveld 408576698