Chromium Code Reviews| 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*); |