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

Side by Side Diff: content/renderer/mus/compositor_mus_connection.cc

Issue 1898033003: Revert https://codereview.chromium.org/1871233002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
« no previous file with comments | « content/renderer/mus/BUILD.gn ('k') | content/renderer/render_view_impl.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 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 using mus::mojom::EventResult; 15 using mus::mojom::EventResult;
16 16
17 namespace { 17 namespace {
18 18
19 void DoNothingWithEventResult(EventResult result) {} 19 void DoNothingWithEventResult(EventResult result) {}
20 20
21 } // namespace 21 } // namespace
22 22
23 namespace content { 23 namespace content {
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 this, *ack_callback->get()); 146 this, *ack_callback->get());
147 ack_callback->reset(); 147 ack_callback->reset();
148 } 148 }
149 main_task_runner_->PostTask( 149 main_task_runner_->PostTask(
150 FROM_HERE, 150 FROM_HERE,
151 base::Bind(&CompositorMusConnection::OnWindowInputEventOnMainThread, this, 151 base::Bind(&CompositorMusConnection::OnWindowInputEventOnMainThread, this,
152 base::Passed(std::move(web_event)), ack)); 152 base::Passed(std::move(web_event)), ack));
153 } 153 }
154 154
155 } // namespace content 155 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/mus/BUILD.gn ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698