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

Side by Side Diff: third_party/WebKit/Source/core/dom/TouchInit.idl

Issue 1415673004: Added web-exposed constructor for Touch and TouchEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed runtime enabled for Touch/TouchInit Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // https://w3c.github.io/touch-events/#touch-interface
6
7 dictionary TouchInit {
8 required long identifier;
9 required EventTarget target;
10 double clientX = 0;
11 double clientY = 0;
12 double screenX = 0;
13 double screenY = 0;
14 double pageX = 0;
15 double pageY = 0;
16 float radiusX = 0;
17 float radiusY = 0;
18 float rotationAngle = 0;
19 float force = 0;
20 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Touch.idl ('k') | third_party/WebKit/Source/core/dom/TouchList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698