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

Unified Diff: ui/android/view_client.cc

Issue 2708613002: Add EventForwarder for routing touch events (Closed)
Patch Set: EventHandler Created 3 years, 10 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
« ui/android/view_client.h ('K') | « ui/android/view_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/view_client.cc
diff --git a/ui/android/view_client.cc b/ui/android/view_client.cc
new file mode 100644
index 0000000000000000000000000000000000000000..a5d83c63d96e94b24e1722b25a0c9d42c30560b8
--- /dev/null
+++ b/ui/android/view_client.cc
@@ -0,0 +1,18 @@
+// Copyright 2017 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 "ui/android/view_client.h"
+
+namespace ui {
+
+bool ViewClient::OnTouchEvent(const MotionEventAndroid& event,
+ bool is_touch_handle_event) {
+ return false;
+}
+bool ViewClient::OnMouseEvent(const MotionEventAndroid& event,
boliu 2017/02/27 19:21:57 nit: empty line above
Jinsuk Kim 2017/02/28 06:56:04 Done.
+ int action_button) {
+ return false;
+}
+
+} // namespace ui
« ui/android/view_client.h ('K') | « ui/android/view_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698