Index: extensions/shell/browser/default_shell_browser_main_delegate.cc |
diff --git a/extensions/shell/browser/default_shell_browser_main_delegate.cc b/extensions/shell/browser/default_shell_browser_main_delegate.cc |
index 978d27378d9f0887786651fe96676732ca7f2076..eb86cc47ebdc5b961697118f7f5fa5a447cdf252 100644 |
--- a/extensions/shell/browser/default_shell_browser_main_delegate.cc |
+++ b/extensions/shell/browser/default_shell_browser_main_delegate.cc |
@@ -15,6 +15,10 @@ |
#include "extensions/shell/browser/shell_desktop_controller_aura.h" |
#endif |
+#if defined(OS_MACOSX) |
+#include "extensions/shell/browser/shell_desktop_controller_mac.h" |
+#endif |
+ |
namespace extensions { |
DefaultShellBrowserMainDelegate::DefaultShellBrowserMainDelegate() { |
@@ -67,6 +71,8 @@ void DefaultShellBrowserMainDelegate::Shutdown() { |
DesktopController* DefaultShellBrowserMainDelegate::CreateDesktopController() { |
#if defined(USE_AURA) |
return new ShellDesktopControllerAura(); |
+#elif defined(OS_MACOSX) |
+ return new ShellDesktopControllerMac(); |
#else |
return NULL; |
#endif |