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

Side by Side Diff: ui/android/view_client.cc

Issue 2896993002: Route OnDragEvent through ViewAndroid tree (Closed)
Patch Set: +ui/base Created 3 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 unified diff | Download patch
« no previous file with comments | « ui/android/view_client.h ('k') | ui/events/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/android/view_client.h" 5 #include "ui/android/view_client.h"
6 6
7 namespace ui { 7 namespace ui {
8 8
9 bool ViewClient::OnTouchEvent(const MotionEventAndroid& event, 9 bool ViewClient::OnTouchEvent(const MotionEventAndroid& event,
10 bool for_touch_handle) { 10 bool for_touch_handle) {
11 return false; 11 return false;
12 } 12 }
13 13
14 bool ViewClient::OnMouseEvent(const MotionEventAndroid& event) { 14 bool ViewClient::OnMouseEvent(const MotionEventAndroid& event) {
15 return false; 15 return false;
16 } 16 }
17 17
18 bool ViewClient::OnMouseWheelEvent(const MotionEventAndroid& event) { 18 bool ViewClient::OnMouseWheelEvent(const MotionEventAndroid& event) {
19 return false; 19 return false;
20 } 20 }
21 21
22 bool ViewClient::OnDragEvent(const DragEventAndroid& event) {
23 return false;
24 }
25
22 void ViewClient::OnPhysicalBackingSizeChanged() {} 26 void ViewClient::OnPhysicalBackingSizeChanged() {}
23 27
24 } // namespace ui 28 } // namespace ui
OLDNEW
« no previous file with comments | « ui/android/view_client.h ('k') | ui/events/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698