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 "base/strings/string_tokenizer.h" | 10 #include "base/strings/string_tokenizer.h" |
| 11 #include "build/build_config.h" |
11 #include "extensions/common/switches.h" | 12 #include "extensions/common/switches.h" |
12 #include "extensions/shell/browser/shell_extension_system.h" | 13 #include "extensions/shell/browser/shell_extension_system.h" |
13 | 14 |
14 #if defined(USE_AURA) | 15 #if defined(USE_AURA) |
15 #include "extensions/shell/browser/shell_desktop_controller_aura.h" | 16 #include "extensions/shell/browser/shell_desktop_controller_aura.h" |
16 #endif | 17 #endif |
17 | 18 |
18 #if defined(OS_MACOSX) | 19 #if defined(OS_MACOSX) |
19 #include "extensions/shell/browser/shell_desktop_controller_mac.h" | 20 #include "extensions/shell/browser/shell_desktop_controller_mac.h" |
20 #endif | 21 #endif |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 #if defined(USE_AURA) | 72 #if defined(USE_AURA) |
72 return new ShellDesktopControllerAura(); | 73 return new ShellDesktopControllerAura(); |
73 #elif defined(OS_MACOSX) | 74 #elif defined(OS_MACOSX) |
74 return new ShellDesktopControllerMac(); | 75 return new ShellDesktopControllerMac(); |
75 #else | 76 #else |
76 return NULL; | 77 return NULL; |
77 #endif | 78 #endif |
78 } | 79 } |
79 | 80 |
80 } // namespace extensions | 81 } // namespace extensions |
OLD | NEW |