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

Unified Diff: Source/WebCore/platform/ContextMenuItem.h

Issue 13529026: Removing a bunch of unused platform code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace and compiler error on Mac. Created 7 years, 8 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 | « Source/WebCore/platform/ContextMenu.h ('k') | Source/WebCore/platform/Cursor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/ContextMenuItem.h
diff --git a/Source/WebCore/platform/ContextMenuItem.h b/Source/WebCore/platform/ContextMenuItem.h
index 429dbee899ed88bd4d0e4afb7b02e2595f712703..f0ae8430149be83ae9138ca05160030ddc9a3405 100644
--- a/Source/WebCore/platform/ContextMenuItem.h
+++ b/Source/WebCore/platform/ContextMenuItem.h
@@ -58,9 +58,6 @@ namespace WebCore {
ContextMenuItemTagOpenImageInNewWindow,
ContextMenuItemTagDownloadImageToDisk,
ContextMenuItemTagCopyImageToClipboard,
-#if PLATFORM(QT) || PLATFORM(GTK)
- ContextMenuItemTagCopyImageUrlToClipboard,
-#endif
ContextMenuItemTagOpenFrameInNewWindow,
ContextMenuItemTagCopy,
ContextMenuItemTagGoBack,
@@ -69,26 +66,6 @@ namespace WebCore {
ContextMenuItemTagReload,
ContextMenuItemTagCut,
ContextMenuItemTagPaste,
-#if PLATFORM(GTK)
- ContextMenuItemTagDelete,
-#endif
-#if PLATFORM(GTK) || PLATFORM(QT)
- ContextMenuItemTagSelectAll,
-#endif
-#if PLATFORM(GTK)
- ContextMenuItemTagInputMethods,
- ContextMenuItemTagUnicode,
- ContextMenuItemTagUnicodeInsertLRMMark,
- ContextMenuItemTagUnicodeInsertRLMMark,
- ContextMenuItemTagUnicodeInsertLREMark,
- ContextMenuItemTagUnicodeInsertRLEMark,
- ContextMenuItemTagUnicodeInsertLROMark,
- ContextMenuItemTagUnicodeInsertRLOMark,
- ContextMenuItemTagUnicodeInsertPDFMark,
- ContextMenuItemTagUnicodeInsertZWSMark,
- ContextMenuItemTagUnicodeInsertZWJMark,
- ContextMenuItemTagUnicodeInsertZWNJMark,
-#endif
ContextMenuItemTagSpellingGuess,
ContextMenuItemTagNoGuessesFound,
ContextMenuItemTagIgnoreSpelling,
@@ -177,24 +154,6 @@ namespace WebCore {
#if ENABLE(CONTEXT_MENUS)
#if PLATFORM(MAC)
typedef NSMenuItem* PlatformMenuItemDescription;
-#elif PLATFORM(QT)
- struct PlatformMenuItemDescription {
- PlatformMenuItemDescription()
- : type(ActionType),
- action(ContextMenuItemTagNoAction),
- checked(false),
- enabled(true)
- {}
-
- ContextMenuItemType type;
- ContextMenuAction action;
- String title;
- QList<ContextMenuItem> subMenuItems;
- bool checked;
- bool enabled;
- };
-#elif PLATFORM(GTK)
- typedef GtkMenuItem* PlatformMenuItemDescription;
#elif PLATFORM(CHROMIUM)
struct PlatformMenuItemDescription {
PlatformMenuItemDescription()
« no previous file with comments | « Source/WebCore/platform/ContextMenu.h ('k') | Source/WebCore/platform/Cursor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698