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

Unified Diff: third_party/WebKit/Source/core/page/DragController.h

Issue 2508013002: Drag-and-drop across OOPIFs. (Closed)
Patch Set: Some fixes for tests. Rebased. 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/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..88b50237db01571c8c014a973e9bfb84fb39dd1a 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*);
bool concludeEditDrag(DragData*);
- DragOperation operationForLoad(DragData*);
- bool tryDocumentDrag(DragData*, DragDestinationAction, DragSession&);
- bool tryDHTMLDrag(DragData*, DragOperation&);
+ DragOperation operationForLoad(DragData*, LocalFrame* localRoot);
dcheng 2016/11/17 18:02:58 Let's be consistent about naming (or not naming th
paulmeyer 2016/11/17 20:22:25 Done.
+ bool tryDocumentDrag(DragData*,
+ DragDestinationAction,
+ DragSession&,
+ LocalFrame*);
+ bool tryDHTMLDrag(DragData*, DragOperation&, LocalFrame*);
DragOperation dragOperation(DragData*);
void cancelDrag();
bool dragIsMove(FrameSelection&, DragData*);

Powered by Google App Engine
This is Rietveld 408576698