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

Unified Diff: Source/WebCore/platform/PlatformMenuDescription.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/PlatformKeyboardEvent.h ('k') | Source/WebCore/platform/PlatformTouchEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/PlatformMenuDescription.h
diff --git a/Source/WebCore/platform/PlatformMenuDescription.h b/Source/WebCore/platform/PlatformMenuDescription.h
index 3cf903ccaf7de83bca18cae3494605a8104ab599..446e718bdbe90011ae6d2e2be601f239ed77fdea 100644
--- a/Source/WebCore/platform/PlatformMenuDescription.h
+++ b/Source/WebCore/platform/PlatformMenuDescription.h
@@ -28,10 +28,6 @@
#if PLATFORM(MAC)
OBJC_CLASS NSMutableArray;
-#elif PLATFORM(QT)
-#include <qlist.h>
-#elif PLATFORM(GTK)
-typedef struct _GtkMenu GtkMenu;
#elif PLATFORM(CHROMIUM)
#include <wtf/Vector.h>
#endif
@@ -41,11 +37,6 @@ namespace WebCore {
#if !USE(CROSS_PLATFORM_CONTEXT_MENUS)
#if PLATFORM(MAC)
typedef NSMutableArray* PlatformMenuDescription;
-#elif PLATFORM(QT)
- class ContextMenuItem;
- typedef const QList<ContextMenuItem>* PlatformMenuDescription;
-#elif PLATFORM(GTK)
- typedef GtkMenu* PlatformMenuDescription;
#elif PLATFORM(CHROMIUM)
class ContextMenuItem;
typedef const Vector<ContextMenuItem>* PlatformMenuDescription;
« no previous file with comments | « Source/WebCore/platform/PlatformKeyboardEvent.h ('k') | Source/WebCore/platform/PlatformTouchEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698