Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(648)

Unified Diff: third_party/WebKit/Source/core/page/ChromeClient.h

Issue 1888773003: Merge DragClientImpl into core. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing file. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698