diff options
Diffstat (limited to 'WebKit/gtk/webkit/webkitprivate.h')
| -rw-r--r-- | WebKit/gtk/webkit/webkitprivate.h | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/WebKit/gtk/webkit/webkitprivate.h b/WebKit/gtk/webkit/webkitprivate.h index fa74abc..73f9fcc 100644 --- a/WebKit/gtk/webkit/webkitprivate.h +++ b/WebKit/gtk/webkit/webkitprivate.h @@ -48,21 +48,23 @@ #include "ArchiveResource.h" #include "BackForwardList.h" #include "DataObjectGtk.h" -#include <enchant.h> +#include "DragActions.h" +#include "Frame.h" #include "GOwnPtr.h" #include "Geolocation.h" #include "HistoryItem.h" -#include "Settings.h" -#include "Page.h" -#include "Frame.h" #include "InspectorClientGtk.h" #include "IntPoint.h" #include "FrameLoaderClient.h" +#include "Page.h" #include "ResourceHandle.h" #include "ResourceRequest.h" #include "ResourceResponse.h" #include "WindowFeatures.h" #include "SecurityOrigin.h" +#include "Settings.h" +#include <enchant.h> +#include <wtf/OwnPtr.h> #include <wtf/text/CString.h> #include <atk/atk.h> @@ -103,7 +105,16 @@ namespace WebKit { WebKitHitTestResult* kit(const WebCore::HitTestResult&); - WebKit::PasteboardHelperGtk* pasteboardHelperInstance(); + PasteboardHelperGtk* pasteboardHelperInstance(); + + typedef struct DroppingContext_ { + WebKitWebView* webView; + GdkDragContext* gdkContext; + RefPtr<WebCore::DataObjectGtk> dataObject; + WebCore::IntPoint lastMotionPosition; + int pendingDataRequests; + bool dropHappened; + } DroppingContext; } extern "C" { @@ -159,6 +170,7 @@ extern "C" { guint32 previousClickTime; HashMap<GdkDragContext*, RefPtr<WebCore::DataObjectGtk> >* draggingDataObjects; + HashMap<GdkDragContext*, WebKit::DroppingContext*>* droppingContexts; }; #define WEBKIT_WEB_FRAME_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj), WEBKIT_TYPE_WEB_FRAME, WebKitWebFramePrivate)) |
