Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Side by Side Diff: ash/shell/shell_delegate_impl.cc

Issue 10191010: Re-implement the screensaver to use WebView instead of ExtensionDialogHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ut fix. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/shell/window_type_launcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 void ShellDelegateImpl::OpenFileManager() { 69 void ShellDelegateImpl::OpenFileManager() {
70 } 70 }
71 71
72 void ShellDelegateImpl::OpenCrosh() { 72 void ShellDelegateImpl::OpenCrosh() {
73 } 73 }
74 74
75 void ShellDelegateImpl::OpenMobileSetup() { 75 void ShellDelegateImpl::OpenMobileSetup() {
76 } 76 }
77 77
78 content::BrowserContext* ShellDelegateImpl::GetCurrentBrowserContext() {
79 return Shell::GetInstance()->browser_context();
80 }
81
78 void ShellDelegateImpl::ToggleSpokenFeedback() { 82 void ShellDelegateImpl::ToggleSpokenFeedback() {
79 } 83 }
80 84
81 ash::AppListViewDelegate* ShellDelegateImpl::CreateAppListViewDelegate() { 85 ash::AppListViewDelegate* ShellDelegateImpl::CreateAppListViewDelegate() {
82 return ash::shell::CreateAppListViewDelegate(); 86 return ash::shell::CreateAppListViewDelegate();
83 } 87 }
84 88
85 void ShellDelegateImpl::StartPartialScreenshot( 89 void ShellDelegateImpl::StartPartialScreenshot(
86 ash::ScreenshotDelegate* screenshot_delegate) { 90 ash::ScreenshotDelegate* screenshot_delegate) {
87 ash::PartialScreenshotView::StartPartialScreenshot(screenshot_delegate); 91 ash::PartialScreenshotView::StartPartialScreenshot(screenshot_delegate);
88 } 92 }
89 93
90 ash::LauncherDelegate* ShellDelegateImpl::CreateLauncherDelegate( 94 ash::LauncherDelegate* ShellDelegateImpl::CreateLauncherDelegate(
91 ash::LauncherModel* model) { 95 ash::LauncherModel* model) {
92 launcher_delegate_ = new LauncherDelegateImpl(watcher_); 96 launcher_delegate_ = new LauncherDelegateImpl(watcher_);
93 return launcher_delegate_; 97 return launcher_delegate_;
94 } 98 }
95 99
96 ash::SystemTrayDelegate* ShellDelegateImpl::CreateSystemTrayDelegate( 100 ash::SystemTrayDelegate* ShellDelegateImpl::CreateSystemTrayDelegate(
97 ash::SystemTray* tray) { 101 ash::SystemTray* tray) {
98 return NULL; 102 return NULL;
99 } 103 }
100 104
101 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() { 105 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() {
102 return NULL; 106 return NULL;
103 } 107 }
104 108
105 } // namespace shell 109 } // namespace shell
106 } // namespace ash 110 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/shell/window_type_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698