| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 void ShellDelegateImpl::OpenMobileSetup() { | 75 void ShellDelegateImpl::OpenMobileSetup() { |
| 76 } | 76 } |
| 77 | 77 |
| 78 content::BrowserContext* ShellDelegateImpl::GetCurrentBrowserContext() { | 78 content::BrowserContext* ShellDelegateImpl::GetCurrentBrowserContext() { |
| 79 return Shell::GetInstance()->browser_context(); | 79 return Shell::GetInstance()->browser_context(); |
| 80 } | 80 } |
| 81 | 81 |
| 82 void ShellDelegateImpl::ToggleSpokenFeedback() { | 82 void ShellDelegateImpl::ToggleSpokenFeedback() { |
| 83 } | 83 } |
| 84 | 84 |
| 85 ash::AppListViewDelegate* ShellDelegateImpl::CreateAppListViewDelegate() { | 85 app_list::AppListViewDelegate* ShellDelegateImpl::CreateAppListViewDelegate() { |
| 86 return ash::shell::CreateAppListViewDelegate(); | 86 return ash::shell::CreateAppListViewDelegate(); |
| 87 } | 87 } |
| 88 | 88 |
| 89 void ShellDelegateImpl::StartPartialScreenshot( | 89 void ShellDelegateImpl::StartPartialScreenshot( |
| 90 ash::ScreenshotDelegate* screenshot_delegate) { | 90 ash::ScreenshotDelegate* screenshot_delegate) { |
| 91 ash::PartialScreenshotView::StartPartialScreenshot(screenshot_delegate); | 91 ash::PartialScreenshotView::StartPartialScreenshot(screenshot_delegate); |
| 92 } | 92 } |
| 93 | 93 |
| 94 ash::LauncherDelegate* ShellDelegateImpl::CreateLauncherDelegate( | 94 ash::LauncherDelegate* ShellDelegateImpl::CreateLauncherDelegate( |
| 95 ash::LauncherModel* model) { | 95 ash::LauncherModel* model) { |
| 96 launcher_delegate_ = new LauncherDelegateImpl(watcher_); | 96 launcher_delegate_ = new LauncherDelegateImpl(watcher_); |
| 97 return launcher_delegate_; | 97 return launcher_delegate_; |
| 98 } | 98 } |
| 99 | 99 |
| 100 ash::SystemTrayDelegate* ShellDelegateImpl::CreateSystemTrayDelegate( | 100 ash::SystemTrayDelegate* ShellDelegateImpl::CreateSystemTrayDelegate( |
| 101 ash::SystemTray* tray) { | 101 ash::SystemTray* tray) { |
| 102 return NULL; | 102 return NULL; |
| 103 } | 103 } |
| 104 | 104 |
| 105 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() { | 105 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() { |
| 106 return NULL; | 106 return NULL; |
| 107 } | 107 } |
| 108 | 108 |
| 109 } // namespace shell | 109 } // namespace shell |
| 110 } // namespace ash | 110 } // namespace ash |
| OLD | NEW |