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 MOJO_SHELL_SHELL_APPLICATION_DELEGATE_H_ | 5 #ifndef MOJO_SHELL_SHELL_APPLICATION_DELEGATE_H_ |
6 #define MOJO_SHELL_SHELL_APPLICATION_DELEGATE_H_ | 6 #define MOJO_SHELL_SHELL_APPLICATION_DELEGATE_H_ |
7 | 7 |
8 #include "mojo/application/public/cpp/application_delegate.h" | 8 #include "mojo/shell/public/cpp/application_delegate.h" |
9 | 9 |
10 #include <stdint.h> | 10 #include <stdint.h> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "mojo/application/public/cpp/interface_factory.h" | |
14 #include "mojo/application/public/interfaces/application_manager.mojom.h" | |
15 #include "mojo/common/weak_binding_set.h" | 13 #include "mojo/common/weak_binding_set.h" |
| 14 #include "mojo/shell/public/cpp/interface_factory.h" |
| 15 #include "mojo/shell/public/interfaces/application_manager.mojom.h" |
16 | 16 |
17 namespace mojo { | 17 namespace mojo { |
18 namespace shell { | 18 namespace shell { |
19 class ApplicationManager; | 19 class ApplicationManager; |
20 | 20 |
21 class ShellApplicationDelegate | 21 class ShellApplicationDelegate |
22 : public ApplicationDelegate, | 22 : public ApplicationDelegate, |
23 public InterfaceFactory<mojom::ApplicationManager>, | 23 public InterfaceFactory<mojom::ApplicationManager>, |
24 public mojom::ApplicationManager { | 24 public mojom::ApplicationManager { |
25 public: | 25 public: |
(...skipping 24 matching lines...) Expand all Loading... |
50 | 50 |
51 WeakBindingSet<mojom::ApplicationManager> bindings_; | 51 WeakBindingSet<mojom::ApplicationManager> bindings_; |
52 | 52 |
53 DISALLOW_COPY_AND_ASSIGN(ShellApplicationDelegate); | 53 DISALLOW_COPY_AND_ASSIGN(ShellApplicationDelegate); |
54 }; | 54 }; |
55 | 55 |
56 } // namespace shell | 56 } // namespace shell |
57 } // namespace mojo | 57 } // namespace mojo |
58 | 58 |
59 #endif // MOJO_SHELL_SHELL_APPLICATION_DELEGATE_H_ | 59 #endif // MOJO_SHELL_SHELL_APPLICATION_DELEGATE_H_ |
OLD | NEW |