| 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/memory/ptr_util.h" |
| 7 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
| 8 #include "content/renderer/input/input_handler_manager.h" | 9 #include "content/renderer/input/input_handler_manager.h" |
| 9 #include "content/renderer/mus/render_widget_mus_connection.h" | 10 #include "content/renderer/mus/render_widget_mus_connection.h" |
| 10 #include "ui/events/blink/blink_event_util.h" | 11 #include "ui/events/blink/blink_event_util.h" |
| 11 #include "ui/events/blink/web_input_event.h" | 12 #include "ui/events/blink/web_input_event.h" |
| 12 #include "ui/events/blink/web_input_event_traits.h" | 13 #include "ui/events/blink/web_input_event_traits.h" |
| 13 #include "ui/events/latency_info.h" | 14 #include "ui/events/latency_info.h" |
| 14 #include "ui/events/mojo/event.mojom.h" | 15 #include "ui/events/mojo/event.mojom.h" |
| 15 | 16 |
| 16 using ui::mojom::EventResult; | 17 using ui::mojom::EventResult; |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 } | 230 } |
| 230 ack_callback.reset(); | 231 ack_callback.reset(); |
| 231 | 232 |
| 232 main_task_runner_->PostTask( | 233 main_task_runner_->PostTask( |
| 233 FROM_HERE, | 234 FROM_HERE, |
| 234 base::Bind(&CompositorMusConnection::OnWindowInputEventOnMainThread, this, | 235 base::Bind(&CompositorMusConnection::OnWindowInputEventOnMainThread, this, |
| 235 base::Passed(std::move(web_event)), ack)); | 236 base::Passed(std::move(web_event)), ack)); |
| 236 } | 237 } |
| 237 | 238 |
| 238 } // namespace content | 239 } // namespace content |
| OLD | NEW |