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

Unified Diff: trunk/src/content/browser/android/content_view_core_impl.h

Issue 79143002: Revert 236254 "Replace old with new synthetic gesture framework." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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 | « no previous file | trunk/src/content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/content/browser/android/content_view_core_impl.h
===================================================================
--- trunk/src/content/browser/android/content_view_core_impl.h (revision 236262)
+++ trunk/src/content/browser/android/content_view_core_impl.h (working copy)
@@ -282,6 +282,17 @@
// testing/benchmarking purposes
base::android::ScopedJavaLocalRef<jobject> CreateTouchEventSynthesizer();
+ // Creates a java-side touch gesture, e.g. used by
+ // chrome.gpuBenchmarking.smoothScrollBy.
+ base::android::ScopedJavaLocalRef<jobject> CreateOnePointTouchGesture(
+ int start_x, int start_y, int delta_x, int delta_y);
+
+ // Creates a java-side touch gesture with two pointers, e.g. used by
+ // chrome.gpuBenchmarking.pinchBy.
+ base::android::ScopedJavaLocalRef<jobject> CreateTwoPointTouchGesture(
+ int start_x0, int start_y0, int delta_x0, int delta_y0,
+ int start_x1, int start_y1, int delta_x1, int delta_y1);
+
// Notifies the java object about the external surface, requesting for one if
// necessary.
void NotifyExternalSurface(
« no previous file with comments | « no previous file | trunk/src/content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698