Index: components/web_contents_delegate_android/web_contents_delegate_android.h |
diff --git a/components/web_contents_delegate_android/web_contents_delegate_android.h b/components/web_contents_delegate_android/web_contents_delegate_android.h |
index ec90ac384136b1b7167d8dd77815aaee0f916a32..e68338b6b9bd51aa87c58dc9240a0456bd325c11 100644 |
--- a/components/web_contents_delegate_android/web_contents_delegate_android.h |
+++ b/components/web_contents_delegate_android/web_contents_delegate_android.h |
@@ -10,6 +10,7 @@ |
#include "base/compiler_specific.h" |
#include "base/memory/scoped_ptr.h" |
#include "content/public/browser/web_contents_delegate.h" |
+#include "ui/gfx/vector2d.h" |
class GURL; |
@@ -86,14 +87,15 @@ class WebContentsDelegateAndroid : public content::WebContentsDelegate { |
content::WebContents* source, |
const content::NativeWebKeyboardEvent& event) OVERRIDE; |
virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; |
- |
virtual void ShowRepostFormWarningDialog( |
content::WebContents* source) OVERRIDE; |
- |
virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents, |
bool enter_fullscreen) OVERRIDE; |
virtual bool IsFullscreenForTabOrPending( |
const content::WebContents* web_contents) const OVERRIDE; |
+ virtual void DidProgrammaticallyScroll( |
+ content::WebContents* web_contents, |
+ const gfx::Vector2d& scroll_point) OVERRIDE; |
protected: |
base::android::ScopedJavaLocalRef<jobject> GetJavaDelegate(JNIEnv* env) const; |