OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "mojo/services/view_manager/root_view_manager.h" | 5 #include "mojo/services/view_manager/root_view_manager.h" |
6 | 6 |
7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
8 #include "mojo/aura/screen_mojo.h" | 8 #include "mojo/aura/screen_mojo.h" |
9 #include "mojo/aura/window_tree_host_mojo.h" | 9 #include "mojo/aura/window_tree_host_mojo.h" |
10 #include "mojo/public/cpp/shell/service.h" | 10 #include "mojo/public/cpp/shell/connect.h" |
11 #include "mojo/public/interfaces/shell/shell.mojom.h" | 11 #include "mojo/public/interfaces/shell/shell.mojom.h" |
12 #include "mojo/services/view_manager/root_node_manager.h" | 12 #include "mojo/services/view_manager/root_node_manager.h" |
13 #include "ui/aura/client/default_capture_client.h" | 13 #include "ui/aura/client/default_capture_client.h" |
14 #include "ui/aura/client/window_tree_client.h" | 14 #include "ui/aura/client/window_tree_client.h" |
15 #include "ui/aura/window.h" | 15 #include "ui/aura/window.h" |
16 | 16 |
17 namespace mojo { | 17 namespace mojo { |
18 namespace view_manager { | 18 namespace view_manager { |
19 namespace service { | 19 namespace service { |
20 | 20 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 79 |
80 window_tree_client_.reset( | 80 window_tree_client_.reset( |
81 new WindowTreeClientImpl(window_tree_host_->window())); | 81 new WindowTreeClientImpl(window_tree_host_->window())); |
82 | 82 |
83 window_tree_host_->Show(); | 83 window_tree_host_->Show(); |
84 } | 84 } |
85 | 85 |
86 } // namespace service | 86 } // namespace service |
87 } // namespace view_manager | 87 } // namespace view_manager |
88 } // namespace mojo | 88 } // namespace mojo |
OLD | NEW |