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

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

Issue 645223003: Change overscroll functions to pass floats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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..447bc3866f4511ae18eebe7062f45ebda0cb4533 100644
--- a/chrome/browser/ui/views/frame/scroll_end_effect_controller.h
+++ b/chrome/browser/ui/views/frame/scroll_end_effect_controller.h
@@ -21,7 +21,7 @@ class ScrollEndEffectController {
// Interface that allows vertical overscroll activies to be communicated to
// the controller.
- virtual void OverscrollUpdate(int delta_y) = 0;
+ virtual void OverscrollUpdate(float delta_y) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(ScrollEndEffectController);

Powered by Google App Engine
This is Rietveld 408576698