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

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

Issue 2377203004: Make target member of the TouchInit dictionary non-nullable (Closed)
Patch Set: Delete touch-touchevent-constructor-expected.txt Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/wpt/touch-events/touch-touchevent-constructor-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // TODO(foolip): |target| should not be nullable. https://crbug.com/647693 9 required EventTarget target;
10 required EventTarget? target;
11 double clientX = 0; 10 double clientX = 0;
12 double clientY = 0; 11 double clientY = 0;
13 double screenX = 0; 12 double screenX = 0;
14 double screenY = 0; 13 double screenY = 0;
15 double pageX = 0; 14 double pageX = 0;
16 double pageY = 0; 15 double pageY = 0;
17 float radiusX = 0; 16 float radiusX = 0;
18 float radiusY = 0; 17 float radiusY = 0;
19 float rotationAngle = 0; 18 float rotationAngle = 0;
20 float force = 0; 19 float force = 0;
21 20
22 // Canvas Hit Regions 21 // Canvas Hit Regions
23 // https://github.com/whatwg/html/issues/547 22 // https://github.com/whatwg/html/issues/547
24 DOMString? region = null; 23 DOMString? region = null;
25 }; 24 };
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/wpt/touch-events/touch-touchevent-constructor-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698