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

Unified Diff: ui/views/view.h

Issue 1680613002: Adding momentum/overscroll to views:: ScrollViews Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Tableview layout. aaaand I think we are done 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
« no previous file with comments | « ui/views/examples/scroll_view_example.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/views/examples/scroll_view_example.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698