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

Unified Diff: ui/android/view_client.cc

Issue 2595263002: Introduce ViewRoot forwarding input/view events to native (Closed)
Patch Set: rebased & ViewAndroud::Bounds Created 3 years, 11 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: 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..ac847876a272626fee9a1dba767ff5715d5491f0
--- /dev/null
+++ b/ui/android/view_client.cc
@@ -0,0 +1,13 @@
+// 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"
+#include "ui/events/android/motion_event_android.h"
+
+namespace ui {
+
+bool ViewClient::OnTouchEvent(const MotionEventAndroid& event,
+ bool is_touch_handle_event) { return false; }
+
+} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698