Index: Source/WebKit/chromium/public/WebView.h |
=================================================================== |
--- Source/WebKit/chromium/public/WebView.h (revision 112613) |
+++ Source/WebKit/chromium/public/WebView.h (working copy) |
@@ -54,6 +54,7 @@ |
class WebSpellCheckClient; |
class WebString; |
class WebViewClient; |
+struct WebActiveWheelFlingParameters; |
struct WebMediaPlayerAction; |
struct WebPluginAction; |
struct WebPoint; |
@@ -428,6 +429,10 @@ |
// Can be used for allocating resources that the compositor will later access. |
virtual WebGraphicsContext3D* sharedGraphicsContext3D() = 0; |
+ // Called to inform the WebView that a wheel fling animation was started externally (for instance |
+ // by the compositor) but must be completed by the WebView. |
+ virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingParameters&) = 0; |
+ |
// Visibility ----------------------------------------------------------- |
// Sets the visibility of the WebView. |
@@ -452,7 +457,6 @@ |
// Simulates a compositor lost context. |
virtual void loseCompositorContext(int numTimes) = 0; |
- |
protected: |
~WebView() {} |
}; |