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..ec45f4b16f242dddad099db045d232fcc664c2f0 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-n-drop operation should begin. |
|
dcheng
2016/11/07 21:11:00
Nit: drag-and-drop
paulmeyer
2016/11/07 22:18:13
Done.
|
| + virtual void startDragging(WebReferrerPolicy, |
| + const WebDragData&, |
| + WebDragOperationsMask, |
| + const WebImage& dragImage, |
| + const WebPoint& dragImageOffset) {} |
| + |
| protected: |
| ~WebWidgetClient() {} |
| }; |