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

Unified Diff: components/renderer_context_menu/render_view_context_menu_proxy.h

Issue 892953002: Show icons for custom menuitems in contextmenu. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: components/renderer_context_menu/render_view_context_menu_proxy.h
diff --git a/components/renderer_context_menu/render_view_context_menu_proxy.h b/components/renderer_context_menu/render_view_context_menu_proxy.h
index 789b149c3e1271dd534755b8fb65f2bcccd69a27..f28db4f6583fbe6175eedc0618a9f130362cbb38 100644
--- a/components/renderer_context_menu/render_view_context_menu_proxy.h
+++ b/components/renderer_context_menu/render_view_context_menu_proxy.h
@@ -84,7 +84,8 @@ class RenderViewContextMenuProxy {
virtual void UpdateMenuItem(int command_id,
bool enabled,
bool hidden,
- const base::string16& title) = 0;
+ const base::string16& title,
+ gfx::Image* icon) = 0;
// Retrieve the given associated objects with a context menu.
virtual content::RenderViewHost* GetRenderViewHost() const = 0;

Powered by Google App Engine
This is Rietveld 408576698