| Index: content/public/browser/web_contents_delegate.h
|
| diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
|
| index 60732ceb0905956441182ff4b3973dcaa67357af..8db5039e1fa40d021d316b8683b0207296c699f6 100644
|
| --- a/content/public/browser/web_contents_delegate.h
|
| +++ b/content/public/browser/web_contents_delegate.h
|
| @@ -20,6 +20,7 @@
|
| #include "ui/base/window_open_disposition.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| #include "ui/gfx/rect_f.h"
|
| +#include "ui/gfx/vector2d.h"
|
|
|
| class GURL;
|
|
|
| @@ -342,6 +343,10 @@ class CONTENT_EXPORT WebContentsDelegate {
|
| virtual bool IsFullscreenForTabOrPending(
|
| const WebContents* web_contents) const;
|
|
|
| + // Called when the renderer has scrolled programmatically.
|
| + virtual void DidProgrammaticallyScroll(WebContents* web_contents,
|
| + const gfx::Vector2d& scroll_point) {}
|
| +
|
| // Called when a Javascript out of memory notification is received.
|
| virtual void JSOutOfMemory(WebContents* web_contents) {}
|
|
|
|
|