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/macros.h" | 9 #include "base/macros.h" |
10 #include "base/test/histogram_tester.h" | 10 #include "base/test/histogram_tester.h" |
11 #include "cc/input/main_thread_scrolling_reason.h" | 11 #include "cc/input/main_thread_scrolling_reason.h" |
12 #include "cc/trees/swap_promise_monitor.h" | 12 #include "cc/trees/swap_promise_monitor.h" |
13 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 15 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
16 #include "third_party/WebKit/public/platform/WebFloatSize.h" | 16 #include "third_party/WebKit/public/platform/WebFloatSize.h" |
17 #include "third_party/WebKit/public/platform/WebGestureCurve.h" | 17 #include "third_party/WebKit/public/platform/WebGestureCurve.h" |
18 #include "third_party/WebKit/public/platform/WebPoint.h" | 18 #include "third_party/WebKit/public/platform/WebPoint.h" |
19 #include "third_party/WebKit/public/web/WebInputEvent.h" | 19 #include "third_party/WebKit/public/web/WebInputEvent.h" |
20 #include "ui/events/blink/input_handler_proxy_client.h" | 20 #include "ui/events/blink/input_handler_proxy_client.h" |
| 21 #include "ui/events/latency_info.h" |
21 #include "ui/gfx/geometry/scroll_offset.h" | 22 #include "ui/gfx/geometry/scroll_offset.h" |
22 #include "ui/gfx/geometry/size_f.h" | 23 #include "ui/gfx/geometry/size_f.h" |
23 #include "ui/latency_info/latency_info.h" | |
24 | 24 |
25 using blink::WebActiveWheelFlingParameters; | 25 using blink::WebActiveWheelFlingParameters; |
26 using blink::WebFloatPoint; | 26 using blink::WebFloatPoint; |
27 using blink::WebFloatSize; | 27 using blink::WebFloatSize; |
28 using blink::WebGestureDevice; | 28 using blink::WebGestureDevice; |
29 using blink::WebGestureEvent; | 29 using blink::WebGestureEvent; |
30 using blink::WebInputEvent; | 30 using blink::WebInputEvent; |
31 using blink::WebKeyboardEvent; | 31 using blink::WebKeyboardEvent; |
32 using blink::WebMouseWheelEvent; | 32 using blink::WebMouseWheelEvent; |
33 using blink::WebPoint; | 33 using blink::WebPoint; |
(...skipping 2786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2820 testing::ElementsAre(base::Bucket(1, 1), base::Bucket(3, 1), | 2820 testing::ElementsAre(base::Bucket(1, 1), base::Bucket(3, 1), |
2821 base::Bucket(5, 1), base::Bucket(14, 1))); | 2821 base::Bucket(5, 1), base::Bucket(14, 1))); |
2822 } | 2822 } |
2823 | 2823 |
2824 | 2824 |
2825 INSTANTIATE_TEST_CASE_P(AnimateInput, | 2825 INSTANTIATE_TEST_CASE_P(AnimateInput, |
2826 InputHandlerProxyTest, | 2826 InputHandlerProxyTest, |
2827 testing::ValuesIn(test_types)); | 2827 testing::ValuesIn(test_types)); |
2828 } // namespace test | 2828 } // namespace test |
2829 } // namespace ui | 2829 } // namespace ui |
OLD | NEW |