diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/WebPageProxy.h')
| -rw-r--r-- | Source/WebKit2/UIProcess/WebPageProxy.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/Source/WebKit2/UIProcess/WebPageProxy.h b/Source/WebKit2/UIProcess/WebPageProxy.h index dc9994f1a..72d469590 100644 --- a/Source/WebKit2/UIProcess/WebPageProxy.h +++ b/Source/WebKit2/UIProcess/WebPageProxy.h @@ -58,8 +58,6 @@ #include "WebPopupMenuProxy.h" #include "WebResourceLoadClient.h" #include "WebUIClient.h" -#include <WebCore/DragActions.h> -#include <WebCore/DragSession.h> #include <WebCore/HitTestResult.h> #include <WebCore/Page.h> #include <WebCore/PlatformScreen.h> @@ -73,6 +71,12 @@ #include <wtf/RefPtr.h> #include <wtf/Vector.h> #include <wtf/text/WTFString.h> + +#if ENABLE(DRAG_SUPPORT) +#include <WebCore/DragActions.h> +#include <WebCore/DragSession.h> +#endif + #if PLATFORM(EFL) #include <Evas.h> #endif @@ -514,6 +518,7 @@ public: void backForwardRemovedItem(uint64_t itemID); +#if ENABLE(DRAG_SUPPORT) // Drag and drop support. void dragEntered(WebCore::DragData*, const String& dragStorageName = String()); void dragUpdated(WebCore::DragData*, const String& dragStorageName = String()); @@ -533,6 +538,8 @@ public: #if PLATFORM(QT) || PLATFORM(GTK) void startDrag(const WebCore::DragData&, const ShareableBitmap::Handle& dragImage); #endif +#endif + void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*); void didReceiveSyncMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*, OwnPtr<CoreIPC::ArgumentEncoder>&); @@ -570,8 +577,10 @@ public: const String& urlAtProcessExit() const { return m_urlAtProcessExit; } WebFrameProxy::LoadState loadStateAtProcessExit() const { return m_loadStateAtProcessExit; } +#if ENABLE(DRAG_SUPPORT) WebCore::DragSession dragSession() const { return m_currentDragSession; } void resetDragOperation() { m_currentDragSession = WebCore::DragSession(); } +#endif void preferencesDidChange(); @@ -1056,7 +1065,10 @@ private: unsigned m_pendingLearnOrIgnoreWordMessageCount; bool m_mainFrameHasCustomRepresentation; + +#if ENABLE(DRAG_SUPPORT) WebCore::DragSession m_currentDragSession; +#endif String m_pendingAPIRequestURL; |
