| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 <memory> | 5 #include <memory> |
| 6 #include <utility> | 6 #include <utility> |
| 7 | 7 |
| 8 #include "mojo/public/cpp/bindings/binding.h" | 8 #include "mojo/public/cpp/bindings/binding.h" |
| 9 #include "services/shell/public/c/main.h" | 9 #include "services/service_manager/public/c/main.h" |
| 10 #include "services/shell/public/cpp/connector.h" | 10 #include "services/service_manager/public/cpp/connector.h" |
| 11 #include "services/shell/public/cpp/service.h" | 11 #include "services/service_manager/public/cpp/service.h" |
| 12 #include "services/shell/public/cpp/service_runner.h" | 12 #include "services/service_manager/public/cpp/service_runner.h" |
| 13 #include "services/ui/public/cpp/window.h" | 13 #include "services/ui/public/cpp/window.h" |
| 14 #include "services/ui/public/cpp/window_manager_delegate.h" | 14 #include "services/ui/public/cpp/window_manager_delegate.h" |
| 15 #include "services/ui/public/cpp/window_tree_client.h" | 15 #include "services/ui/public/cpp/window_tree_client.h" |
| 16 #include "services/ui/public/cpp/window_tree_client_delegate.h" | 16 #include "services/ui/public/cpp/window_tree_client_delegate.h" |
| 17 #include "ui/display/display.h" | 17 #include "ui/display/display.h" |
| 18 | 18 |
| 19 namespace ui { | 19 namespace ui { |
| 20 namespace test { | 20 namespace test { |
| 21 | 21 |
| 22 class TestWM : public shell::Service, | 22 class TestWM : public shell::Service, |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 DISALLOW_COPY_AND_ASSIGN(TestWM); | 105 DISALLOW_COPY_AND_ASSIGN(TestWM); |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 } // namespace test | 108 } // namespace test |
| 109 } // namespace ui | 109 } // namespace ui |
| 110 | 110 |
| 111 MojoResult ServiceMain(MojoHandle service_request_handle) { | 111 MojoResult ServiceMain(MojoHandle service_request_handle) { |
| 112 shell::ServiceRunner runner(new ui::test::TestWM); | 112 shell::ServiceRunner runner(new ui::test::TestWM); |
| 113 return runner.Run(service_request_handle); | 113 return runner.Run(service_request_handle); |
| 114 } | 114 } |
| OLD | NEW |