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

Unified Diff: ui/compositor/layer.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/compositor/compositor.gyp ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index 95c72a06dd0261365d4e5cac9aea96ad3fdaef4d..83f552f8b10df90b0ffcdbfb3c70a3a34feb2812 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -384,6 +384,12 @@ class COMPOSITOR_EXPORT Layer
return damaged_region_;
}
+ gfx::ScrollOffset CurrentScrollOffset() const;
+ void SetScrollOffset(const gfx::ScrollOffset& offset);
+ void SetScrollable(Layer* parent_clip_layer,
+ bool can_overscroll,
+ const base::Closure& on_scroll);
+
private:
friend class LayerOwner;
« no previous file with comments | « ui/compositor/compositor.gyp ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698