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/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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 void TestShellDelegate::ShowKeyboardOverlay(ui::AcceleratorTarget* target) { | 63 void TestShellDelegate::ShowKeyboardOverlay(ui::AcceleratorTarget* target) { |
64 } | 64 } |
65 | 65 |
66 content::BrowserContext* TestShellDelegate::GetCurrentBrowserContext() { | 66 content::BrowserContext* TestShellDelegate::GetCurrentBrowserContext() { |
67 return new TestBrowserContext(); | 67 return new TestBrowserContext(); |
68 } | 68 } |
69 | 69 |
70 void TestShellDelegate::ToggleSpokenFeedback() { | 70 void TestShellDelegate::ToggleSpokenFeedback() { |
71 } | 71 } |
72 | 72 |
| 73 bool TestShellDelegate::IsHighContrastEnabled() { |
| 74 } |
| 75 |
73 app_list::AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() { | 76 app_list::AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() { |
74 return NULL; | 77 return NULL; |
75 } | 78 } |
76 | 79 |
77 void TestShellDelegate::StartPartialScreenshot( | 80 void TestShellDelegate::StartPartialScreenshot( |
78 ScreenshotDelegate* screenshot_delegate) { | 81 ScreenshotDelegate* screenshot_delegate) { |
79 if (screenshot_delegate) | 82 if (screenshot_delegate) |
80 screenshot_delegate->HandleTakePartialScreenshot(NULL, gfx::Rect()); | 83 screenshot_delegate->HandleTakePartialScreenshot(NULL, gfx::Rect()); |
81 } | 84 } |
82 | 85 |
83 LauncherDelegate* TestShellDelegate::CreateLauncherDelegate( | 86 LauncherDelegate* TestShellDelegate::CreateLauncherDelegate( |
84 ash::LauncherModel* model) { | 87 ash::LauncherModel* model) { |
85 return new TestLauncherDelegate(model); | 88 return new TestLauncherDelegate(model); |
86 } | 89 } |
87 | 90 |
88 SystemTrayDelegate* TestShellDelegate::CreateSystemTrayDelegate( | 91 SystemTrayDelegate* TestShellDelegate::CreateSystemTrayDelegate( |
89 SystemTray* tray) { | 92 SystemTray* tray) { |
90 return NULL; | 93 return NULL; |
91 } | 94 } |
92 | 95 |
93 UserWallpaperDelegate* TestShellDelegate::CreateUserWallpaperDelegate() { | 96 UserWallpaperDelegate* TestShellDelegate::CreateUserWallpaperDelegate() { |
94 return NULL; | 97 return NULL; |
95 } | 98 } |
96 | 99 |
97 } // namespace test | 100 } // namespace test |
98 } // namespace ash | 101 } // namespace ash |
OLD | NEW |