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

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

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/mouse_wheel_event_queue.h" 5 #include "content/browser/renderer_host/input/mouse_wheel_event_queue.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
15 #include "base/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
16 #include "content/browser/renderer_host/input/timeout_monitor.h" 16 #include "content/browser/renderer_host/input/timeout_monitor.h"
17 #include "content/common/input/synthetic_web_input_event_builders.h" 17 #include "content/common/input/synthetic_web_input_event_builders.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 #include "third_party/WebKit/public/web/WebInputEvent.h" 19 #include "third_party/WebKit/public/web/WebInputEvent.h"
20 20
21 using blink::WebGestureEvent; 21 using blink::WebGestureEvent;
22 using blink::WebInputEvent; 22 using blink::WebInputEvent;
23 using blink::WebMouseWheelEvent; 23 using blink::WebMouseWheelEvent;
24 24
25 namespace content { 25 namespace content {
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 EXPECT_EQ(1U, GetAndResetAckedEventCount()); 539 EXPECT_EQ(1U, GetAndResetAckedEventCount());
540 EXPECT_EQ(2U, all_sent_events().size()); 540 EXPECT_EQ(2U, all_sent_events().size());
541 EXPECT_GESTURE_SCROLL_BEGIN(sent_gesture_event(0)); 541 EXPECT_GESTURE_SCROLL_BEGIN(sent_gesture_event(0));
542 EXPECT_GESTURE_SCROLL_UPDATE(sent_gesture_event(1)); 542 EXPECT_GESTURE_SCROLL_UPDATE(sent_gesture_event(1));
543 EXPECT_EQ(0U, sent_gesture_event(1)->data.scrollUpdate.deltaX); 543 EXPECT_EQ(0U, sent_gesture_event(1)->data.scrollUpdate.deltaX);
544 EXPECT_EQ(1U, sent_gesture_event(1)->data.scrollUpdate.deltaY); 544 EXPECT_EQ(1U, sent_gesture_event(1)->data.scrollUpdate.deltaY);
545 EXPECT_EQ(2U, GetAndResetSentEventCount()); 545 EXPECT_EQ(2U, GetAndResetSentEventCount());
546 } 546 }
547 547
548 } // namespace content 548 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698