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

Unified Diff: ui/compositor/layer.cc

Issue 2197503002: Route Scroll events through a cc::InputHandler Base URL: https://chromium.googlesource.com/chromium/src.git@20160728-MacViews-ScrollWheelAsScrollEvent
Patch Set: Abandon DeliverInputForBeginFrame: will not help fix the header row Created 4 years 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/layer.h ('k') | ui/compositor/overscroll/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.cc
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
index 03c6301c4903bcc8bb8f18f21d97f9955d1a215d..b74d4c43feb20c27ca33268f2a170643e11d6347 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -837,6 +837,10 @@ void Layer::SetScrollable(Layer* parent_clip_layer,
cc_layer_->SetUserScrollable(true, true);
}
+cc::ElementId Layer::GetElementId() const {
+ return cc_layer_->element_id();
+}
+
gfx::ScrollOffset Layer::CurrentScrollOffset() const {
const Compositor* compositor = GetCompositor();
gfx::ScrollOffset offset;
« no previous file with comments | « ui/compositor/layer.h ('k') | ui/compositor/overscroll/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698