OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 SHELL_CONTEXT_H_ | 5 #ifndef SHELL_CONTEXT_H_ |
6 #define SHELL_CONTEXT_H_ | 6 #define SHELL_CONTEXT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "mojo/edk/embedder/process_delegate.h" | 11 #include "mojo/edk/embedder/process_delegate.h" |
12 #include "shell/application_manager/application_manager.h" | 12 #include "shell/application_manager/application_manager.h" |
13 #include "shell/task_runners.h" | 13 #include "shell/task_runners.h" |
14 #include "shell/url_resolver.h" | 14 #include "shell/url_resolver.h" |
15 | 15 |
16 namespace mojo { | 16 namespace mojo { |
17 | |
18 namespace shell { | 17 namespace shell { |
19 | 18 |
20 class ExternalApplicationListener; | 19 class ExternalApplicationListener; |
21 class NativeApplicationLoader; | 20 class NativeApplicationLoader; |
22 | 21 |
23 // The "global" context for the shell's main process. | 22 // The "global" context for the shell's main process. |
24 class Context : public ApplicationManager::Delegate, | 23 class Context : public ApplicationManager::Delegate, |
25 public embedder::ProcessDelegate { | 24 public embedder::ProcessDelegate { |
26 public: | 25 public: |
27 Context(); | 26 Context(); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 GURL shell_file_root_; | 82 GURL shell_file_root_; |
84 GURL command_line_cwd_; | 83 GURL command_line_cwd_; |
85 | 84 |
86 DISALLOW_COPY_AND_ASSIGN(Context); | 85 DISALLOW_COPY_AND_ASSIGN(Context); |
87 }; | 86 }; |
88 | 87 |
89 } // namespace shell | 88 } // namespace shell |
90 } // namespace mojo | 89 } // namespace mojo |
91 | 90 |
92 #endif // SHELL_CONTEXT_H_ | 91 #endif // SHELL_CONTEXT_H_ |
OLD | NEW |