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