| Index: third_party/WebKit/Source/web/WebFrameWidgetBase.h
|
| diff --git a/third_party/WebKit/Source/web/WebFrameWidgetBase.h b/third_party/WebKit/Source/web/WebFrameWidgetBase.h
|
| index ccd3ebb6016f7051a924bf0b3aef8b5167069016..ac9e1038881506888562594d6d56bba165eece6b 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameWidgetBase.h
|
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetBase.h
|
| @@ -16,6 +16,7 @@ class CompositorAnimationTimeline;
|
| class CompositorProxyClient;
|
| class DragController;
|
| class GraphicsLayer;
|
| +class WebImage;
|
| class WebLayer;
|
| class WebLocalFrameImpl;
|
| class WebViewImpl;
|
| @@ -64,6 +65,15 @@ class WebFrameWidgetBase : public WebFrameWidget {
|
| WebDragOperation) override;
|
| void dragSourceSystemDragEnded() override;
|
|
|
| + // Called when a drag-n-drop operation should begin.
|
| + void startDragging(WebReferrerPolicy,
|
| + const WebDragData&,
|
| + WebDragOperationsMask,
|
| + const WebImage& dragImage,
|
| + const WebPoint& dragImageOffset);
|
| +
|
| + bool doingDragAndDrop() { return m_doingDragAndDrop; }
|
| +
|
| protected:
|
| enum DragAction { DragEnter, DragOver };
|
|
|
| @@ -78,6 +88,9 @@ class WebFrameWidgetBase : public WebFrameWidget {
|
| // Helper function to call VisualViewport::viewportToRootFrame().
|
| WebPoint viewportToRootFrame(const WebPoint& pointInViewport) const;
|
|
|
| + // Returns the local root as a LocalFrame*.
|
| + LocalFrame* localFrameRoot() const;
|
| +
|
| WebViewImpl* view() const;
|
|
|
| // Returns the page object associated with this widget. This may be null when
|
|
|