OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 APPS_SHELL_BROWSER_DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_ | 5 #ifndef EXTENSIONS_SHELL_BROWSER_DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_ |
6 #define APPS_SHELL_BROWSER_DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_ | 6 #define EXTENSIONS_SHELL_BROWSER_DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_ |
7 | 7 |
8 #include "apps/shell/browser/shell_browser_main_delegate.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "extensions/shell/browser/shell_browser_main_delegate.h" |
11 | 11 |
12 namespace apps { | 12 namespace extensions { |
13 | 13 |
14 // A ShellBrowserMainDelegate that starts an application specified | 14 // A ShellBrowserMainDelegate that starts an application specified |
15 // by the "--app" command line. This is used only in the browser process. | 15 // by the "--app" command line. This is used only in the browser process. |
16 class DefaultShellBrowserMainDelegate : public ShellBrowserMainDelegate { | 16 class DefaultShellBrowserMainDelegate : public ShellBrowserMainDelegate { |
17 public: | 17 public: |
18 DefaultShellBrowserMainDelegate(); | 18 DefaultShellBrowserMainDelegate(); |
19 virtual ~DefaultShellBrowserMainDelegate(); | 19 virtual ~DefaultShellBrowserMainDelegate(); |
20 | 20 |
21 // ShellBrowserMainDelegate: | 21 // ShellBrowserMainDelegate: |
22 virtual void Start(content::BrowserContext* context) OVERRIDE; | 22 virtual void Start(content::BrowserContext* context) OVERRIDE; |
23 virtual void Shutdown() OVERRIDE; | 23 virtual void Shutdown() OVERRIDE; |
24 virtual ShellDesktopController* CreateDesktopController() OVERRIDE; | 24 virtual ShellDesktopController* CreateDesktopController() OVERRIDE; |
25 | 25 |
26 private: | 26 private: |
27 DISALLOW_COPY_AND_ASSIGN(DefaultShellBrowserMainDelegate); | 27 DISALLOW_COPY_AND_ASSIGN(DefaultShellBrowserMainDelegate); |
28 }; | 28 }; |
29 | 29 |
30 } // namespace apps | 30 } // namespace extensions |
31 | 31 |
32 #endif // DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_ | 32 #endif // DEFAULT_SHELL_BROWSER_MAIN_DELEGATE_H_ |
OLD | NEW |