| Index: Source/WebCore/page/ContextMenuClient.h
|
| diff --git a/Source/WebCore/page/ContextMenuClient.h b/Source/WebCore/page/ContextMenuClient.h
|
| index 1a9382a61b149315163d22a04bac0bb8af2af49d..7bb2021be36d8d45e4daa793a97e8222ca9521a2 100644
|
| --- a/Source/WebCore/page/ContextMenuClient.h
|
| +++ b/Source/WebCore/page/ContextMenuClient.h
|
| @@ -29,7 +29,6 @@
|
| #if ENABLE(CONTEXT_MENUS)
|
|
|
| #include "ContextMenu.h"
|
| -#include "PlatformMenuDescription.h"
|
| #include <wtf/Forward.h>
|
| #include <wtf/PassOwnPtr.h>
|
|
|
| @@ -43,14 +42,10 @@ namespace WebCore {
|
| public:
|
| virtual ~ContextMenuClient() { }
|
| virtual void contextMenuDestroyed() = 0;
|
| -
|
| -#if USE(CROSS_PLATFORM_CONTEXT_MENUS)
|
| +
|
| virtual PassOwnPtr<ContextMenu> customizeMenu(PassOwnPtr<ContextMenu>) = 0;
|
| -#else
|
| - virtual PlatformMenuDescription getCustomMenuFromDefaultItems(ContextMenu*) = 0;
|
| -#endif
|
|
|
| - virtual void contextMenuItemSelected(ContextMenuItem*, const ContextMenu*) = 0;
|
| + virtual void contextMenuItemSelected(const ContextMenuItem*, const ContextMenu*) = 0;
|
|
|
| virtual void downloadURL(const KURL& url) = 0;
|
| virtual void searchWithGoogle(const Frame*) = 0;
|
|
|