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

Side by Side Diff: third_party/WebKit/Source/core/events/MouseEventInit.idl

Issue 2406263003: Make PointerEvent coordinates fractional for touch (Closed)
Patch Set: Rebased. Created 4 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/uievents/#idl-def-MouseEventInit 5 // https://w3c.github.io/uievents/#idl-def-MouseEventInit
6 6
7 dictionary MouseEventInit : EventModifierInit { 7 dictionary MouseEventInit : EventModifierInit {
8 long screenX = 0; 8 double screenX = 0;
9 long screenY = 0; 9 double screenY = 0;
10 long clientX = 0; 10 double clientX = 0;
11 long clientY = 0; 11 double clientY = 0;
12 short button = 0; 12 short button = 0;
13 unsigned short buttons = 0; 13 unsigned short buttons = 0;
14 EventTarget? relatedTarget = null; 14 EventTarget? relatedTarget = null;
15 15
16 // Pointer Lock 16 // Pointer Lock
17 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-mouseeventinit-dictionary 17 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-mouseeventinit-dictionary
18 long movementX = 0; 18 long movementX = 0;
19 long movementY = 0; 19 long movementY = 0;
20 20
21 // Canvas Hit Regions 21 // Canvas Hit Regions
22 // https://html.spec.whatwg.org/multipage/scripting.html#hit-regions:mouseev entinit 22 // https://html.spec.whatwg.org/multipage/scripting.html#hit-regions:mouseev entinit
23 DOMString? region = null; 23 DOMString? region = null;
24 }; 24 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/MouseEvent.idl ('k') | third_party/WebKit/Source/core/events/MouseRelatedEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698