Index: third_party/WebKit/Source/core/page/ChromeClient.h |
diff --git a/third_party/WebKit/Source/core/page/ChromeClient.h b/third_party/WebKit/Source/core/page/ChromeClient.h |
index 72b618de0b9c0c851bd5de02a69848b4daeea987..f2ec44ba39007f11082721c502c30606c9df06ba 100644 |
--- a/third_party/WebKit/Source/core/page/ChromeClient.h |
+++ b/third_party/WebKit/Source/core/page/ChromeClient.h |
@@ -36,6 +36,7 @@ |
#include "platform/heap/Handle.h" |
#include "platform/scroll/ScrollTypes.h" |
#include "public/platform/BlameContext.h" |
+#include "public/platform/WebDragOperation.h" |
#include "public/platform/WebEventListenerProperties.h" |
#include "public/platform/WebFocusType.h" |
#include "wtf/Forward.h" |
@@ -47,32 +48,35 @@ namespace blink { |
class AXObject; |
class ColorChooser; |
class ColorChooserClient; |
+class CompositorAnimationTimeline; |
class DateTimeChooser; |
class DateTimeChooserClient; |
class Element; |
class FileChooser; |
-class Frame; |
class FloatPoint; |
+class Frame; |
class GraphicsContext; |
class GraphicsLayer; |
-class HitTestResult; |
class HTMLFormControlElement; |
class HTMLInputElement; |
class HTMLSelectElement; |
+class HitTestResult; |
class IntRect; |
class LocalFrame; |
class Node; |
class Page; |
class PaintArtifact; |
class PopupOpeningObserver; |
-class CompositorAnimationTimeline; |
+class WebDragData; |
class WebFrameScheduler; |
+class WebImage; |
struct CompositedSelection; |
struct DateTimeChooserParameters; |
struct FrameLoadRequest; |
struct GraphicsDeviceAdapter; |
struct ViewportDescription; |
+struct WebPoint; |
struct WindowFeatures; |
class CORE_EXPORT ChromeClient : public HostWindow { |
@@ -95,6 +99,10 @@ public: |
virtual bool hadFormInteraction() const = 0; |
+ // Start a system drag and drop operation. |
+ virtual void startDragging(LocalFrame*, const WebDragData&, WebDragOperationsMask, const WebImage& dragImage, const WebPoint& dragImageOffset) = 0; |
+ virtual bool acceptsLoadDrops() const = 0; |
+ |
// The LocalFrame pointer provides the ChromeClient with context about which |
// LocalFrame wants to create the new Page. Also, the newly created window |
// should not be shown to the user until the ChromeClient of the newly |