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

Unified Diff: ui/android/view_client.h

Issue 2896993002: Route OnDragEvent through ViewAndroid tree (Closed)
Patch Set: +ui/base Created 3 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
« no previous file with comments | « ui/android/view_android.cc ('k') | ui/android/view_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/view_client.h
diff --git a/ui/android/view_client.h b/ui/android/view_client.h
index 99a87bb57113a162746c590b338c82a1a0ebfd4d..95bbc28401793f34180f7c988612c7f21e2bb34b 100644
--- a/ui/android/view_client.h
+++ b/ui/android/view_client.h
@@ -9,6 +9,7 @@
namespace ui {
+class DragEventAndroid;
class MotionEventAndroid;
// Client interface used to forward events from Java to native views.
@@ -22,6 +23,7 @@ class UI_ANDROID_EXPORT ViewClient {
bool for_touch_handle);
virtual bool OnMouseEvent(const MotionEventAndroid& event);
virtual bool OnMouseWheelEvent(const MotionEventAndroid& event);
+ virtual bool OnDragEvent(const DragEventAndroid& event);
virtual void OnPhysicalBackingSizeChanged();
};
« no previous file with comments | « ui/android/view_android.cc ('k') | ui/android/view_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698