OLD | NEW |
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/mus/compositor_mus_connection.h" | 5 #include "content/renderer/mus/compositor_mus_connection.h" |
6 | 6 |
7 #include "base/single_thread_task_runner.h" | 7 #include "base/single_thread_task_runner.h" |
8 #include "content/common/input/web_input_event_traits.h" | 8 #include "content/common/input/web_input_event_traits.h" |
9 #include "content/renderer/input/input_handler_manager.h" | 9 #include "content/renderer/input/input_handler_manager.h" |
10 #include "content/renderer/mus/render_widget_mus_connection.h" | 10 #include "content/renderer/mus/render_widget_mus_connection.h" |
11 #include "mojo/converters/blink/blink_input_events_type_converters.h" | 11 #include "mojo/converters/blink/blink_input_events_type_converters.h" |
12 #include "mojo/converters/input_events/input_events_type_converters.h" | 12 #include "mojo/converters/input_events/input_events_type_converters.h" |
13 #include "ui/latency_info/latency_info.h" | 13 #include "ui/events/latency_info.h" |
14 | 14 |
15 namespace { | 15 namespace { |
16 | 16 |
17 void DoNothingBool(bool result) {} | 17 void DoNothingBool(bool result) {} |
18 | 18 |
19 } // namespace | 19 } // namespace |
20 | 20 |
21 namespace content { | 21 namespace content { |
22 | 22 |
23 CompositorMusConnection::CompositorMusConnection( | 23 CompositorMusConnection::CompositorMusConnection( |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 this, *ack_callback->get()); | 143 this, *ack_callback->get()); |
144 ack_callback->reset(); | 144 ack_callback->reset(); |
145 } | 145 } |
146 main_task_runner_->PostTask( | 146 main_task_runner_->PostTask( |
147 FROM_HERE, | 147 FROM_HERE, |
148 base::Bind(&CompositorMusConnection::OnWindowInputEventOnMainThread, this, | 148 base::Bind(&CompositorMusConnection::OnWindowInputEventOnMainThread, this, |
149 base::Passed(std::move(web_event)), ack)); | 149 base::Passed(std::move(web_event)), ack)); |
150 } | 150 } |
151 | 151 |
152 } // namespace content | 152 } // namespace content |
OLD | NEW |