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

Unified Diff: chrome/browser/ui/views/frame/scroll_end_effect_controller.h

Issue 22265009: Implement initial version of scroll end effect Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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: chrome/browser/ui/views/frame/scroll_end_effect_controller.h
diff --git a/chrome/browser/ui/views/frame/scroll_end_effect_controller.h b/chrome/browser/ui/views/frame/scroll_end_effect_controller.h
index 372ec197e345c32ca68592bd6d909cd5cd2cee16..43972b8bdcc2ab59d5001d4f0329f6d1f51caa1f 100644
--- a/chrome/browser/ui/views/frame/scroll_end_effect_controller.h
+++ b/chrome/browser/ui/views/frame/scroll_end_effect_controller.h
@@ -7,6 +7,8 @@
#include "base/basictypes.h"
+class BrowserView;
+
// The controller receives the raw y-deltas generated by the overscroll
// controller and is resonsible for converting them in to the scroll end
// effect. This effect occurs in the vertical overscroll case and is used to
@@ -17,7 +19,7 @@ class ScrollEndEffectController {
ScrollEndEffectController() {}
virtual ~ScrollEndEffectController() {}
- static ScrollEndEffectController* Create();
+ static ScrollEndEffectController* Create(BrowserView* view);
// Interface that allows vertical overscroll activies to be communicated to
// the controller.

Powered by Google App Engine
This is Rietveld 408576698