| 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 #include "extensions/shell/browser/default_shell_browser_main_delegate.h" | 5 #include "extensions/shell/browser/default_shell_browser_main_delegate.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
| 10 #include "extensions/shell/browser/shell_apps_client.h" |
| 10 #include "extensions/shell/browser/shell_desktop_controller.h" | 11 #include "extensions/shell/browser/shell_desktop_controller.h" |
| 11 #include "extensions/shell/browser/shell_extension_system.h" | 12 #include "extensions/shell/browser/shell_extension_system.h" |
| 12 #include "extensions/shell/common/switches.h" | 13 #include "extensions/shell/common/switches.h" |
| 13 | 14 |
| 14 namespace extensions { | 15 namespace extensions { |
| 15 | 16 |
| 16 DefaultShellBrowserMainDelegate::DefaultShellBrowserMainDelegate() { | 17 DefaultShellBrowserMainDelegate::DefaultShellBrowserMainDelegate() { |
| 17 } | 18 } |
| 18 | 19 |
| 19 DefaultShellBrowserMainDelegate::~DefaultShellBrowserMainDelegate() { | 20 DefaultShellBrowserMainDelegate::~DefaultShellBrowserMainDelegate() { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 38 } | 39 } |
| 39 } | 40 } |
| 40 | 41 |
| 41 void DefaultShellBrowserMainDelegate::Shutdown() { | 42 void DefaultShellBrowserMainDelegate::Shutdown() { |
| 42 } | 43 } |
| 43 | 44 |
| 44 DesktopController* DefaultShellBrowserMainDelegate::CreateDesktopController() { | 45 DesktopController* DefaultShellBrowserMainDelegate::CreateDesktopController() { |
| 45 return new ShellDesktopController(); | 46 return new ShellDesktopController(); |
| 46 } | 47 } |
| 47 | 48 |
| 49 AppsClient* DefaultShellBrowserMainDelegate::CreateAppsClient() { |
| 50 return new ShellAppsClient(); |
| 51 } |
| 52 |
| 48 } // namespace extensions | 53 } // namespace extensions |
| OLD | NEW |