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

Unified Diff: Source/WebKit/chromium/public/WebView.h

Issue 9931004: Merge 112364 - [chromium] Transfer wheel fling via WebCompositorInputHandlerClient (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 9 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: 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() {}
};

Powered by Google App Engine
This is Rietveld 408576698