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

Side by Side Diff: core/input/InputDeviceCapabilities.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 8 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 | « core/input/InputDevice.idl ('k') | core/input/InputDeviceCapabilitiesInit.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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Represents an input device (or group of related devices). 5 // Represents capabilities for a group of related input devices.
6 // To ease implementation, developers cannot rely on comparing two InputDevice 6 // To ease implementation, developers cannot rely on comparing two
7 // instances for equality. Now we only have two InputDevice instances: one 7 // InputDeviceCapabilities instances for equality. Now we only have two
8 // represents all the devices which send touch events, the other one covers all 8 // InputDeviceCapabilities instances: one for devices which send touch
9 // other devices which do not send touch events, because currently all we care 9 // events, and one for those that don't, because currently all we care
10 // about is if the input device fires touch events or not. 10 // about is if the input device fires touch events or not.
11
11 [ 12 [
12 Constructor(optional InputDeviceInit deviceInitDict), 13 Constructor(optional InputDeviceCapabilitiesInit deviceInitDict),
13 RuntimeEnabled=InputDevice, 14 RuntimeEnabled=InputDeviceCapabilities,
14 GarbageCollected, 15 GarbageCollected,
15 ] interface InputDevice { 16 ] interface InputDeviceCapabilities {
16 17
17 // Whether this device dispatches touch events for movement. This is used t o detect 18 // Whether this device dispatches touch events for movement. This is used t o detect
18 // mouse events which represent only an action that has already been handled by 19 // mouse events which represent only an action that has already been handled by
19 // touch event handlers. 20 // touch event handlers.
20 readonly attribute boolean firesTouchEvents; 21 [Measure] readonly attribute boolean firesTouchEvents;
21 }; 22 };
OLDNEW
« no previous file with comments | « core/input/InputDevice.idl ('k') | core/input/InputDeviceCapabilitiesInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698