| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ash/shell/shell_delegate_impl.h" | 5 #include "ash/shell/shell_delegate_impl.h" |
| 6 | 6 |
| 7 #include "ash/shell/example_factory.h" | 7 #include "ash/shell/example_factory.h" |
| 8 #include "ash/shell/launcher_delegate_impl.h" | 8 #include "ash/shell/launcher_delegate_impl.h" |
| 9 #include "ash/shell/toplevel_window.h" | 9 #include "ash/shell/toplevel_window.h" |
| 10 #include "ash/shell_window_ids.h" | 10 #include "ash/shell_window_ids.h" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 MessageLoopForUI::current()->Quit(); | 56 MessageLoopForUI::current()->Quit(); |
| 57 } | 57 } |
| 58 | 58 |
| 59 void ShellDelegateImpl::NewWindow(bool incognito) { | 59 void ShellDelegateImpl::NewWindow(bool incognito) { |
| 60 ash::shell::ToplevelWindow::CreateParams create_params; | 60 ash::shell::ToplevelWindow::CreateParams create_params; |
| 61 create_params.can_resize = true; | 61 create_params.can_resize = true; |
| 62 create_params.can_maximize = true; | 62 create_params.can_maximize = true; |
| 63 ash::shell::ToplevelWindow::CreateToplevelWindow(create_params); | 63 ash::shell::ToplevelWindow::CreateToplevelWindow(create_params); |
| 64 } | 64 } |
| 65 | 65 |
| 66 bool ShellDelegateImpl::IsBrowserWindow(const aura::Window* window) { |
| 67 return false; |
| 68 } |
| 69 |
| 66 void ShellDelegateImpl::Search() { | 70 void ShellDelegateImpl::Search() { |
| 67 } | 71 } |
| 68 | 72 |
| 69 void ShellDelegateImpl::OpenFileManager() { | 73 void ShellDelegateImpl::OpenFileManager() { |
| 70 } | 74 } |
| 71 | 75 |
| 72 void ShellDelegateImpl::OpenCrosh() { | 76 void ShellDelegateImpl::OpenCrosh() { |
| 73 } | 77 } |
| 74 | 78 |
| 75 void ShellDelegateImpl::OpenMobileSetup() { | 79 void ShellDelegateImpl::OpenMobileSetup() { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 94 ash::SystemTray* tray) { | 98 ash::SystemTray* tray) { |
| 95 return NULL; | 99 return NULL; |
| 96 } | 100 } |
| 97 | 101 |
| 98 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() { | 102 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() { |
| 99 return NULL; | 103 return NULL; |
| 100 } | 104 } |
| 101 | 105 |
| 102 } // namespace shell | 106 } // namespace shell |
| 103 } // namespace ash | 107 } // namespace ash |
| OLD | NEW |