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

Side by Side Diff: third_party/WebKit/Source/core/dom/TouchInit.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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://w3c.github.io/touch-events/#touch-interface 5 // https://w3c.github.io/touch-events/#touch-interface
6 6
7 dictionary TouchInit { 7 dictionary TouchInit {
8 required long identifier; 8 required long identifier;
9 required EventTarget target; 9 required EventTarget target;
10 double clientX = 0; 10 double clientX = 0;
11 double clientY = 0; 11 double clientY = 0;
12 double screenX = 0; 12 double screenX = 0;
13 double screenY = 0; 13 double screenY = 0;
14 double pageX = 0; 14 double pageX = 0;
15 double pageY = 0; 15 double pageY = 0;
16 float radiusX = 0; 16 float radiusX = 0;
17 float radiusY = 0; 17 float radiusY = 0;
18 float rotationAngle = 0; 18 float rotationAngle = 0;
19 float force = 0; 19 float force = 0;
20
21 // Canvas Hit Regions
22 // https://github.com/whatwg/html/issues/547
23 DOMString? region = null;
20 }; 24 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698