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

Side by Side Diff: ash/test/test_shell_delegate.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/test/test_shell_delegate.h" 5 #include "ash/test/test_shell_delegate.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ash/screenshot_delegate.h" 9 #include "ash/screenshot_delegate.h"
10 #include "ash/shell.h" 10 #include "ash/shell.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 void TestShellDelegate::OpenMobileSetup() { 60 void TestShellDelegate::OpenMobileSetup() {
61 } 61 }
62 62
63 content::BrowserContext* TestShellDelegate::GetCurrentBrowserContext() { 63 content::BrowserContext* TestShellDelegate::GetCurrentBrowserContext() {
64 return new TestBrowserContext(); 64 return new TestBrowserContext();
65 } 65 }
66 66
67 void TestShellDelegate::ToggleSpokenFeedback() { 67 void TestShellDelegate::ToggleSpokenFeedback() {
68 } 68 }
69 69
70 bool TestShellDelegate::IsHighContrastEnabled() {
71 }
72
70 AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() { 73 AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() {
71 return NULL; 74 return NULL;
72 } 75 }
73 76
74 void TestShellDelegate::StartPartialScreenshot( 77 void TestShellDelegate::StartPartialScreenshot(
75 ScreenshotDelegate* screenshot_delegate) { 78 ScreenshotDelegate* screenshot_delegate) {
76 if (screenshot_delegate) 79 if (screenshot_delegate)
77 screenshot_delegate->HandleTakePartialScreenshot(NULL, gfx::Rect()); 80 screenshot_delegate->HandleTakePartialScreenshot(NULL, gfx::Rect());
78 } 81 }
79 82
80 LauncherDelegate* TestShellDelegate::CreateLauncherDelegate( 83 LauncherDelegate* TestShellDelegate::CreateLauncherDelegate(
81 ash::LauncherModel* model) { 84 ash::LauncherModel* model) {
82 return new TestLauncherDelegate(model); 85 return new TestLauncherDelegate(model);
83 } 86 }
84 87
85 SystemTrayDelegate* TestShellDelegate::CreateSystemTrayDelegate( 88 SystemTrayDelegate* TestShellDelegate::CreateSystemTrayDelegate(
86 SystemTray* tray) { 89 SystemTray* tray) {
87 return NULL; 90 return NULL;
88 } 91 }
89 92
90 UserWallpaperDelegate* TestShellDelegate::CreateUserWallpaperDelegate() { 93 UserWallpaperDelegate* TestShellDelegate::CreateUserWallpaperDelegate() {
91 return NULL; 94 return NULL;
92 } 95 }
93 96
94 } // namespace test 97 } // namespace test
95 } // namespace ash 98 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698