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

Side by Side Diff: ui/events/blink/input_handler_proxy.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
« no previous file with comments | « ui/events/blink/input_handler_proxy.h ('k') | ui/events/blink/input_handler_proxy_unittest.cc » ('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 <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "base/auto_reset.h" 11 #include "base/auto_reset.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/memory/ptr_util.h" 15 #include "base/memory/ptr_util.h"
16 #include "base/metrics/histogram_macros.h" 16 #include "base/metrics/histogram_macros.h"
17 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
18 #include "base/threading/thread_task_runner_handle.h" 18 #include "base/threading/thread_task_runner_handle.h"
19 #include "base/time/default_tick_clock.h" 19 #include "base/time/default_tick_clock.h"
20 #include "base/trace_event/trace_event.h" 20 #include "base/trace_event/trace_event.h"
21 #include "cc/input/main_thread_scrolling_reason.h" 21 #include "cc/input/main_thread_scrolling_reason.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 "ui/events/blink/blink_event_util.h" 24 #include "ui/events/blink/blink_event_util.h"
24 #include "ui/events/blink/compositor_thread_event_queue.h" 25 #include "ui/events/blink/compositor_thread_event_queue.h"
25 #include "ui/events/blink/did_overscroll_params.h" 26 #include "ui/events/blink/did_overscroll_params.h"
26 #include "ui/events/blink/event_with_callback.h" 27 #include "ui/events/blink/event_with_callback.h"
27 #include "ui/events/blink/input_handler_proxy_client.h" 28 #include "ui/events/blink/input_handler_proxy_client.h"
28 #include "ui/events/blink/input_scroll_elasticity_controller.h" 29 #include "ui/events/blink/input_scroll_elasticity_controller.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/point_conversions.h" 32 #include "ui/gfx/geometry/point_conversions.h"
32 33
(...skipping 1506 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 scroll_elasticity_controller_->GetWeakPtr(), gesture_event, 1540 scroll_elasticity_controller_->GetWeakPtr(), gesture_event,
1540 scroll_result)); 1541 scroll_result));
1541 } 1542 }
1542 1543
1543 void InputHandlerProxy::SetTickClockForTesting( 1544 void InputHandlerProxy::SetTickClockForTesting(
1544 std::unique_ptr<base::TickClock> tick_clock) { 1545 std::unique_ptr<base::TickClock> tick_clock) {
1545 tick_clock_ = std::move(tick_clock); 1546 tick_clock_ = std::move(tick_clock);
1546 } 1547 }
1547 1548
1548 } // namespace ui 1549 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/blink/input_handler_proxy.h ('k') | ui/events/blink/input_handler_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698