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

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

Issue 26664002: SyntheticGestureTarget implementation for injecting synthetic input events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits 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
Index: content/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index f1e43cc8073f7f134327efec8b8e4ed4d2ea5aed..6499b050fa90c387240295fa2e169eeabec1ff8e 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -272,6 +272,10 @@ class ContentViewCoreImpl : public ContentViewCore,
void ShowDisambiguationPopup(
const gfx::Rect& target_rect, const SkBitmap& zoomed_bitmap);
+ // Creates a java-side touch event, used for injecting touch event for
+ // 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(

Powered by Google App Engine
This is Rietveld 408576698