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

Unified Diff: content/public/common/menu_item.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, 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: content/public/common/menu_item.h
diff --git a/content/public/common/menu_item.h b/content/public/common/menu_item.h
index 26255bd982130230540b63e53b9af3ef46a7e775..ba5e5c345c0dc1b6609b26a796ca769957107244 100644
--- a/content/public/common/menu_item.h
+++ b/content/public/common/menu_item.h
@@ -10,6 +10,7 @@
#include "base/strings/string16.h"
#include "content/common/content_export.h"
#include "third_party/WebKit/public/web/WebMenuItemInfo.h"
+#include "url/gurl.h"
namespace content {
@@ -29,7 +30,7 @@ struct CONTENT_EXPORT MenuItem {
~MenuItem();
base::string16 label;
- base::string16 icon;
+ GURL icon;
base::string16 tool_tip;
Type type;
unsigned action;

Powered by Google App Engine
This is Rietveld 408576698