| 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 #ifndef MASH_EXAMPLE_WINDOW_TYPE_LAUNCHER_WINDOW_TYPE_LAUNCHER_H_ | 5 #ifndef MASH_EXAMPLE_WINDOW_TYPE_LAUNCHER_WINDOW_TYPE_LAUNCHER_H_ |
| 6 #define MASH_EXAMPLE_WINDOW_TYPE_LAUNCHER_WINDOW_TYPE_LAUNCHER_H_ | 6 #define MASH_EXAMPLE_WINDOW_TYPE_LAUNCHER_WINDOW_TYPE_LAUNCHER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "mash/public/interfaces/launchable.mojom.h" | 11 #include "mash/public/interfaces/launchable.mojom.h" |
| 12 #include "mojo/public/cpp/bindings/binding_set.h" | 12 #include "mojo/public/cpp/bindings/binding_set.h" |
| 13 #include "services/shell/public/cpp/service.h" | 13 #include "services/service_manager/public/cpp/service.h" |
| 14 | 14 |
| 15 namespace views { | 15 namespace views { |
| 16 class AuraInit; | 16 class AuraInit; |
| 17 class Widget; | 17 class Widget; |
| 18 class WindowManagerConnection; | 18 class WindowManagerConnection; |
| 19 } | 19 } |
| 20 | 20 |
| 21 class WindowTypeLauncher | 21 class WindowTypeLauncher |
| 22 : public shell::Service, | 22 : public shell::Service, |
| 23 public mash::mojom::Launchable, | 23 public mash::mojom::Launchable, |
| (...skipping 20 matching lines...) Expand all Loading... |
| 44 mojo::BindingSet<mash::mojom::Launchable> bindings_; | 44 mojo::BindingSet<mash::mojom::Launchable> bindings_; |
| 45 std::vector<views::Widget*> windows_; | 45 std::vector<views::Widget*> windows_; |
| 46 | 46 |
| 47 std::unique_ptr<views::AuraInit> aura_init_; | 47 std::unique_ptr<views::AuraInit> aura_init_; |
| 48 std::unique_ptr<views::WindowManagerConnection> window_manager_connection_; | 48 std::unique_ptr<views::WindowManagerConnection> window_manager_connection_; |
| 49 | 49 |
| 50 DISALLOW_COPY_AND_ASSIGN(WindowTypeLauncher); | 50 DISALLOW_COPY_AND_ASSIGN(WindowTypeLauncher); |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 #endif // MASH_EXAMPLE_WINDOW_TYPE_LAUNCHER_WINDOW_TYPE_LAUNCHER_H_ | 53 #endif // MASH_EXAMPLE_WINDOW_TYPE_LAUNCHER_WINDOW_TYPE_LAUNCHER_H_ |
| OLD | NEW |