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

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

Issue 1157173003: Impelement InputDevice.firesTouchEvents (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Put behind RuntimeEnabledFeature Created 5 years, 7 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
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
Rick Byers 2015/05/28 00:21:57 as discussed offline, maybe this is a good time to
tdresser 2015/05/28 15:03:21 +1
lanwei 2015/05/28 18:14:42 I will create a new fold in another CL, and move I
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Represents an input device (or group of related devices -- now we do not
6 // distinguish each different input device. We only have two devices right now,
7 // one represents all the devices which send touch events, the other one covers
8 // all other devices which do not send touch events, because now all we care
9 // about is if the input device fires touch events or not).
10 // To ease implementation, developers cannot rely on comparing two InputDevice
tdresser 2015/05/28 15:03:21 I'd move the "To ease implementation..." section a
lanwei 2015/05/28 18:14:43 Done.
11 // instances for equality. Eg. two mice with the same properties in a system ma y
12 // appear as a single InputDevice instance.
13 [
14 Constructor(optional InputDeviceInit deviceInitDict),
15 RuntimeEnabled=InputDevice,
16 ] interface InputDevice {
17
18 // Whether this device dispatches touch events for movement. This is used t o detect
19 // mouse events which represent only an action that has already been handled by
20 // touch event handlers.
21 readonly attribute boolean firesTouchEvents;
22 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698