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

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: Rebase Created 5 years, 6 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
« no previous file with comments | « Source/core/input/InputDevice.h ('k') | Source/core/input/InputDevice.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..927a99c2a8ae068f6c77990e51671edd9e94ece9
--- /dev/null
+++ b/Source/core/input/InputDevice.cpp
@@ -0,0 +1,24 @@
+// 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(bool firesTouchEvents)
+{
+ m_firesTouchEvents = firesTouchEvents;
+}
+
+InputDevice::InputDevice(const InputDeviceInit& initializer)
+{
+ m_firesTouchEvents = initializer.firesTouchEvents();
+}
+
+InputDevice::~InputDevice()
+{
+}
+
+} // namespace blink
« no previous file with comments | « Source/core/input/InputDevice.h ('k') | Source/core/input/InputDevice.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698