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

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

Issue 85263002: Improve handling of dictionary conversions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have conversion methods take a context argument; elaborate error msgs further. Created 7 years 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 11 matching lines...) Expand all
22 ] interface MouseEvent : UIEvent { 22 ] interface MouseEvent : UIEvent {
23 [InitializedByEventConstructor] readonly attribute long screenX; 23 [InitializedByEventConstructor] readonly attribute long screenX;
24 [InitializedByEventConstructor] readonly attribute long screenY; 24 [InitializedByEventConstructor] readonly attribute long screenY;
25 [InitializedByEventConstructor] readonly attribute long clientX; 25 [InitializedByEventConstructor] readonly attribute long clientX;
26 [InitializedByEventConstructor] readonly attribute long clientY; 26 [InitializedByEventConstructor] readonly attribute long clientY;
27 [InitializedByEventConstructor] readonly attribute boolean ctrlKey; 27 [InitializedByEventConstructor] readonly attribute boolean ctrlKey;
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 readonly attribute long webkitMo vementX; 33 readonly attribute long webkitMo vementX;
34 readonly attribute long webkitMo vementY; 34 readonly attribute long webkitMo vementY;
35 35
36 void initMouseEvent([Default=Undefined] optional DOMString type, 36 void initMouseEvent([Default=Undefined] optional DOMString type,
37 [Default=Undefined] optional boolean canB ubble, 37 [Default=Undefined] optional boolean canB ubble,
38 [Default=Undefined] optional boolean canc elable, 38 [Default=Undefined] optional boolean canc elable,
39 [Default=Undefined] optional Window view, 39 [Default=Undefined] optional Window view,
40 [Default=Undefined] optional long detail, 40 [Default=Undefined] optional long detail,
41 [Default=Undefined] optional long screenX , 41 [Default=Undefined] optional long screenX ,
42 [Default=Undefined] optional long screenY , 42 [Default=Undefined] optional long screenY ,
(...skipping 10 matching lines...) Expand all
53 readonly attribute long offsetX; 53 readonly attribute long offsetX;
54 readonly attribute long offsetY; 54 readonly attribute long offsetY;
55 readonly attribute long x; 55 readonly attribute long x;
56 readonly attribute long y; 56 readonly attribute long y;
57 readonly attribute Node fromElement; 57 readonly attribute Node fromElement;
58 readonly attribute Node toElement; 58 readonly attribute Node toElement;
59 59
60 readonly attribute Clipboard dataTransfer; 60 readonly attribute Clipboard dataTransfer;
61 }; 61 };
62 62
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698