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 6f2acf1e43dc5c006616d45e1ee1b179d36becf9..f666c143622138af704db0c2293629ca4a0bacd1 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" |
@@ -269,6 +270,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); |
+ |
// Notifies the java object about the external surface, requesting for one if |
// necessary. |
void NotifyExternalSurface( |