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

Side by Side Diff: content/browser/renderer_host/input/input_router_impl_unittest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 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
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 "content/browser/renderer_host/input/input_router_impl.h" 5 #include "content/browser/renderer_host/input/input_router_impl.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <memory> 11 #include <memory>
12 #include <tuple> 12 #include <tuple>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/command_line.h" 15 #include "base/command_line.h"
16 #include "base/location.h" 16 #include "base/location.h"
17 #include "base/macros.h" 17 #include "base/macros.h"
18 #include "base/memory/ptr_util.h" 18 #include "base/memory/ptr_util.h"
19 #include "base/message_loop/message_loop.h"
19 #include "base/run_loop.h" 20 #include "base/run_loop.h"
20 #include "base/single_thread_task_runner.h" 21 #include "base/single_thread_task_runner.h"
21 #include "base/strings/utf_string_conversions.h" 22 #include "base/strings/utf_string_conversions.h"
22 #include "base/test/scoped_feature_list.h" 23 #include "base/test/scoped_feature_list.h"
23 #include "base/test/scoped_task_environment.h" 24 #include "base/test/scoped_task_environment.h"
24 #include "base/threading/thread_task_runner_handle.h" 25 #include "base/threading/thread_task_runner_handle.h"
25 #include "build/build_config.h" 26 #include "build/build_config.h"
26 #include "cc/input/touch_action.h" 27 #include "cc/input/touch_action.h"
27 #include "content/browser/renderer_host/input/gesture_event_queue.h" 28 #include "content/browser/renderer_host/input/gesture_event_queue.h"
28 #include "content/browser/renderer_host/input/input_router_client.h" 29 #include "content/browser/renderer_host/input/input_router_client.h"
(...skipping 2471 matching lines...) Expand 10 before | Expand all | Expand 10 after
2500 EXPECT_EQ(80, sent_event->data.fling_start.velocity_y); 2501 EXPECT_EQ(80, sent_event->data.fling_start.velocity_y);
2501 2502
2502 const WebGestureEvent* filter_event = 2503 const WebGestureEvent* filter_event =
2503 GetFilterWebInputEvent<WebGestureEvent>(); 2504 GetFilterWebInputEvent<WebGestureEvent>();
2504 TestLocationInFilterEvent(filter_event, orig); 2505 TestLocationInFilterEvent(filter_event, orig);
2505 EXPECT_EQ(30, filter_event->data.fling_start.velocity_x); 2506 EXPECT_EQ(30, filter_event->data.fling_start.velocity_x);
2506 EXPECT_EQ(40, filter_event->data.fling_start.velocity_y); 2507 EXPECT_EQ(40, filter_event->data.fling_start.velocity_y);
2507 } 2508 }
2508 2509
2509 } // namespace content 2510 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698