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

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

Issue 11793003: Relands: Telemetry: hooks "chrome.gpuBenchmarking.smoothScrollBy" with java on android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moves functionality out of content/port Created 7 years, 8 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: 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 77f4973b5a9a5bd11ecc4dd2c0a6e32fbec65407..abbf1f1c1a90ba6ab41ac0553453d11d329769c7 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -7,6 +7,7 @@
#include <vector>
+#include "base/android/jni_android.h"
#include "base/android/jni_helper.h"
#include "base/basictypes.h"
#include "base/compiler_specific.h"
@@ -267,6 +268,11 @@ class ContentViewCoreImpl : public ContentViewCore,
void ShowDisambiguationPopup(
const gfx::Rect& target_rect, const SkBitmap& zoomed_bitmap);
+ // Creates a java-side smooth scroller. Used by
+ // chrome.gpuBenchmarking.smoothScrollBy.
+ base::android::ScopedJavaLocalRef<jobject> CreateSmoothScroller(
+ bool scroll_down, int mouse_event_x, int mouse_event_y);
+
void RequestExternalVideoSurface(int player_id);
void NotifyGeometryChange(int player_id, const gfx::RectF& rect);

Powered by Google App Engine
This is Rietveld 408576698