| 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 16 matching lines...) Expand all Loading... |
| 27 #include "third_party/WebKit/public/platform/WebKeyboardEvent.h" | 27 #include "third_party/WebKit/public/platform/WebKeyboardEvent.h" |
| 28 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h" | 28 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h" |
| 29 #include "third_party/WebKit/public/platform/WebPoint.h" | 29 #include "third_party/WebKit/public/platform/WebPoint.h" |
| 30 #include "third_party/WebKit/public/platform/WebTouchEvent.h" | 30 #include "third_party/WebKit/public/platform/WebTouchEvent.h" |
| 31 #include "ui/events/blink/blink_event_util.h" | 31 #include "ui/events/blink/blink_event_util.h" |
| 32 #include "ui/events/blink/compositor_thread_event_queue.h" | 32 #include "ui/events/blink/compositor_thread_event_queue.h" |
| 33 #include "ui/events/blink/did_overscroll_params.h" | 33 #include "ui/events/blink/did_overscroll_params.h" |
| 34 #include "ui/events/blink/event_with_callback.h" | 34 #include "ui/events/blink/event_with_callback.h" |
| 35 #include "ui/events/blink/input_handler_proxy_client.h" | 35 #include "ui/events/blink/input_handler_proxy_client.h" |
| 36 #include "ui/events/blink/web_input_event_traits.h" | 36 #include "ui/events/blink/web_input_event_traits.h" |
| 37 #include "ui/events/latency_info.h" | |
| 38 #include "ui/gfx/geometry/scroll_offset.h" | 37 #include "ui/gfx/geometry/scroll_offset.h" |
| 39 #include "ui/gfx/geometry/size_f.h" | 38 #include "ui/gfx/geometry/size_f.h" |
| 39 #include "ui/latency/latency_info.h" |
| 40 | 40 |
| 41 using blink::WebActiveWheelFlingParameters; | 41 using blink::WebActiveWheelFlingParameters; |
| 42 using blink::WebFloatPoint; | 42 using blink::WebFloatPoint; |
| 43 using blink::WebFloatSize; | 43 using blink::WebFloatSize; |
| 44 using blink::WebGestureDevice; | 44 using blink::WebGestureDevice; |
| 45 using blink::WebGestureEvent; | 45 using blink::WebGestureEvent; |
| 46 using blink::WebInputEvent; | 46 using blink::WebInputEvent; |
| 47 using blink::WebKeyboardEvent; | 47 using blink::WebKeyboardEvent; |
| 48 using blink::WebMouseWheelEvent; | 48 using blink::WebMouseWheelEvent; |
| 49 using blink::WebPoint; | 49 using blink::WebPoint; |
| (...skipping 3569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3619 HandleGestureEvent(WebInputEvent::GestureScrollBegin); | 3619 HandleGestureEvent(WebInputEvent::GestureScrollBegin); |
| 3620 EXPECT_EQ(0ul, event_queue().size()); | 3620 EXPECT_EQ(0ul, event_queue().size()); |
| 3621 } | 3621 } |
| 3622 | 3622 |
| 3623 INSTANTIATE_TEST_CASE_P(AnimateInput, | 3623 INSTANTIATE_TEST_CASE_P(AnimateInput, |
| 3624 InputHandlerProxyTest, | 3624 InputHandlerProxyTest, |
| 3625 testing::ValuesIn(test_types)); | 3625 testing::ValuesIn(test_types)); |
| 3626 | 3626 |
| 3627 } // namespace test | 3627 } // namespace test |
| 3628 } // namespace ui | 3628 } // namespace ui |
| OLD | NEW |