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

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

Issue 10201014: Implement High Contrast mode for Chrome OS (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Code review 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
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void ShellDelegateImpl::ShowKeyboardOverlay(ui::AcceleratorTarget* target) { 78 void ShellDelegateImpl::ShowKeyboardOverlay(ui::AcceleratorTarget* target) {
79 } 79 }
80 80
81 content::BrowserContext* ShellDelegateImpl::GetCurrentBrowserContext() { 81 content::BrowserContext* ShellDelegateImpl::GetCurrentBrowserContext() {
82 return Shell::GetInstance()->browser_context(); 82 return Shell::GetInstance()->browser_context();
83 } 83 }
84 84
85 void ShellDelegateImpl::ToggleSpokenFeedback() { 85 void ShellDelegateImpl::ToggleSpokenFeedback() {
86 } 86 }
87 87
88 bool ShellDelegateImpl::IsHighContrastEnabled() {
89 }
90
88 app_list::AppListViewDelegate* ShellDelegateImpl::CreateAppListViewDelegate() { 91 app_list::AppListViewDelegate* ShellDelegateImpl::CreateAppListViewDelegate() {
89 return ash::shell::CreateAppListViewDelegate(); 92 return ash::shell::CreateAppListViewDelegate();
90 } 93 }
91 94
92 void ShellDelegateImpl::StartPartialScreenshot( 95 void ShellDelegateImpl::StartPartialScreenshot(
93 ash::ScreenshotDelegate* screenshot_delegate) { 96 ash::ScreenshotDelegate* screenshot_delegate) {
94 ash::PartialScreenshotView::StartPartialScreenshot(screenshot_delegate); 97 ash::PartialScreenshotView::StartPartialScreenshot(screenshot_delegate);
95 } 98 }
96 99
97 ash::LauncherDelegate* ShellDelegateImpl::CreateLauncherDelegate( 100 ash::LauncherDelegate* ShellDelegateImpl::CreateLauncherDelegate(
98 ash::LauncherModel* model) { 101 ash::LauncherModel* model) {
99 launcher_delegate_ = new LauncherDelegateImpl(watcher_); 102 launcher_delegate_ = new LauncherDelegateImpl(watcher_);
100 return launcher_delegate_; 103 return launcher_delegate_;
101 } 104 }
102 105
103 ash::SystemTrayDelegate* ShellDelegateImpl::CreateSystemTrayDelegate( 106 ash::SystemTrayDelegate* ShellDelegateImpl::CreateSystemTrayDelegate(
104 ash::SystemTray* tray) { 107 ash::SystemTray* tray) {
105 return NULL; 108 return NULL;
106 } 109 }
107 110
108 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() { 111 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() {
109 return NULL; 112 return NULL;
110 } 113 }
111 114
112 } // namespace shell 115 } // namespace shell
113 } // namespace ash 116 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698