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

Unified Diff: third_party/WebKit/Source/platform/ContextMenuItem.h

Issue 2905763003: Rollback ContextMenu (Closed)
Patch Set: Rebase Created 3 years, 7 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: third_party/WebKit/Source/platform/ContextMenuItem.h
diff --git a/third_party/WebKit/Source/platform/ContextMenuItem.h b/third_party/WebKit/Source/platform/ContextMenuItem.h
index 481a77434e84147a2fcda02f7d46d5ea8623df2b..7e3cae8dfac2075bed372ebd88f60dae17cce7f8 100644
--- a/third_party/WebKit/Source/platform/ContextMenuItem.h
+++ b/third_party/WebKit/Source/platform/ContextMenuItem.h
@@ -55,12 +55,10 @@ class PLATFORM_EXPORT ContextMenuItem {
ContextMenuItem(ContextMenuItemType,
ContextMenuAction,
const String& title,
- const String& icon,
ContextMenu* sub_menu = 0);
ContextMenuItem(ContextMenuItemType,
ContextMenuAction,
const String& title,
- const String& icon,
bool enabled,
bool checked);
@@ -89,9 +87,6 @@ class PLATFORM_EXPORT ContextMenuItem {
void SetTitle(const String& title) { title_ = title; }
const String& Title() const { return title_; }
- void SetIcon(const String& icon) { icon_ = icon; }
- const String& Icon() const { return icon_; }
-
const Vector<ContextMenuItem>& SubMenuItems() const {
return sub_menu_items_;
}
@@ -100,7 +95,6 @@ class PLATFORM_EXPORT ContextMenuItem {
ContextMenuItemType type_;
ContextMenuAction action_;
String title_;
- String icon_;
bool enabled_;
bool checked_;
Vector<ContextMenuItem> sub_menu_items_;

Powered by Google App Engine
This is Rietveld 408576698