Chromium Code Reviews| Index: Source/core/input/InputDevice.cpp |
| diff --git a/Source/core/input/InputDevice.cpp b/Source/core/input/InputDevice.cpp |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2f0e71092c02d0462ea3fbe01aee7435828a6e7f |
| --- /dev/null |
| +++ b/Source/core/input/InputDevice.cpp |
| @@ -0,0 +1,31 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| +#include "config.h" |
| +#include "core/input/InputDevice.h" |
| + |
| +namespace blink { |
| + |
| +InputDevice::InputDevice() |
| +{ |
| +} |
| + |
| +InputDevice::InputDevice(bool firesTouchEvents) |
| +{ |
| + m_firesTouchEvents = firesTouchEvents; |
| +} |
| + |
| +InputDevice::InputDevice(const InputDeviceInit& initializer) |
| +{ |
| + m_firesTouchEvents = initializer.firesTouchEvents(); |
| +} |
| + |
| +InputDevice::~InputDevice() |
| +{ |
| +} |
| + |
| +DEFINE_TRACE(InputDevice) |
|
Rick Byers
2015/06/03 17:59:45
Do you need a DEFINE_TRACE even when it's empty?
lanwei
2015/06/03 21:20:55
Once we use DEFINE_INLINE_TRACE, we do not need th
|
| +{ |
| +} |
| + |
| +} // namespace blink |