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

Side by Side Diff: content/renderer/input/render_widget_input_handler.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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/renderer/input/render_widget_input_handler.h" 5 #include "content/renderer/input/render_widget_input_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 12 matching lines...) Expand all
23 #include "content/renderer/render_thread_impl.h" 23 #include "content/renderer/render_thread_impl.h"
24 #include "content/renderer/render_widget.h" 24 #include "content/renderer/render_widget.h"
25 #include "third_party/WebKit/public/platform/WebFloatPoint.h" 25 #include "third_party/WebKit/public/platform/WebFloatPoint.h"
26 #include "third_party/WebKit/public/platform/WebFloatSize.h" 26 #include "third_party/WebKit/public/platform/WebFloatSize.h"
27 #include "third_party/WebKit/public/platform/WebGestureEvent.h" 27 #include "third_party/WebKit/public/platform/WebGestureEvent.h"
28 #include "third_party/WebKit/public/platform/WebKeyboardEvent.h" 28 #include "third_party/WebKit/public/platform/WebKeyboardEvent.h"
29 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h" 29 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h"
30 #include "third_party/WebKit/public/platform/WebTouchEvent.h" 30 #include "third_party/WebKit/public/platform/WebTouchEvent.h"
31 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h" 31 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h"
32 #include "ui/events/blink/web_input_event_traits.h" 32 #include "ui/events/blink/web_input_event_traits.h"
33 #include "ui/events/latency_info.h"
34 #include "ui/gfx/geometry/point_conversions.h" 33 #include "ui/gfx/geometry/point_conversions.h"
34 #include "ui/latency/latency_info.h"
35 35
36 #if defined(OS_ANDROID) 36 #if defined(OS_ANDROID)
37 #include <android/keycodes.h> 37 #include <android/keycodes.h>
38 #endif 38 #endif
39 39
40 using blink::WebFloatPoint; 40 using blink::WebFloatPoint;
41 using blink::WebFloatSize; 41 using blink::WebFloatSize;
42 using blink::WebGestureEvent; 42 using blink::WebGestureEvent;
43 using blink::WebInputEvent; 43 using blink::WebInputEvent;
44 using blink::WebInputEventResult; 44 using blink::WebInputEventResult;
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 // it can be bundled in the event ack. 465 // it can be bundled in the event ack.
466 if (handling_event_overscroll_) { 466 if (handling_event_overscroll_) {
467 *handling_event_overscroll_ = std::move(params); 467 *handling_event_overscroll_ = std::move(params);
468 return; 468 return;
469 } 469 }
470 470
471 delegate_->OnDidOverscroll(*params); 471 delegate_->OnDidOverscroll(*params);
472 } 472 }
473 473
474 } // namespace content 474 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/input/main_thread_event_queue.h ('k') | content/renderer/input/scoped_web_input_event_with_latency_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698