| Index: third_party/WebKit/public/web/WebWidgetClient.h
|
| diff --git a/third_party/WebKit/public/web/WebWidgetClient.h b/third_party/WebKit/public/web/WebWidgetClient.h
|
| index 64a19e24d5c00a0df30aa3c1b55174ba7b978e83..5ac5dff426ebc00601d095e56eb5ea49d4240a76 100644
|
| --- a/third_party/WebKit/public/web/WebWidgetClient.h
|
| +++ b/third_party/WebKit/public/web/WebWidgetClient.h
|
| @@ -33,9 +33,11 @@
|
|
|
| #include "WebNavigationPolicy.h"
|
| #include "public/platform/WebCommon.h"
|
| +#include "public/platform/WebDragOperation.h"
|
| #include "public/platform/WebLayerTreeView.h"
|
| #include "public/platform/WebPoint.h"
|
| #include "public/platform/WebRect.h"
|
| +#include "public/platform/WebReferrerPolicy.h"
|
| #include "public/platform/WebScreenInfo.h"
|
| #include "public/web/WebMeaningfulLayout.h"
|
| #include "public/web/WebTextDirection.h"
|
| @@ -43,7 +45,10 @@
|
|
|
| namespace blink {
|
|
|
| +class WebDragData;
|
| class WebGestureEvent;
|
| +class WebImage;
|
| +class WebLocalFrame;
|
| class WebNode;
|
| class WebString;
|
| class WebWidget;
|
| @@ -181,6 +186,13 @@ class WebWidgetClient {
|
| // migration is completed.
|
| virtual void convertWindowToViewport(WebFloatRect* rect) {}
|
|
|
| + // Called when a drag-and-drop operation should begin.
|
| + virtual void startDragging(WebReferrerPolicy,
|
| + const WebDragData&,
|
| + WebDragOperationsMask,
|
| + const WebImage& dragImage,
|
| + const WebPoint& dragImageOffset) {}
|
| +
|
| protected:
|
| ~WebWidgetClient() {}
|
| };
|
|
|