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

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

Issue 1161373002: Drop the MouseEventButtonsAttribute runtime flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Source/platform/RuntimeEnabledFeatures.in » ('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 14 matching lines...) Expand all
25 ] interface MouseEvent : UIEvent { 25 ] interface MouseEvent : UIEvent {
26 readonly attribute long screenX; 26 readonly attribute long screenX;
27 readonly attribute long screenY; 27 readonly attribute long screenY;
28 readonly attribute long clientX; 28 readonly attribute long clientX;
29 readonly attribute long clientY; 29 readonly attribute long clientY;
30 readonly attribute boolean ctrlKey; 30 readonly attribute boolean ctrlKey;
31 readonly attribute boolean shiftKey; 31 readonly attribute boolean shiftKey;
32 readonly attribute boolean altKey; 32 readonly attribute boolean altKey;
33 readonly attribute boolean metaKey; 33 readonly attribute boolean metaKey;
34 readonly attribute unsigned short button; 34 readonly attribute unsigned short button;
35 [RuntimeEnabled=MouseEventButtonsAttribute] readonly attribute unsigned shor t buttons; 35 readonly attribute unsigned short buttons;
36 readonly attribute EventTarget? relatedTarget; 36 readonly attribute EventTarget? relatedTarget;
37 [MeasureAs=MouseEventMovementX] readonly attribute long movement X; 37 [MeasureAs=MouseEventMovementX] readonly attribute long movement X;
38 [MeasureAs=MouseEventMovementY] readonly attribute long movement Y; 38 [MeasureAs=MouseEventMovementY] readonly attribute long movement Y;
39 [MeasureAs=PrefixedMouseEventMovementX, ImplementedAs=movementX] readonly at tribute long webkitMovementX; 39 [MeasureAs=PrefixedMouseEventMovementX, ImplementedAs=movementX] readonly at tribute long webkitMovementX;
40 [MeasureAs=PrefixedMouseEventMovementY, ImplementedAs=movementY] readonly at tribute long webkitMovementY; 40 [MeasureAs=PrefixedMouseEventMovementY, ImplementedAs=movementY] readonly at tribute long webkitMovementY;
41 41
42 [CallWith=ScriptState] void initMouseEvent([Default=Undefined] optional DOM String type, 42 [CallWith=ScriptState] void initMouseEvent([Default=Undefined] optional DOM String type,
43 [Default=Undefined] optional boolean canB ubble, 43 [Default=Undefined] optional boolean canB ubble,
44 [Default=Undefined] optional boolean canc elable, 44 [Default=Undefined] optional boolean canc elable,
45 [Default=Undefined] optional Window view, 45 [Default=Undefined] optional Window view,
(...skipping 14 matching lines...) Expand all
60 [MeasureAs=MouseEventOffsetY] readonly attribute long offsetY; 60 [MeasureAs=MouseEventOffsetY] readonly attribute long offsetY;
61 [MeasureAs=MouseEventX] readonly attribute long x; 61 [MeasureAs=MouseEventX] readonly attribute long x;
62 [MeasureAs=MouseEventY] readonly attribute long y; 62 [MeasureAs=MouseEventY] readonly attribute long y;
63 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement; 63 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement;
64 [MeasureAs=MouseEventToElement] readonly attribute Node toElement; 64 [MeasureAs=MouseEventToElement] readonly attribute Node toElement;
65 [MeasureAs=MouseEventWhich] readonly attribute long which; 65 [MeasureAs=MouseEventWhich] readonly attribute long which;
66 66
67 // FIXME: this belongs on the DragEvent interface 67 // FIXME: this belongs on the DragEvent interface
68 readonly attribute DataTransfer dataTransfer; 68 readonly attribute DataTransfer dataTransfer;
69 }; 69 };
OLDNEW
« no previous file with comments | « no previous file | Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698