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

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

Issue 2581943003: Move WebMouseWheelEvent into its own header file. (Closed)
Patch Set: Fix mac unittest Created 4 years 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
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/WebMouseWheelEvent.h"
23 #include "third_party/WebKit/public/platform/WebPoint.h" 24 #include "third_party/WebKit/public/platform/WebPoint.h"
24 #include "ui/events/blink/blink_event_util.h" 25 #include "ui/events/blink/blink_event_util.h"
25 #include "ui/events/blink/compositor_thread_event_queue.h" 26 #include "ui/events/blink/compositor_thread_event_queue.h"
26 #include "ui/events/blink/did_overscroll_params.h" 27 #include "ui/events/blink/did_overscroll_params.h"
27 #include "ui/events/blink/event_with_callback.h" 28 #include "ui/events/blink/event_with_callback.h"
28 #include "ui/events/blink/input_handler_proxy_client.h" 29 #include "ui/events/blink/input_handler_proxy_client.h"
29 #include "ui/events/blink/web_input_event_traits.h" 30 #include "ui/events/blink/web_input_event_traits.h"
30 #include "ui/events/latency_info.h" 31 #include "ui/events/latency_info.h"
31 #include "ui/gfx/geometry/scroll_offset.h" 32 #include "ui/gfx/geometry/scroll_offset.h"
32 #include "ui/gfx/geometry/size_f.h" 33 #include "ui/gfx/geometry/size_f.h"
(...skipping 3102 matching lines...) Expand 10 before | Expand all | Expand 10 after
3135 EXPECT_EQ(WebInputEvent::GesturePinchEnd, event_queue()[6]->event().type); 3136 EXPECT_EQ(WebInputEvent::GesturePinchEnd, event_queue()[6]->event().type);
3136 testing::Mock::VerifyAndClearExpectations(&mock_input_handler_); 3137 testing::Mock::VerifyAndClearExpectations(&mock_input_handler_);
3137 } 3138 }
3138 3139
3139 INSTANTIATE_TEST_CASE_P(AnimateInput, 3140 INSTANTIATE_TEST_CASE_P(AnimateInput,
3140 InputHandlerProxyTest, 3141 InputHandlerProxyTest,
3141 testing::ValuesIn(test_types)); 3142 testing::ValuesIn(test_types));
3142 3143
3143 } // namespace test 3144 } // namespace test
3144 } // namespace ui 3145 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/blink/input_handler_proxy.cc ('k') | ui/events/blink/input_scroll_elasticity_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698