Chromium Code Reviews| 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..74ef0991162cc5b7a894df45280a1a361a64a1b8 100644 |
| --- a/third_party/WebKit/public/web/WebWidgetClient.h |
| +++ b/third_party/WebKit/public/web/WebWidgetClient.h |
| @@ -33,6 +33,7 @@ |
| #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" |
| @@ -43,7 +44,10 @@ |
| namespace blink { |
| +class WebDragData; |
| class WebGestureEvent; |
| +class WebImage; |
| +class WebLocalFrame; |
| class WebNode; |
| class WebString; |
| class WebWidget; |
| @@ -181,6 +185,13 @@ class WebWidgetClient { |
| // migration is completed. |
| virtual void convertWindowToViewport(WebFloatRect* rect) {} |
| + // Called when a drag-n-drop operation should begin. |
| + virtual void startDragging(WebLocalFrame*, |
|
dcheng
2016/11/03 21:22:52
Can we move this to WebFrameWidget?
paulmeyer
2016/11/04 19:01:18
As we discussed offline, |frame| no longer plumbed
|
| + const WebDragData&, |
| + WebDragOperationsMask, |
| + const WebImage& dragImage, |
| + const WebPoint& dragImageOffset) {} |
| + |
| protected: |
| ~WebWidgetClient() {} |
| }; |