summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/efl/ContextMenuClientEfl.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/efl/ContextMenuClientEfl.h')
-rw-r--r--Source/WebKit2/UIProcess/efl/ContextMenuClientEfl.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/Source/WebKit2/UIProcess/efl/ContextMenuClientEfl.h b/Source/WebKit2/UIProcess/efl/ContextMenuClientEfl.h
index b29e4ed3c..f036b3fcf 100644
--- a/Source/WebKit2/UIProcess/efl/ContextMenuClientEfl.h
+++ b/Source/WebKit2/UIProcess/efl/ContextMenuClientEfl.h
@@ -26,30 +26,25 @@
#ifndef ContextMenuClientEfl_h
#define ContextMenuClientEfl_h
-#include "WKRetainPtr.h"
-#include "ewk_context.h"
-#include <WebKit2/WKBase.h>
-#include <wtf/HashMap.h>
#include <wtf/PassOwnPtr.h>
-#include <wtf/text/WTFString.h>
-class EwkViewImpl;
+class EwkView;
namespace WebKit {
class ContextMenuClientEfl {
public:
- static PassOwnPtr<ContextMenuClientEfl> create(EwkViewImpl* viewImpl)
+ static PassOwnPtr<ContextMenuClientEfl> create(EwkView* viewImpl)
{
return adoptPtr(new ContextMenuClientEfl(viewImpl));
}
- static void getContextMenuFromProposedMenu(WKPageRef, WKArrayRef proposedMenu, WKArrayRef* newMenu, WKHitTestResultRef, WKTypeRef userData, const void* clientInfo);
+ EwkView* view() { return m_view; }
private:
- explicit ContextMenuClientEfl(EwkViewImpl*);
+ explicit ContextMenuClientEfl(EwkView*);
- EwkViewImpl* m_viewImpl;
+ EwkView* m_view;
};
} // namespace WebKit