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

Unified Diff: ui/events/blink/input_handler_proxy_unittest.cc

Issue 2188133002: Scroll with Layers in views::ScrollView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20160728-MacViews-ScrollTrack
Patch Set: bugref, scale_delta DCHECK + comment Created 4 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
« no previous file with comments | « ui/compositor/layer.cc ('k') | ui/views/controls/scroll_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/input_handler_proxy_unittest.cc
diff --git a/ui/events/blink/input_handler_proxy_unittest.cc b/ui/events/blink/input_handler_proxy_unittest.cc
index fbb5dddeba5a2f985936e50865c8870545ac2d72..e3057a4273645c2a8bc3c9485466936bfb014b61 100644
--- a/ui/events/blink/input_handler_proxy_unittest.cc
+++ b/ui/events/blink/input_handler_proxy_unittest.cc
@@ -126,6 +126,13 @@ class MockInputHandler : public cc::InputHandler {
cc::ScrollElasticityHelper* CreateScrollElasticityHelper() override {
return NULL;
}
+ bool GetScrollOffsetForLayer(int layer_id,
+ gfx::ScrollOffset* offset) override {
+ return false;
+ }
+ bool ScrollLayerTo(int layer_id, const gfx::ScrollOffset& offset) override {
+ return false;
+ }
void BindToClient(cc::InputHandlerClient* client) override {}
« no previous file with comments | « ui/compositor/layer.cc ('k') | ui/views/controls/scroll_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698