Chromium Code Reviews| Index: Source/core/input/InputDevice.h |
| diff --git a/Source/core/input/InputDevice.h b/Source/core/input/InputDevice.h |
| index 244e5638ceaae3b3e167c6ee2c9fa4736b0eede0..514e64b3caccfae824cfaaee317a31598c7a031a 100644 |
| --- a/Source/core/input/InputDevice.h |
| +++ b/Source/core/input/InputDevice.h |
| @@ -16,6 +16,13 @@ class CORE_EXPORT InputDevice : public GarbageCollectedFinalized<InputDevice>, p |
| public: |
| ~InputDevice(); |
| + |
| + // This return a static local InputDevice pointer which has firesTouchEvents set to be true. |
| + static InputDevice* touchEventInstance(); |
| + |
| + // This return a static local InputDevice pointer which has firesTouchEvents set to be false. |
| + static InputDevice* nonTouchEventInstance(); |
|
tdresser
2015/06/08 12:36:40
Where is this used?
lanwei
2015/06/09 20:07:10
It will be used later for other uievents which are
|
| + |
| static InputDevice* create(bool firesTouchEvents) |
| { |
| return new InputDevice(firesTouchEvents); |