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

Side by Side Diff: Source/core/events/MouseEvent.idl

Issue 1214723004: Fix the indentation of MouseEvent.pageX/Y (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 /* 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 [Default=Undefined] optional boolean altK ey, 51 [Default=Undefined] optional boolean altK ey,
52 [Default=Undefined] optional boolean shif tKey, 52 [Default=Undefined] optional boolean shif tKey,
53 [Default=Undefined] optional boolean meta Key, 53 [Default=Undefined] optional boolean meta Key,
54 [Default=Undefined] optional unsigned sho rt button, 54 [Default=Undefined] optional unsigned sho rt button,
55 [Default=Undefined] optional EventTarget? relatedTarget); 55 [Default=Undefined] optional EventTarget? relatedTarget);
56 56
57 // CSSOM View Module 57 // CSSOM View Module
58 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-mouseevent-interfac e 58 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-mouseevent-interfac e
59 // TODO(philipj): These attributes should be of type double, and the spec 59 // TODO(philipj): These attributes should be of type double, and the spec
60 // also redefines screenX/Y and clientX/Y as double. 60 // also redefines screenX/Y and clientX/Y as double.
61 readonly attribute long pageX; 61 readonly attribute long pageX;
62 readonly attribute long pageY; 62 readonly attribute long pageY;
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 // Non-standard 73 // Non-standard
74 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement; 74 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement;
75 [MeasureAs=MouseEventToElement] readonly attribute Node toElement; 75 [MeasureAs=MouseEventToElement] readonly attribute Node toElement;
76 [MeasureAs=MouseEventWhich] readonly attribute long which; 76 [MeasureAs=MouseEventWhich] readonly attribute long which;
77 [DeprecateAs=PrefixedMouseEventMovementX, ImplementedAs=movementX] readonly attribute long webkitMovementX; 77 [DeprecateAs=PrefixedMouseEventMovementX, ImplementedAs=movementX] readonly attribute long webkitMovementX;
78 [DeprecateAs=PrefixedMouseEventMovementY, ImplementedAs=movementY] readonly attribute long webkitMovementY; 78 [DeprecateAs=PrefixedMouseEventMovementY, ImplementedAs=movementY] readonly attribute long webkitMovementY;
79 [Measure] readonly attribute long layerX; 79 [Measure] readonly attribute long layerX;
80 [Measure] readonly attribute long layerY; 80 [Measure] readonly attribute long layerY;
81 81
82 // FIXME: dataTransfer belongs on the DragEvent interface. crbug.com/498504 82 // FIXME: dataTransfer belongs on the DragEvent interface. crbug.com/498504
83 readonly attribute DataTransfer dataTransfer; 83 readonly attribute DataTransfer dataTransfer;
84 }; 84 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698