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

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

Issue 2783973002: Moving LatencyInfo into a separate component. (Closed)
Patch Set: Rebase again Created 3 years, 8 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/event_with_callback.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
(...skipping 11 matching lines...) Expand all
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/WebMouseWheelEvent.h"
24 #include "third_party/WebKit/public/platform/WebTouchEvent.h" 24 #include "third_party/WebKit/public/platform/WebTouchEvent.h"
25 #include "ui/events/blink/blink_event_util.h" 25 #include "ui/events/blink/blink_event_util.h"
26 #include "ui/events/blink/compositor_thread_event_queue.h" 26 #include "ui/events/blink/compositor_thread_event_queue.h"
27 #include "ui/events/blink/did_overscroll_params.h" 27 #include "ui/events/blink/did_overscroll_params.h"
28 #include "ui/events/blink/event_with_callback.h" 28 #include "ui/events/blink/event_with_callback.h"
29 #include "ui/events/blink/input_handler_proxy_client.h" 29 #include "ui/events/blink/input_handler_proxy_client.h"
30 #include "ui/events/blink/input_scroll_elasticity_controller.h" 30 #include "ui/events/blink/input_scroll_elasticity_controller.h"
31 #include "ui/events/blink/web_input_event_traits.h" 31 #include "ui/events/blink/web_input_event_traits.h"
32 #include "ui/events/latency_info.h"
33 #include "ui/gfx/geometry/point_conversions.h" 32 #include "ui/gfx/geometry/point_conversions.h"
33 #include "ui/latency/latency_info.h"
34 34
35 using blink::WebFloatPoint; 35 using blink::WebFloatPoint;
36 using blink::WebFloatSize; 36 using blink::WebFloatSize;
37 using blink::WebGestureEvent; 37 using blink::WebGestureEvent;
38 using blink::WebInputEvent; 38 using blink::WebInputEvent;
39 using blink::WebMouseEvent; 39 using blink::WebMouseEvent;
40 using blink::WebMouseWheelEvent; 40 using blink::WebMouseWheelEvent;
41 using blink::WebPoint; 41 using blink::WebPoint;
42 using blink::WebTouchEvent; 42 using blink::WebTouchEvent;
43 using blink::WebTouchPoint; 43 using blink::WebTouchPoint;
(...skipping 1590 matching lines...) Expand 10 before | Expand all | Expand 10 after
1634 scroll_elasticity_controller_->GetWeakPtr(), gesture_event, 1634 scroll_elasticity_controller_->GetWeakPtr(), gesture_event,
1635 scroll_result)); 1635 scroll_result));
1636 } 1636 }
1637 1637
1638 void InputHandlerProxy::SetTickClockForTesting( 1638 void InputHandlerProxy::SetTickClockForTesting(
1639 std::unique_ptr<base::TickClock> tick_clock) { 1639 std::unique_ptr<base::TickClock> tick_clock) {
1640 tick_clock_ = std::move(tick_clock); 1640 tick_clock_ = std::move(tick_clock);
1641 } 1641 }
1642 1642
1643 } // namespace ui 1643 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/blink/event_with_callback.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