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

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: Working implementation 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 bool ShellDelegateImpl::IsHighContrastEnabled() {
86 }
87
85 ash::AppListViewDelegate* ShellDelegateImpl::CreateAppListViewDelegate() { 88 ash::AppListViewDelegate* ShellDelegateImpl::CreateAppListViewDelegate() {
86 return ash::shell::CreateAppListViewDelegate(); 89 return ash::shell::CreateAppListViewDelegate();
87 } 90 }
88 91
89 void ShellDelegateImpl::StartPartialScreenshot( 92 void ShellDelegateImpl::StartPartialScreenshot(
90 ash::ScreenshotDelegate* screenshot_delegate) { 93 ash::ScreenshotDelegate* screenshot_delegate) {
91 ash::PartialScreenshotView::StartPartialScreenshot(screenshot_delegate); 94 ash::PartialScreenshotView::StartPartialScreenshot(screenshot_delegate);
92 } 95 }
93 96
94 ash::LauncherDelegate* ShellDelegateImpl::CreateLauncherDelegate( 97 ash::LauncherDelegate* ShellDelegateImpl::CreateLauncherDelegate(
95 ash::LauncherModel* model) { 98 ash::LauncherModel* model) {
96 launcher_delegate_ = new LauncherDelegateImpl(watcher_); 99 launcher_delegate_ = new LauncherDelegateImpl(watcher_);
97 return launcher_delegate_; 100 return launcher_delegate_;
98 } 101 }
99 102
100 ash::SystemTrayDelegate* ShellDelegateImpl::CreateSystemTrayDelegate( 103 ash::SystemTrayDelegate* ShellDelegateImpl::CreateSystemTrayDelegate(
101 ash::SystemTray* tray) { 104 ash::SystemTray* tray) {
102 return NULL; 105 return NULL;
103 } 106 }
104 107
105 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() { 108 ash::UserWallpaperDelegate* ShellDelegateImpl::CreateUserWallpaperDelegate() {
106 return NULL; 109 return NULL;
107 } 110 }
108 111
109 } // namespace shell 112 } // namespace shell
110 } // namespace ash 113 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698