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

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

Issue 1157173003: Impelement InputDevice.firesTouchEvents (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add a constructor 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // Represents an input device (or group of related devices).
6 // To ease implementation, developers cannot rely on comparing two InputDevice
7 // instances for equality. Now we only have two InputDevice instances: one
8 // represents all the devices which send touch events, the other one covers all
9 // other devices which do not send touch events, because currently all we care
10 // about is if the input device fires touch events or not.
11 [
12 Constructor(optional InputDeviceInit deviceInitDict),
13 RuntimeEnabled=InputDevice,
14 ] interface InputDevice {
15
16 // Whether this device dispatches touch events for movement. This is used t o detect
17 // mouse events which represent only an action that has already been handled by
18 // touch event handlers.
19 readonly attribute boolean firesTouchEvents;
20 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698