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

Unified Diff: ui/android/view_android.h

Issue 2708613002: Add EventForwarder for routing touch events (Closed)
Patch Set: - 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
Index: ui/android/view_android.h
diff --git a/ui/android/view_android.h b/ui/android/view_android.h
index e446048580dc6d63d456cff04791170fa19bfccc..c76791438b8c7c5f92ea70d7acd9812d5085acda 100644
--- a/ui/android/view_android.h
+++ b/ui/android/view_android.h
@@ -109,13 +109,13 @@ class UI_ANDROID_EXPORT ViewAndroid {
// This may return null.
base::android::ScopedJavaLocalRef<jobject> GetContainerView();
+ // Virtual for testing.
+ virtual float GetDipScale();
+
protected:
// Internal implementation of ViewClient forwarding calls to the interface.
bool OnTouchEventInternal(const MotionEventData& event);
- // Virtual for testing.
- virtual float GetDipScale();
-
ViewAndroid* parent_;
private:

Powered by Google App Engine
This is Rietveld 408576698