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" | |
22 #include "ui/gfx/geometry/scroll_offset.h" | 21 #include "ui/gfx/geometry/scroll_offset.h" |
23 #include "ui/gfx/geometry/size_f.h" | 22 #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 2824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2858 testing::ElementsAre(base::Bucket(1, 1), base::Bucket(3, 1), | 2858 testing::ElementsAre(base::Bucket(1, 1), base::Bucket(3, 1), |
2859 base::Bucket(5, 1), base::Bucket(14, 1))); | 2859 base::Bucket(5, 1), base::Bucket(14, 1))); |
2860 } | 2860 } |
2861 | 2861 |
2862 | 2862 |
2863 INSTANTIATE_TEST_CASE_P(AnimateInput, | 2863 INSTANTIATE_TEST_CASE_P(AnimateInput, |
2864 InputHandlerProxyTest, | 2864 InputHandlerProxyTest, |
2865 testing::ValuesIn(test_types)); | 2865 testing::ValuesIn(test_types)); |
2866 } // namespace test | 2866 } // namespace test |
2867 } // namespace ui | 2867 } // namespace ui |
OLD | NEW |