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

Unified Diff: third_party/WebKit/Source/core/dom/Touch.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/dom/Touch.idl
diff --git a/third_party/WebKit/Source/core/dom/Touch.idl b/third_party/WebKit/Source/core/dom/Touch.idl
index a48a0230dd0916685686868aa6eeced84a143518..926f843c532c60e738865e7900ebe4edf4a2768e 100644
--- a/third_party/WebKit/Source/core/dom/Touch.idl
+++ b/third_party/WebKit/Source/core/dom/Touch.idl
@@ -42,4 +42,8 @@
readonly attribute float radiusY;
readonly attribute float rotationAngle;
readonly attribute float force;
+
+ // Canvas Hit Regions
+ // https://html.spec.whatwg.org/multipage/scripting.html#Touch-partial
+ [RuntimeEnabled=ExperimentalCanvasFeatures] readonly attribute DOMString? region;
};

Powered by Google App Engine
This is Rietveld 408576698