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

Unified 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, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/input/InputDevice.idl ('k') | core/input/InputDeviceCapabilitiesInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/input/InputDeviceCapabilities.idl
diff --git a/core/input/InputDevice.idl b/core/input/InputDeviceCapabilities.idl
similarity index 51%
rename from core/input/InputDevice.idl
rename to core/input/InputDeviceCapabilities.idl
index 83e345fc53e3a9e33aa3fffb3a81f522655b41e0..6263af863420b5ed0a0eb3e0eee509bf36ec6ae7 100644
--- a/core/input/InputDevice.idl
+++ b/core/input/InputDeviceCapabilities.idl
@@ -2,20 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Represents an input device (or group of related devices).
-// To ease implementation, developers cannot rely on comparing two InputDevice
-// instances for equality. Now we only have two InputDevice instances: one
-// represents all the devices which send touch events, the other one covers all
-// other devices which do not send touch events, because currently all we care
+// Represents capabilities for a group of related input devices.
+// To ease implementation, developers cannot rely on comparing two
+// InputDeviceCapabilities instances for equality. Now we only have two
+// InputDeviceCapabilities instances: one for devices which send touch
+// events, and one for those that don't, because currently all we care
// about is if the input device fires touch events or not.
+
[
- Constructor(optional InputDeviceInit deviceInitDict),
- RuntimeEnabled=InputDevice,
+ Constructor(optional InputDeviceCapabilitiesInit deviceInitDict),
+ RuntimeEnabled=InputDeviceCapabilities,
GarbageCollected,
-] interface InputDevice {
+] interface InputDeviceCapabilities {
// Whether this device dispatches touch events for movement. This is used to detect
// mouse events which represent only an action that has already been handled by
// touch event handlers.
- readonly attribute boolean firesTouchEvents;
+ [Measure] readonly attribute boolean firesTouchEvents;
};
« 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