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

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

Issue 9562002: Use a check item instead of changing its text. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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.cc
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu.cc (revision 124915)
+++ chrome/browser/tab_contents/render_view_context_menu.cc (working copy)
@@ -679,6 +679,11 @@
menu_model_.AddItem(command_id, title);
}
+void RenderViewContextMenu::AddCheckItem(int command_id,
+ const string16& title) {
+ menu_model_.AddCheckItem(command_id, title);
+}
+
void RenderViewContextMenu::AddSeparator() {
menu_model_.AddSeparator();
}

Powered by Google App Engine
This is Rietveld 408576698