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

Unified Diff: Source/core/input/InputDevice.cpp

Issue 1157173003: Impelement InputDevice.firesTouchEvents (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add a constructor Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698