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

Unified Diff: third_party/WebKit/Source/core/events/DragEvent.cpp

Issue 1654653002: Canvas2d: Implement rerouting event by hit region's control. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bot errors Created 4 years, 9 months 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/events/DragEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/DragEvent.cpp b/third_party/WebKit/Source/core/events/DragEvent.cpp
index 9baa4b83fe048abfe77f87226b376d33557743f2..1d0e1fc97ed264bdd1c2ec704349c4a29000f738 100644
--- a/third_party/WebKit/Source/core/events/DragEvent.cpp
+++ b/third_party/WebKit/Source/core/events/DragEvent.cpp
@@ -46,7 +46,10 @@ DragEvent::DragEvent(const AtomicString& eventType, bool canBubble, bool cancela
PlatformMouseEvent::SyntheticEventType syntheticEventType)
: MouseEvent(eventType, canBubble, cancelable, view, detail, screenX, screenY,
windowX, windowY, movementX, movementY, modifiers, button, buttons, relatedTarget,
- platformTimeStamp, syntheticEventType)
+ platformTimeStamp, syntheticEventType,
+ // TODO(zino): Should support canvas hit region because the drag event
+ // is a kind of mouse event. Please see http://crbug.com/594073
+ String())
, m_dataTransfer(dataTransfer)
{

Powered by Google App Engine
This is Rietveld 408576698