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

Unified Diff: third_party/WebKit/Source/core/events/MouseEventInit.idl

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/MouseEventInit.idl
diff --git a/third_party/WebKit/Source/core/events/MouseEventInit.idl b/third_party/WebKit/Source/core/events/MouseEventInit.idl
index cbb4d7d83781cf975b530f6450f09681fc714900..fa367cbce4484c205fcbd5c7efae598d525e80af 100644
--- a/third_party/WebKit/Source/core/events/MouseEventInit.idl
+++ b/third_party/WebKit/Source/core/events/MouseEventInit.idl
@@ -17,4 +17,8 @@ dictionary MouseEventInit : EventModifierInit {
// https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions-to-the-mouseeventinit-dictionary
long movementX = 0;
long movementY = 0;
+
+ // Canvas Hit Regions
+ // https://html.spec.whatwg.org/multipage/scripting.html#hit-regions:mouseeventinit
+ DOMString? region = null;
};

Powered by Google App Engine
This is Rietveld 408576698