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

Unified Diff: content/public/browser/web_contents_delegate.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: content/public/browser/web_contents_delegate.h
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index 2cfcdf7fe644d637e1d920335d9266cb00491b46..bcd5caf609b2664c386a9aa47c463951077666ec 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -162,7 +162,7 @@ class CONTENT_EXPORT WebContentsDelegate {
// Callback that allows vertical overscroll activies to be communicated to the
// delegate. |delta_y| is the total amount of overscroll.
- virtual void OverscrollUpdate(int delta_y) {}
+ virtual void OverscrollUpdate(float delta_y) {}
// Invoked when a vertical overscroll completes.
virtual void OverscrollComplete() {}

Powered by Google App Engine
This is Rietveld 408576698