Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: ui/events/blink/input_handler_proxy_unittest.cc

Issue 1883763002: Revert of Move LatencyInfo to ui/latency_info (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/events/blink/input_handler_proxy.cc ('k') | ui/events/event.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ui/events/blink/input_handler_proxy.cc ('k') | ui/events/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698