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

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 InputDevice to LayoutTests/webexposed 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..32b4132a65c6b76eb11c6bdb21f5ad926b388d75
--- /dev/null
+++ b/Source/core/input/InputDevice.cpp
@@ -0,0 +1,27 @@
+// 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"
tkent 2015/06/04 00:00:47 add a blank line before this line.
lanwei 2015/06/04 21:21:35 Done.
+#include "core/input/InputDevice.h"
+
+namespace blink {
+
+InputDevice::InputDevice()
tkent 2015/06/04 00:00:47 m_firesTouchEvents is not initialized.
+{
+}
+
+InputDevice::InputDevice(bool firesTouchEvents)
+{
+ m_firesTouchEvents = firesTouchEvents;
+}
+
+InputDevice::InputDevice(const InputDeviceInit& initializer)
+{
+ m_firesTouchEvents = initializer.firesTouchEvents();
+}
+
+InputDevice::~InputDevice()
+{
+}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698