Index: chrome/browser/ui/extensions/shell_window.cc |
diff --git a/chrome/browser/ui/extensions/shell_window.cc b/chrome/browser/ui/extensions/shell_window.cc |
index 358d253e0dc6b9d5484fcce374f607e2bfeeabec..40e64174f4f839023d457d5d726e4a6f366d1425 100644 |
--- a/chrome/browser/ui/extensions/shell_window.cc |
+++ b/chrome/browser/ui/extensions/shell_window.cc |
@@ -12,6 +12,8 @@ |
#if defined(TOOLKIT_USES_GTK) |
#include "chrome/browser/ui/gtk/extensions/shell_window_gtk.h" |
+#elif defined(TOOLKIT_VIEWS) |
+#include "chrome/browser/ui/views/extensions/shell_window_views.h" |
#endif |
ShellWindow::ShellWindow(ExtensionHost* host) |
@@ -37,6 +39,8 @@ ShellWindow* ShellWindow::Create(Profile* profile, |
#if defined(TOOLKIT_USES_GTK) |
// This object will delete itself when the window is closed. |
return new ShellWindowGtk(host); |
+#elif defined(TOOLKIT_VIEWS) |
+ return new ShellWindowViews(host); |
#endif |
return NULL; |