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

Unified Diff: third_party/WebKit/Source/web/WebFrameWidgetBase.h

Issue 2517653003: Drag-and-drop across OOPIFs. (Closed)
Patch Set: Created 4 years, 1 month 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/web/WebFrameWidgetBase.h
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetBase.h b/third_party/WebKit/Source/web/WebFrameWidgetBase.h
index ccd3ebb6016f7051a924bf0b3aef8b5167069016..cea53c53b22504f95039830aad2fdc0180701f17 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 };
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebFrameWidgetBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698