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

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

Issue 8370033: Add a 'hidden' parameter to RenderViewContextMenuProxy::UpdateMenuItem(). (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
« no previous file with comments | « no previous file | chrome/browser/tab_contents/render_view_context_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/render_view_context_menu.h
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu.h (revision 106885)
+++ chrome/browser/tab_contents/render_view_context_menu.h (working copy)
@@ -94,6 +94,7 @@
// Update the status and text of the specified context-menu item.
virtual void UpdateMenuItem(int command_id,
bool enabled,
+ bool hidden,
const string16& title) = 0;
// Retrieve the RenderViewHost (or Profile) instance associated with a context
@@ -131,6 +132,7 @@
virtual void AddMenuItem(int command_id, const string16& title) OVERRIDE;
virtual void UpdateMenuItem(int command_id,
bool enabled,
+ bool hidden,
const string16& title) OVERRIDE;
virtual RenderViewHost* GetRenderViewHost() const;
virtual Profile* GetProfile() const;
« no previous file with comments | « no previous file | chrome/browser/tab_contents/render_view_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698