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

Unified Diff: third_party/WebKit/Source/core/page/DragController.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/DragController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/page/DragController.h
diff --git a/third_party/WebKit/Source/core/page/DragController.h b/third_party/WebKit/Source/core/page/DragController.h
index 3b0aef7b6fc00c21a0e6ee3844c119b3f2ca72ea..3d28be6cf3b6d2de603645a06a5b98c5c6c2b213 100644
--- a/third_party/WebKit/Source/core/page/DragController.h
+++ b/third_party/WebKit/Source/core/page/DragController.h
@@ -56,9 +56,9 @@ class CORE_EXPORT DragController final
public:
static DragController* create(Page*);
- DragSession dragEnteredOrUpdated(DragData*);
- void dragExited(DragData*);
- bool performDrag(DragData*);
+ DragSession dragEnteredOrUpdated(DragData*, LocalFrame& localRoot);
+ void dragExited(DragData*, LocalFrame& localRoot);
+ bool performDrag(DragData*, LocalFrame& localRoot);
enum SelectionDragPolicy {
ImmediateSelectionDragResolution,
@@ -85,11 +85,14 @@ class CORE_EXPORT DragController final
DragController(Page*);
DispatchEventResult dispatchTextInputEventFor(LocalFrame*, DragData*);
- bool canProcessDrag(DragData*);
+ bool canProcessDrag(DragData*, LocalFrame& localRoot);
bool concludeEditDrag(DragData*);
- DragOperation operationForLoad(DragData*);
- bool tryDocumentDrag(DragData*, DragDestinationAction, DragSession&);
- bool tryDHTMLDrag(DragData*, DragOperation&);
+ DragOperation operationForLoad(DragData*, LocalFrame& localRoot);
+ bool tryDocumentDrag(DragData*,
+ DragDestinationAction,
+ DragSession&,
+ LocalFrame& localRoot);
+ bool tryDHTMLDrag(DragData*, DragOperation&, LocalFrame& localRoot);
DragOperation dragOperation(DragData*);
void cancelDrag();
bool dragIsMove(FrameSelection&, DragData*);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/page/DragController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698