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 #ifndef MASH_BROWSER_BROWSER_H_ | 5 #ifndef MASH_BROWSER_BROWSER_H_ |
6 #define MASH_BROWSER_BROWSER_H_ | 6 #define MASH_BROWSER_BROWSER_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/shell/public/cpp/service.h" |
14 #include "services/tracing/public/cpp/tracing_impl.h" | 14 #include "services/tracing/public/cpp/provider.h" |
15 | 15 |
16 namespace navigation { | 16 namespace navigation { |
17 class View; | 17 class View; |
18 } | 18 } |
19 | 19 |
20 namespace views { | 20 namespace views { |
21 class AuraInit; | 21 class AuraInit; |
22 class Widget; | 22 class Widget; |
23 class WindowManagerConnection; | 23 class WindowManagerConnection; |
24 } | 24 } |
(...skipping 24 matching lines...) Expand all Loading... |
49 // mojom::Launchable: | 49 // mojom::Launchable: |
50 void Launch(uint32_t what, mojom::LaunchMode how) override; | 50 void Launch(uint32_t what, mojom::LaunchMode how) override; |
51 | 51 |
52 // shell::InterfaceFactory<mojom::Launchable>: | 52 // shell::InterfaceFactory<mojom::Launchable>: |
53 void Create(const shell::Identity& remote_identity, | 53 void Create(const shell::Identity& remote_identity, |
54 mojom::LaunchableRequest request) override; | 54 mojom::LaunchableRequest request) override; |
55 | 55 |
56 mojo::BindingSet<mojom::Launchable> bindings_; | 56 mojo::BindingSet<mojom::Launchable> bindings_; |
57 std::vector<views::Widget*> windows_; | 57 std::vector<views::Widget*> windows_; |
58 | 58 |
59 mojo::TracingImpl tracing_; | 59 tracing::Provider tracing_; |
60 std::unique_ptr<views::AuraInit> aura_init_; | 60 std::unique_ptr<views::AuraInit> aura_init_; |
61 std::unique_ptr<views::WindowManagerConnection> window_manager_connection_; | 61 std::unique_ptr<views::WindowManagerConnection> window_manager_connection_; |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(Browser); | 63 DISALLOW_COPY_AND_ASSIGN(Browser); |
64 }; | 64 }; |
65 | 65 |
66 } // namespace browser | 66 } // namespace browser |
67 } // namespace mash | 67 } // namespace mash |
68 | 68 |
69 #endif // MASH_BROWSER_BROWSER_H_ | 69 #endif // MASH_BROWSER_BROWSER_H_ |
OLD | NEW |