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

Side by Side Diff: content/renderer/input/main_thread_event_queue.h

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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef CONTENT_RENDERER_INPUT_MAIN_THREAD_EVENT_QUEUE_H_ 5 #ifndef CONTENT_RENDERER_INPUT_MAIN_THREAD_EVENT_QUEUE_H_
6 #define CONTENT_RENDERER_INPUT_MAIN_THREAD_EVENT_QUEUE_H_ 6 #define CONTENT_RENDERER_INPUT_MAIN_THREAD_EVENT_QUEUE_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/common/input/event_with_latency_info.h" 10 #include "content/common/input/event_with_latency_info.h"
11 #include "content/common/input/input_event_ack_state.h" 11 #include "content/common/input/input_event_ack_state.h"
12 #include "content/common/input/input_event_dispatch_type.h" 12 #include "content/common/input/input_event_dispatch_type.h"
13 #include "content/common/input/web_input_event_queue.h" 13 #include "content/common/input/web_input_event_queue.h"
14 #include "third_party/WebKit/public/web/WebInputEvent.h" 14 #include "third_party/WebKit/public/web/WebInputEvent.h"
15 #include "ui/events/latency_info.h" 15 #include "ui/latency_info/latency_info.h"
16 16
17 namespace content { 17 namespace content {
18 18
19 template <typename BaseClass, typename BaseType> 19 template <typename BaseClass, typename BaseType>
20 class EventWithDispatchType : public BaseClass { 20 class EventWithDispatchType : public BaseClass {
21 public: 21 public:
22 EventWithDispatchType(const BaseType& e, 22 EventWithDispatchType(const BaseType& e,
23 const ui::LatencyInfo& l, 23 const ui::LatencyInfo& l,
24 InputEventDispatchType t) 24 InputEventDispatchType t)
25 : BaseClass(e, l), type(t) {} 25 : BaseClass(e, l), type(t) {}
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 MainThreadEventQueueClient* client_; 112 MainThreadEventQueueClient* client_;
113 WebInputEventQueue<PendingMouseWheelEvent> wheel_events_; 113 WebInputEventQueue<PendingMouseWheelEvent> wheel_events_;
114 WebInputEventQueue<PendingTouchEvent> touch_events_; 114 WebInputEventQueue<PendingTouchEvent> touch_events_;
115 115
116 DISALLOW_COPY_AND_ASSIGN(MainThreadEventQueue); 116 DISALLOW_COPY_AND_ASSIGN(MainThreadEventQueue);
117 }; 117 };
118 118
119 } // namespace content 119 } // namespace content
120 120
121 #endif // CONTENT_RENDERER_INPUT_MAIN_THREAD_EVENT_QUEUE_H_ 121 #endif // CONTENT_RENDERER_INPUT_MAIN_THREAD_EVENT_QUEUE_H_
OLDNEW
« no previous file with comments | « content/renderer/android/synchronous_compositor_proxy.cc ('k') | content/renderer/input/render_widget_input_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698