| 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..4611b97757c7358abba33e888bae3d784efa9a22
|
| --- /dev/null
|
| +++ b/Source/core/input/InputDevice.cpp
|
| @@ -0,0 +1,43 @@
|
| +// 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()
|
| +{
|
| +}
|
| +
|
| +PassRefPtrWillBeRawPtr<InputDevice> InputDevice::touchEventInstance()
|
| +{
|
| + DEFINE_STATIC_REF(InputDevice, instance, (InputDevice::create(true)));
|
| + return instance;
|
| +}
|
| +
|
| +PassRefPtrWillBeRawPtr<InputDevice> InputDevice::nonTouchEventInstance()
|
| +{
|
| + DEFINE_STATIC_REF(InputDevice, instance, (InputDevice::create(false)));
|
| + return instance;
|
| +}
|
| +
|
| +DEFINE_TRACE(InputDevice)
|
| +{
|
| +}
|
| +
|
| +} // namespace blink
|
|
|