| 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/WebInputEvent.h" |
| 18 #include "third_party/WebKit/public/platform/WebPoint.h" | 19 #include "third_party/WebKit/public/platform/WebPoint.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/events/latency_info.h" |
| 22 #include "ui/gfx/geometry/scroll_offset.h" | 22 #include "ui/gfx/geometry/scroll_offset.h" |
| 23 #include "ui/gfx/geometry/size_f.h" | 23 #include "ui/gfx/geometry/size_f.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; |
| (...skipping 2757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2787 testing::ElementsAre(base::Bucket(1, 1), base::Bucket(3, 1), | 2787 testing::ElementsAre(base::Bucket(1, 1), base::Bucket(3, 1), |
| 2788 base::Bucket(5, 1), base::Bucket(14, 1))); | 2788 base::Bucket(5, 1), base::Bucket(14, 1))); |
| 2789 } | 2789 } |
| 2790 | 2790 |
| 2791 | 2791 |
| 2792 INSTANTIATE_TEST_CASE_P(AnimateInput, | 2792 INSTANTIATE_TEST_CASE_P(AnimateInput, |
| 2793 InputHandlerProxyTest, | 2793 InputHandlerProxyTest, |
| 2794 testing::ValuesIn(test_types)); | 2794 testing::ValuesIn(test_types)); |
| 2795 } // namespace test | 2795 } // namespace test |
| 2796 } // namespace ui | 2796 } // namespace ui |
| OLD | NEW |