diff options
Diffstat (limited to 'ash/shell/shell_delegate_impl.cc')
-rw-r--r-- | ash/shell/shell_delegate_impl.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc index 2fb2c27a..54380f4 100644 --- a/ash/shell/shell_delegate_impl.cc +++ b/ash/shell/shell_delegate_impl.cc @@ -6,6 +6,7 @@ #include "ash/shell/example_factory.h" #include "ash/shell/launcher_delegate_impl.h" +#include "ash/shell/toplevel_window.h" #include "ash/shell_window_ids.h" #include "ash/wm/partial_screenshot_view.h" #include "base/message_loop.h" @@ -54,6 +55,13 @@ void ShellDelegateImpl::Exit() { MessageLoopForUI::current()->Quit(); } +void ShellDelegateImpl::NewWindow(bool incognito) { + ash::shell::ToplevelWindow::CreateParams create_params; + create_params.can_resize = true; + create_params.can_maximize = true; + ash::shell::ToplevelWindow::CreateToplevelWindow(create_params); +} + ash::AppListViewDelegate* ShellDelegateImpl::CreateAppListViewDelegate() { return ash::shell::CreateAppListViewDelegate(); } |