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/render_widget_window_tree_client_factory.h" | 5 #include "content/renderer/mus/render_widget_window_tree_client_factory.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "components/mus/public/interfaces/window_tree.mojom.h" | 11 #include "components/mus/public/interfaces/window_tree.mojom.h" |
12 #include "content/common/render_widget_window_tree_client_factory.mojom.h" | 12 #include "content/common/render_widget_window_tree_client_factory.mojom.h" |
13 #include "content/public/common/mojo_shell_connection.h" | 13 #include "content/public/common/mojo_shell_connection.h" |
14 #include "content/renderer/mus/render_widget_mus_connection.h" | 14 #include "content/renderer/mus/render_widget_mus_connection.h" |
15 #include "mojo/application/public/cpp/application_connection.h" | |
16 #include "mojo/application/public/cpp/interface_factory.h" | |
17 #include "mojo/common/weak_binding_set.h" | 15 #include "mojo/common/weak_binding_set.h" |
| 16 #include "mojo/shell/public/cpp/application_connection.h" |
| 17 #include "mojo/shell/public/cpp/interface_factory.h" |
18 #include "url/gurl.h" | 18 #include "url/gurl.h" |
19 | 19 |
20 namespace content { | 20 namespace content { |
21 | 21 |
22 namespace { | 22 namespace { |
23 | 23 |
24 // This object's lifetime is managed by MojoShellConnection because it's a | 24 // This object's lifetime is managed by MojoShellConnection because it's a |
25 // MojoShellConnection::Listener. | 25 // MojoShellConnection::Listener. |
26 class RenderWidgetWindowTreeClientFactoryImpl | 26 class RenderWidgetWindowTreeClientFactoryImpl |
27 : public MojoShellConnection::Listener, | 27 : public MojoShellConnection::Listener, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 DISALLOW_COPY_AND_ASSIGN(RenderWidgetWindowTreeClientFactoryImpl); | 64 DISALLOW_COPY_AND_ASSIGN(RenderWidgetWindowTreeClientFactoryImpl); |
65 }; | 65 }; |
66 | 66 |
67 } // namespace | 67 } // namespace |
68 | 68 |
69 void CreateRenderWidgetWindowTreeClientFactory() { | 69 void CreateRenderWidgetWindowTreeClientFactory() { |
70 new RenderWidgetWindowTreeClientFactoryImpl; | 70 new RenderWidgetWindowTreeClientFactoryImpl; |
71 } | 71 } |
72 | 72 |
73 } // namespace content | 73 } // namespace content |
OLD | NEW |