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

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

Issue 2639273002: Give WebTouchEvent and WebKeyboardEvent their own headers (Closed)
Patch Set: Rebase Created 3 years, 11 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/blink/web_input_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/bind.h" 9 #include "base/bind.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/test/histogram_tester.h" 12 #include "base/test/histogram_tester.h"
13 #include "base/test/scoped_feature_list.h" 13 #include "base/test/scoped_feature_list.h"
14 #include "base/test/simple_test_tick_clock.h" 14 #include "base/test/simple_test_tick_clock.h"
15 #include "cc/input/main_thread_scrolling_reason.h" 15 #include "cc/input/main_thread_scrolling_reason.h"
16 #include "cc/trees/swap_promise_monitor.h" 16 #include "cc/trees/swap_promise_monitor.h"
17 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 #include "third_party/WebKit/public/platform/WebFloatPoint.h" 19 #include "third_party/WebKit/public/platform/WebFloatPoint.h"
20 #include "third_party/WebKit/public/platform/WebFloatSize.h" 20 #include "third_party/WebKit/public/platform/WebFloatSize.h"
21 #include "third_party/WebKit/public/platform/WebGestureCurve.h" 21 #include "third_party/WebKit/public/platform/WebGestureCurve.h"
22 #include "third_party/WebKit/public/platform/WebInputEvent.h" 22 #include "third_party/WebKit/public/platform/WebInputEvent.h"
23 #include "third_party/WebKit/public/platform/WebKeyboardEvent.h"
23 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h" 24 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h"
24 #include "third_party/WebKit/public/platform/WebPoint.h" 25 #include "third_party/WebKit/public/platform/WebPoint.h"
26 #include "third_party/WebKit/public/platform/WebTouchEvent.h"
25 #include "ui/events/blink/blink_event_util.h" 27 #include "ui/events/blink/blink_event_util.h"
26 #include "ui/events/blink/compositor_thread_event_queue.h" 28 #include "ui/events/blink/compositor_thread_event_queue.h"
27 #include "ui/events/blink/did_overscroll_params.h" 29 #include "ui/events/blink/did_overscroll_params.h"
28 #include "ui/events/blink/event_with_callback.h" 30 #include "ui/events/blink/event_with_callback.h"
29 #include "ui/events/blink/input_handler_proxy_client.h" 31 #include "ui/events/blink/input_handler_proxy_client.h"
30 #include "ui/events/blink/web_input_event_traits.h" 32 #include "ui/events/blink/web_input_event_traits.h"
31 #include "ui/events/latency_info.h" 33 #include "ui/events/latency_info.h"
32 #include "ui/gfx/geometry/scroll_offset.h" 34 #include "ui/gfx/geometry/scroll_offset.h"
33 #include "ui/gfx/geometry/size_f.h" 35 #include "ui/gfx/geometry/size_f.h"
34 36
(...skipping 3203 matching lines...) Expand 10 before | Expand all | Expand 10 after
3238 EXPECT_EQ(WebInputEvent::GesturePinchEnd, event_queue()[6]->event().type()); 3240 EXPECT_EQ(WebInputEvent::GesturePinchEnd, event_queue()[6]->event().type());
3239 testing::Mock::VerifyAndClearExpectations(&mock_input_handler_); 3241 testing::Mock::VerifyAndClearExpectations(&mock_input_handler_);
3240 } 3242 }
3241 3243
3242 INSTANTIATE_TEST_CASE_P(AnimateInput, 3244 INSTANTIATE_TEST_CASE_P(AnimateInput,
3243 InputHandlerProxyTest, 3245 InputHandlerProxyTest,
3244 testing::ValuesIn(test_types)); 3246 testing::ValuesIn(test_types));
3245 3247
3246 } // namespace test 3248 } // namespace test
3247 } // namespace ui 3249 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/blink/input_handler_proxy.cc ('k') | ui/events/blink/web_input_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698