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

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

Issue 1871233002: Move LatencyInfo to ui/latency_info (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix some more gyp issues 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
« no previous file with comments | « ui/events/blink/events_blink.gyp ('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/metrics/histogram.h" 15 #include "base/metrics/histogram.h"
16 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
17 #include "base/thread_task_runner_handle.h" 17 #include "base/thread_task_runner_handle.h"
18 #include "base/trace_event/trace_event.h" 18 #include "base/trace_event/trace_event.h"
19 #include "cc/input/main_thread_scrolling_reason.h" 19 #include "cc/input/main_thread_scrolling_reason.h"
20 #include "third_party/WebKit/public/web/WebInputEvent.h" 20 #include "third_party/WebKit/public/web/WebInputEvent.h"
21 #include "ui/events/blink/input_handler_proxy_client.h" 21 #include "ui/events/blink/input_handler_proxy_client.h"
22 #include "ui/events/blink/input_scroll_elasticity_controller.h" 22 #include "ui/events/blink/input_scroll_elasticity_controller.h"
23 #include "ui/events/latency_info.h"
24 #include "ui/gfx/geometry/point_conversions.h" 23 #include "ui/gfx/geometry/point_conversions.h"
24 #include "ui/latency_info/latency_info.h"
25 25
26 using blink::WebFloatPoint; 26 using blink::WebFloatPoint;
27 using blink::WebFloatSize; 27 using blink::WebFloatSize;
28 using blink::WebGestureEvent; 28 using blink::WebGestureEvent;
29 using blink::WebInputEvent; 29 using blink::WebInputEvent;
30 using blink::WebMouseEvent; 30 using blink::WebMouseEvent;
31 using blink::WebMouseWheelEvent; 31 using blink::WebMouseWheelEvent;
32 using blink::WebPoint; 32 using blink::WebPoint;
33 using blink::WebTouchEvent; 33 using blink::WebTouchEvent;
34 using blink::WebTouchPoint; 34 using blink::WebTouchPoint;
(...skipping 1321 matching lines...) Expand 10 before | Expand all | Expand 10 after
1356 // is made asynchronously, to minimize divergence between main thread and 1356 // is made asynchronously, to minimize divergence between main thread and
1357 // impl thread event handling paths. 1357 // impl thread event handling paths.
1358 base::ThreadTaskRunnerHandle::Get()->PostTask( 1358 base::ThreadTaskRunnerHandle::Get()->PostTask(
1359 FROM_HERE, 1359 FROM_HERE,
1360 base::Bind(&InputScrollElasticityController::ObserveGestureEventAndResult, 1360 base::Bind(&InputScrollElasticityController::ObserveGestureEventAndResult,
1361 scroll_elasticity_controller_->GetWeakPtr(), gesture_event, 1361 scroll_elasticity_controller_->GetWeakPtr(), gesture_event,
1362 scroll_result)); 1362 scroll_result));
1363 } 1363 }
1364 1364
1365 } // namespace ui 1365 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/blink/events_blink.gyp ('k') | ui/events/blink/input_handler_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698