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

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: Code cleanup for sadrul@ Created 7 years, 3 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..ac2bc891742b3d36d1ed5fde8d6ee761d8b481b2 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,9 @@
#include "base/basictypes.h"
+class BrowserView;
sky 2013/09/05 21:12:57 don't need BrowserView here.
rharrison 2013/09/09 20:01:17 Done.
+class ScrollEndEffectControllerDelegate;
+
// 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 +20,8 @@ class ScrollEndEffectController {
ScrollEndEffectController() {}
virtual ~ScrollEndEffectController() {}
- static ScrollEndEffectController* Create();
+ static ScrollEndEffectController* Create(
+ ScrollEndEffectControllerDelegate* delegate);
// Interface that allows vertical overscroll activies to be communicated to
// the controller.

Powered by Google App Engine
This is Rietveld 408576698