| OLD | NEW |
| 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 #ifndef InputDeviceCapabilities_h | 5 #ifndef InputDeviceCapabilities_h |
| 6 #define InputDeviceCapabilities_h | 6 #define InputDeviceCapabilities_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | |
| 9 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 10 #include "core/input/InputDeviceCapabilitiesInit.h" | 9 #include "core/input/InputDeviceCapabilitiesInit.h" |
| 10 #include "platform/bindings/ScriptWrappable.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class CORE_EXPORT InputDeviceCapabilities final | 14 class CORE_EXPORT InputDeviceCapabilities final |
| 15 : public GarbageCollected<InputDeviceCapabilities>, | 15 : public GarbageCollected<InputDeviceCapabilities>, |
| 16 public ScriptWrappable { | 16 public ScriptWrappable { |
| 17 DEFINE_WRAPPERTYPEINFO(); | 17 DEFINE_WRAPPERTYPEINFO(); |
| 18 | 18 |
| 19 public: | 19 public: |
| 20 static InputDeviceCapabilities* Create(bool fires_touch_events) { | 20 static InputDeviceCapabilities* Create(bool fires_touch_events) { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 } | 60 } |
| 61 | 61 |
| 62 private: | 62 private: |
| 63 Member<InputDeviceCapabilities> fires_touch_events_; | 63 Member<InputDeviceCapabilities> fires_touch_events_; |
| 64 Member<InputDeviceCapabilities> doesnt_fire_touch_events_; | 64 Member<InputDeviceCapabilities> doesnt_fire_touch_events_; |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 } // namespace blink | 67 } // namespace blink |
| 68 | 68 |
| 69 #endif // InputDeviceCapabilities_h | 69 #endif // InputDeviceCapabilities_h |
| OLD | NEW |