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

Unified Diff: content/browser/web_contents/web_contents_view_aura.h

Issue 478023002: OverscrollController consumes scroll updates only during gesture-nav. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test. Created 6 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: content/browser/web_contents/web_contents_view_aura.h
diff --git a/content/browser/web_contents/web_contents_view_aura.h b/content/browser/web_contents/web_contents_view_aura.h
index a615c3486b2bb9aac0037ec337955aea43fc7db1..291df028ca0b988faec5b688c06aaffea4778d28 100644
--- a/content/browser/web_contents/web_contents_view_aura.h
+++ b/content/browser/web_contents/web_contents_view_aura.h
@@ -139,7 +139,8 @@ class WebContentsViewAura
// Overridden from OverscrollControllerDelegate:
virtual gfx::Rect GetVisibleBounds() const OVERRIDE;
- virtual void OnOverscrollUpdate(float delta_x, float delta_y) OVERRIDE;
+ // Returns true if the scroll update was consumed.
sadrul 2014/08/18 22:54:09 remove
tdresser 2014/08/19 12:51:38 Done.
+ virtual bool OnOverscrollUpdate(float delta_x, float delta_y) OVERRIDE;
virtual void OnOverscrollComplete(OverscrollMode overscroll_mode) OVERRIDE;
virtual void OnOverscrollModeChange(OverscrollMode old_mode,
OverscrollMode new_mode) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698