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

Side by Side Diff: ui/events/blink/input_handler_proxy_unittest.cc

Issue 2907053004: GSB uses delta_hints to calculate scrolling chain. (Closed)
Patch Set: Merge branch 'master' into GSB_checks_delta_hints Created 3 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 unified diff | Download patch
« no previous file with comments | « ui/events/blink/input_handler_proxy.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/events/blink/input_handler_proxy.h" 5 #include "ui/events/blink/input_handler_proxy.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 MOCK_METHOD0(PinchGestureEnd, void()); 166 MOCK_METHOD0(PinchGestureEnd, void());
167 167
168 MOCK_METHOD0(SetNeedsAnimateInput, void()); 168 MOCK_METHOD0(SetNeedsAnimateInput, void());
169 169
170 MOCK_METHOD2(ScrollBegin, 170 MOCK_METHOD2(ScrollBegin,
171 ScrollStatus(cc::ScrollState*, 171 ScrollStatus(cc::ScrollState*,
172 cc::InputHandler::ScrollInputType type)); 172 cc::InputHandler::ScrollInputType type));
173 MOCK_METHOD2(RootScrollBegin, 173 MOCK_METHOD2(RootScrollBegin,
174 ScrollStatus(cc::ScrollState*, 174 ScrollStatus(cc::ScrollState*,
175 cc::InputHandler::ScrollInputType type)); 175 cc::InputHandler::ScrollInputType type));
176 MOCK_METHOD1(ScrollAnimatedBegin, 176 MOCK_METHOD1(ScrollAnimatedBegin, ScrollStatus(cc::ScrollState*));
177 ScrollStatus(const gfx::Point& viewport_point));
178 MOCK_METHOD3(ScrollAnimated, 177 MOCK_METHOD3(ScrollAnimated,
179 ScrollStatus(const gfx::Point& viewport_point, 178 ScrollStatus(const gfx::Point& viewport_point,
180 const gfx::Vector2dF& scroll_delta, 179 const gfx::Vector2dF& scroll_delta,
181 base::TimeDelta)); 180 base::TimeDelta));
182 MOCK_METHOD1(ScrollBy, cc::InputHandlerScrollResult(cc::ScrollState*)); 181 MOCK_METHOD1(ScrollBy, cc::InputHandlerScrollResult(cc::ScrollState*));
183 MOCK_METHOD1(ScrollEnd, void(cc::ScrollState*)); 182 MOCK_METHOD1(ScrollEnd, void(cc::ScrollState*));
184 MOCK_METHOD0(FlingScrollBegin, cc::InputHandler::ScrollStatus()); 183 MOCK_METHOD0(FlingScrollBegin, cc::InputHandler::ScrollStatus());
185 MOCK_METHOD0(ScrollingShouldSwitchtoMainThread, bool()); 184 MOCK_METHOD0(ScrollingShouldSwitchtoMainThread, bool());
186 185
187 std::unique_ptr<cc::SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor( 186 std::unique_ptr<cc::SwapPromiseMonitor> CreateLatencyInfoSwapPromiseMonitor(
(...skipping 3724 matching lines...) Expand 10 before | Expand all | Expand 10 after
3912 INSTANTIATE_TEST_CASE_P(AnimateInput, 3911 INSTANTIATE_TEST_CASE_P(AnimateInput,
3913 InputHandlerProxyWithoutWheelScrollLatchingTest, 3912 InputHandlerProxyWithoutWheelScrollLatchingTest,
3914 testing::ValuesIn(test_types)); 3913 testing::ValuesIn(test_types));
3915 3914
3916 INSTANTIATE_TEST_CASE_P(InputHandlerProxyEventQueueTests, 3915 INSTANTIATE_TEST_CASE_P(InputHandlerProxyEventQueueTests,
3917 InputHandlerProxyEventQueueTest, 3916 InputHandlerProxyEventQueueTest,
3918 testing::Bool()); 3917 testing::Bool());
3919 3918
3920 } // namespace test 3919 } // namespace test
3921 } // namespace ui 3920 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/blink/input_handler_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698