| OLD | NEW |
| 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 return false; | 200 return false; |
| 201 } | 201 } |
| 202 | 202 |
| 203 void BindToClient(cc::InputHandlerClient* client, | 203 void BindToClient(cc::InputHandlerClient* client, |
| 204 bool touchpad_and_wheel_scroll_latching_enabled) override {} | 204 bool touchpad_and_wheel_scroll_latching_enabled) override {} |
| 205 | 205 |
| 206 void MouseDown() override {} | 206 void MouseDown() override {} |
| 207 void MouseUp() override {} | 207 void MouseUp() override {} |
| 208 void MouseLeave() override {} | 208 void MouseLeave() override {} |
| 209 | 209 |
| 210 void MouseMoveAt(const gfx::Point& mouse_position) override {} | 210 void MouseMoveAt(const gfx::Point& mouse_position, |
| 211 bool is_mouse_down) override {} |
| 211 | 212 |
| 212 MOCK_CONST_METHOD2(IsCurrentlyScrollingLayerAt, | 213 MOCK_CONST_METHOD2(IsCurrentlyScrollingLayerAt, |
| 213 bool(const gfx::Point& point, | 214 bool(const gfx::Point& point, |
| 214 cc::InputHandler::ScrollInputType type)); | 215 cc::InputHandler::ScrollInputType type)); |
| 215 | 216 |
| 216 MOCK_CONST_METHOD1( | 217 MOCK_CONST_METHOD1( |
| 217 GetEventListenerProperties, | 218 GetEventListenerProperties, |
| 218 cc::EventListenerProperties(cc::EventListenerClass event_class)); | 219 cc::EventListenerProperties(cc::EventListenerClass event_class)); |
| 219 MOCK_METHOD1(EventListenerTypeForTouchStartOrMoveAt, | 220 MOCK_METHOD1(EventListenerTypeForTouchStartOrMoveAt, |
| 220 cc::InputHandler::TouchStartOrMoveEventListenerType( | 221 cc::InputHandler::TouchStartOrMoveEventListenerType( |
| (...skipping 3689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3910 INSTANTIATE_TEST_CASE_P(AnimateInput, | 3911 INSTANTIATE_TEST_CASE_P(AnimateInput, |
| 3911 InputHandlerProxyWithoutWheelScrollLatchingTest, | 3912 InputHandlerProxyWithoutWheelScrollLatchingTest, |
| 3912 testing::ValuesIn(test_types)); | 3913 testing::ValuesIn(test_types)); |
| 3913 | 3914 |
| 3914 INSTANTIATE_TEST_CASE_P(InputHandlerProxyEventQueueTests, | 3915 INSTANTIATE_TEST_CASE_P(InputHandlerProxyEventQueueTests, |
| 3915 InputHandlerProxyEventQueueTest, | 3916 InputHandlerProxyEventQueueTest, |
| 3916 testing::Bool()); | 3917 testing::Bool()); |
| 3917 | 3918 |
| 3918 } // namespace test | 3919 } // namespace test |
| 3919 } // namespace ui | 3920 } // namespace ui |
| OLD | NEW |