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

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

Issue 50433002: Fix dragging text inside a input element nested in a draggable element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Some layout tests Created 7 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: Source/core/page/DragController.h
diff --git a/Source/core/page/DragController.h b/Source/core/page/DragController.h
index 1aed97ef58c920e8e473c3f2cdcdf10ff5bf6479..481ce97f657f69a1102c7bfbcdd8a0d61a2938b5 100644
--- a/Source/core/page/DragController.h
+++ b/Source/core/page/DragController.h
@@ -63,7 +63,11 @@ namespace WebCore {
DragSession dragUpdated(DragData*);
bool performDrag(DragData*);
- Node* draggableNode(const Frame*, Node*, const IntPoint&, DragState&) const;
+ enum SelectionDragPolicy {
+ AllowSelectionDrag,
+ DisallowSelectionDrag,
+ };
+ Node* draggableNode(const Frame*, Node*, const IntPoint&, SelectionDragPolicy, DragSourceAction&) const;
void dragEnded();
bool populateDragClipboard(Frame* src, const DragState&, const IntPoint& dragOrigin);

Powered by Google App Engine
This is Rietveld 408576698