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

Side by Side Diff: third_party/WebKit/Source/core/events/MouseEvent.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 /* 1 /*
2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 [MeasureAs=MouseEventX] readonly attribute long x; 63 [MeasureAs=MouseEventX] readonly attribute long x;
64 [MeasureAs=MouseEventY] readonly attribute long y; 64 [MeasureAs=MouseEventY] readonly attribute long y;
65 [MeasureAs=MouseEventOffsetX] readonly attribute long offsetX; 65 [MeasureAs=MouseEventOffsetX] readonly attribute long offsetX;
66 [MeasureAs=MouseEventOffsetY] readonly attribute long offsetY; 66 [MeasureAs=MouseEventOffsetY] readonly attribute long offsetY;
67 67
68 // Pointer Lock 68 // Pointer Lock
69 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-mouseevent-interface 69 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions -to-the-mouseevent-interface
70 [MeasureAs=MouseEventMovementX] readonly attribute long movementX; 70 [MeasureAs=MouseEventMovementX] readonly attribute long movementX;
71 [MeasureAs=MouseEventMovementY] readonly attribute long movementY; 71 [MeasureAs=MouseEventMovementY] readonly attribute long movementY;
72 72
73 // Canvas Hit Regions
74 // https://html.spec.whatwg.org/multipage/scripting.html#MouseEvent-partial
75 [RuntimeEnabled=ExperimentalCanvasFeatures] readonly attribute DOMString? re gion;
76
73 // Non-standard 77 // Non-standard
74 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement; 78 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement;
75 [MeasureAs=MouseEventToElement] readonly attribute Node toElement; 79 [MeasureAs=MouseEventToElement] readonly attribute Node toElement;
76 [MeasureAs=MouseEventWhich] readonly attribute long which; 80 [MeasureAs=MouseEventWhich] readonly attribute long which;
77 [Measure] readonly attribute long layerX; 81 [Measure] readonly attribute long layerX;
78 [Measure] readonly attribute long layerY; 82 [Measure] readonly attribute long layerY;
79 }; 83 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698