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

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

Issue 2009073003: Move mojo/converters/geometry -> ui/gfx/geometry/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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/mus/render_widget_mus_connection.h" 5 #include "content/renderer/mus/render_widget_mus_connection.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "components/mus/public/cpp/context_provider.h" 11 #include "components/mus/public/cpp/context_provider.h"
12 #include "components/mus/public/cpp/output_surface.h" 12 #include "components/mus/public/cpp/output_surface.h"
13 #include "components/mus/public/interfaces/command_buffer.mojom.h" 13 #include "components/mus/public/interfaces/command_buffer.mojom.h"
14 #include "components/mus/public/interfaces/compositor_frame.mojom.h" 14 #include "components/mus/public/interfaces/compositor_frame.mojom.h"
15 #include "components/mus/public/interfaces/gpu.mojom.h" 15 #include "components/mus/public/interfaces/gpu.mojom.h"
16 #include "components/mus/public/interfaces/window_tree.mojom.h" 16 #include "components/mus/public/interfaces/window_tree.mojom.h"
17 #include "content/public/common/mojo_shell_connection.h" 17 #include "content/public/common/mojo_shell_connection.h"
18 #include "content/renderer/mus/compositor_mus_connection.h" 18 #include "content/renderer/mus/compositor_mus_connection.h"
19 #include "content/renderer/render_thread_impl.h" 19 #include "content/renderer/render_thread_impl.h"
20 #include "content/renderer/render_view_impl.h" 20 #include "content/renderer/render_view_impl.h"
21 #include "mojo/converters/geometry/geometry_type_converters.h"
22 #include "mojo/converters/surfaces/surfaces_utils.h" 21 #include "mojo/converters/surfaces/surfaces_utils.h"
23 #include "services/shell/public/cpp/connector.h" 22 #include "services/shell/public/cpp/connector.h"
23 #include "ui/gfx/geometry/mojo/geometry_type_converters.h"
24 24
25 namespace content { 25 namespace content {
26 26
27 namespace { 27 namespace {
28 28
29 typedef std::map<int, RenderWidgetMusConnection*> ConnectionMap; 29 typedef std::map<int, RenderWidgetMusConnection*> ConnectionMap;
30 base::LazyInstance<ConnectionMap>::Leaky g_connections = 30 base::LazyInstance<ConnectionMap>::Leaky g_connections =
31 LAZY_INSTANCE_INITIALIZER; 31 LAZY_INSTANCE_INITIALIZER;
32 } 32 }
33 33
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // previous event. 184 // previous event.
185 // DCHECK(pending_ack_.is_null()); 185 // DCHECK(pending_ack_.is_null());
186 pending_ack_ = ack; 186 pending_ack_ = ack;
187 // TODO(fsamuel, sadrul): Track real latency info. 187 // TODO(fsamuel, sadrul): Track real latency info.
188 ui::LatencyInfo latency_info; 188 ui::LatencyInfo latency_info;
189 input_handler_->HandleInputEvent(*input_event, latency_info, 189 input_handler_->HandleInputEvent(*input_event, latency_info,
190 DISPATCH_TYPE_BLOCKING); 190 DISPATCH_TYPE_BLOCKING);
191 } 191 }
192 192
193 } // namespace content 193 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/mus/BUILD.gn ('k') | mash/browser/BUILD.gn » ('j') | ui/gfx/gfx.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698