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

Unified Diff: ui/views/view.h

Issue 2189583004: [not for review - epic CL] Adding Elastic+Momentum+Layered scrolling to views::ScrollView Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Combined rebase Created 4 years, 5 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: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index 6b45c6313baf3bee9f08047d3891e28b35de22d1..4211b75dcde488d8739db433df164fdf3b7a4ad3 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -969,6 +969,7 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// adjusting the coordinates). It is up to views that only show a portion of
// the child view, such as Viewport, to override appropriately.
virtual void ScrollRectToVisible(const gfx::Rect& rect);
+ virtual ScrollView* EnclosingScrollView();
// The following methods are used by ScrollView to determine the amount
// to scroll relative to the visible bounds of the view. For example, a

Powered by Google App Engine
This is Rietveld 408576698