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

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

Issue 2234023002: Refactor WebInputEventAura to ui/events/blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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/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/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/threading/thread_task_runner_handle.h" 17 #include "base/threading/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/platform/WebInputEvent.h"
21 #include "ui/events/blink/did_overscroll_params.h" 21 #include "ui/events/blink/did_overscroll_params.h"
22 #include "ui/events/blink/input_handler_proxy_client.h" 22 #include "ui/events/blink/input_handler_proxy_client.h"
23 #include "ui/events/blink/input_scroll_elasticity_controller.h" 23 #include "ui/events/blink/input_scroll_elasticity_controller.h"
24 #include "ui/events/latency_info.h" 24 #include "ui/events/latency_info.h"
25 #include "ui/gfx/geometry/point_conversions.h" 25 #include "ui/gfx/geometry/point_conversions.h"
26 26
27 using blink::WebFloatPoint; 27 using blink::WebFloatPoint;
28 using blink::WebFloatSize; 28 using blink::WebFloatSize;
29 using blink::WebGestureEvent; 29 using blink::WebGestureEvent;
30 using blink::WebInputEvent; 30 using blink::WebInputEvent;
(...skipping 1310 matching lines...) Expand 10 before | Expand all | Expand 10 after
1341 // is made asynchronously, to minimize divergence between main thread and 1341 // is made asynchronously, to minimize divergence between main thread and
1342 // impl thread event handling paths. 1342 // impl thread event handling paths.
1343 base::ThreadTaskRunnerHandle::Get()->PostTask( 1343 base::ThreadTaskRunnerHandle::Get()->PostTask(
1344 FROM_HERE, 1344 FROM_HERE,
1345 base::Bind(&InputScrollElasticityController::ObserveGestureEventAndResult, 1345 base::Bind(&InputScrollElasticityController::ObserveGestureEventAndResult,
1346 scroll_elasticity_controller_->GetWeakPtr(), gesture_event, 1346 scroll_elasticity_controller_->GetWeakPtr(), gesture_event,
1347 scroll_result)); 1347 scroll_result));
1348 } 1348 }
1349 1349
1350 } // namespace ui 1350 } // 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