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

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

Issue 337343002: IDL: make optional arguments (without default) explicit sometimes Base URL: https://chromium.googlesource.com/chromium/blink.git@idl-default-arguments-next
Patch Set: Created 6 years, 4 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 | « Source/core/events/MessageEvent.idl ('k') | Source/core/events/MutationEvent.idl » ('j') | 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 17 matching lines...) Expand all
28 [InitializedByEventConstructor] readonly attribute boolean shiftKey ; 28 [InitializedByEventConstructor] readonly attribute boolean shiftKey ;
29 [InitializedByEventConstructor] readonly attribute boolean altKey; 29 [InitializedByEventConstructor] readonly attribute boolean altKey;
30 [InitializedByEventConstructor] readonly attribute boolean metaKey; 30 [InitializedByEventConstructor] readonly attribute boolean metaKey;
31 [InitializedByEventConstructor] readonly attribute unsigned short button; 31 [InitializedByEventConstructor] readonly attribute unsigned short button;
32 [InitializedByEventConstructor] readonly attribute EventTarget? relatedT arget; 32 [InitializedByEventConstructor] readonly attribute EventTarget? relatedT arget;
33 [MeasureAs=MouseEventMovementX] readonly attribute long movement X; 33 [MeasureAs=MouseEventMovementX] readonly attribute long movement X;
34 [MeasureAs=MouseEventMovementY] readonly attribute long movement Y; 34 [MeasureAs=MouseEventMovementY] readonly attribute long movement Y;
35 [MeasureAs=PrefixedMouseEventMovementX, ImplementedAs=movementX] readonly at tribute long webkitMovementX; 35 [MeasureAs=PrefixedMouseEventMovementX, ImplementedAs=movementX] readonly at tribute long webkitMovementX;
36 [MeasureAs=PrefixedMouseEventMovementY, ImplementedAs=movementY] readonly at tribute long webkitMovementY; 36 [MeasureAs=PrefixedMouseEventMovementY, ImplementedAs=movementY] readonly at tribute long webkitMovementY;
37 37
38 void initMouseEvent([Default=Undefined] optional DOMString type, 38 void initMouseEvent(optional DOMString type,
39 [Default=Undefined] optional boolean canB ubble, 39 optional boolean canBubble,
40 [Default=Undefined] optional boolean canc elable, 40 optional boolean cancelable,
41 [Default=Undefined] optional Window view, 41 optional Window view,
42 [Default=Undefined] optional long detail, 42 optional long detail,
43 [Default=Undefined] optional long screenX , 43 optional long screenX,
44 [Default=Undefined] optional long screenY , 44 optional long screenY,
45 [Default=Undefined] optional long clientX , 45 optional long clientX,
46 [Default=Undefined] optional long clientY , 46 optional long clientY,
47 [Default=Undefined] optional boolean ctrl Key, 47 optional boolean ctrlKey,
48 [Default=Undefined] optional boolean altK ey, 48 optional boolean altKey,
49 [Default=Undefined] optional boolean shif tKey, 49 optional boolean shiftKey,
50 [Default=Undefined] optional boolean meta Key, 50 optional boolean metaKey,
51 [Default=Undefined] optional unsigned sho rt button, 51 optional unsigned short button,
52 [Default=Undefined] optional EventTarget relatedTarget); 52 optional EventTarget relatedTarget);
53 53
54 // Non-standard 54 // Non-standard
55 [MeasureAs=MouseEventOffsetX] readonly attribute long offsetX; 55 [MeasureAs=MouseEventOffsetX] readonly attribute long offsetX;
56 [MeasureAs=MouseEventOffsetY] readonly attribute long offsetY; 56 [MeasureAs=MouseEventOffsetY] readonly attribute long offsetY;
57 [MeasureAs=MouseEventX] readonly attribute long x; 57 [MeasureAs=MouseEventX] readonly attribute long x;
58 [MeasureAs=MouseEventY] readonly attribute long y; 58 [MeasureAs=MouseEventY] readonly attribute long y;
59 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement; 59 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement;
60 [MeasureAs=MouseEventToElement] readonly attribute Node toElement; 60 [MeasureAs=MouseEventToElement] readonly attribute Node toElement;
61 61
62 // FIXME: this belongs on the DragEvent interface 62 // FIXME: this belongs on the DragEvent interface
63 readonly attribute DataTransfer dataTransfer; 63 readonly attribute DataTransfer dataTransfer;
64 }; 64 };
OLDNEW
« no previous file with comments | « Source/core/events/MessageEvent.idl ('k') | Source/core/events/MutationEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698