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

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

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.cpp
diff --git a/third_party/WebKit/Source/platform/ContextMenuItem.cpp b/third_party/WebKit/Source/platform/ContextMenuItem.cpp
index b04d1adfec7b20e1e0a8205dada1da5119a6cdc5..8a806c81346903b0139f3ecdf40af7ebfbab15d3 100644
--- a/third_party/WebKit/Source/platform/ContextMenuItem.cpp
+++ b/third_party/WebKit/Source/platform/ContextMenuItem.cpp
@@ -32,12 +32,10 @@ namespace blink {
ContextMenuItem::ContextMenuItem(ContextMenuItemType type,
ContextMenuAction action,
const String& title,
- const String& icon,
ContextMenu* sub_menu)
: type_(type),
action_(action),
title_(title),
- icon_(icon),
enabled_(true),
checked_(false) {
if (sub_menu)
@@ -47,13 +45,11 @@ ContextMenuItem::ContextMenuItem(ContextMenuItemType type,
ContextMenuItem::ContextMenuItem(ContextMenuItemType type,
ContextMenuAction action,
const String& title,
- const String& icon,
bool enabled,
bool checked)
: type_(type),
action_(action),
title_(title),
- icon_(icon),
enabled_(enabled),
checked_(checked) {}
« no previous file with comments | « third_party/WebKit/Source/platform/ContextMenuItem.h ('k') | third_party/WebKit/Source/web/ContextMenuClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698