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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() { | 70 app_list::AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() { |
71 return NULL; | 71 return NULL; |
72 } | 72 } |
73 | 73 |
74 void TestShellDelegate::StartPartialScreenshot( | 74 void TestShellDelegate::StartPartialScreenshot( |
75 ScreenshotDelegate* screenshot_delegate) { | 75 ScreenshotDelegate* screenshot_delegate) { |
76 if (screenshot_delegate) | 76 if (screenshot_delegate) |
77 screenshot_delegate->HandleTakePartialScreenshot(NULL, gfx::Rect()); | 77 screenshot_delegate->HandleTakePartialScreenshot(NULL, gfx::Rect()); |
78 } | 78 } |
79 | 79 |
80 LauncherDelegate* TestShellDelegate::CreateLauncherDelegate( | 80 LauncherDelegate* TestShellDelegate::CreateLauncherDelegate( |
81 ash::LauncherModel* model) { | 81 ash::LauncherModel* model) { |
82 return new TestLauncherDelegate(model); | 82 return new TestLauncherDelegate(model); |
83 } | 83 } |
84 | 84 |
85 SystemTrayDelegate* TestShellDelegate::CreateSystemTrayDelegate( | 85 SystemTrayDelegate* TestShellDelegate::CreateSystemTrayDelegate( |
86 SystemTray* tray) { | 86 SystemTray* tray) { |
87 return NULL; | 87 return NULL; |
88 } | 88 } |
89 | 89 |
90 UserWallpaperDelegate* TestShellDelegate::CreateUserWallpaperDelegate() { | 90 UserWallpaperDelegate* TestShellDelegate::CreateUserWallpaperDelegate() { |
91 return NULL; | 91 return NULL; |
92 } | 92 } |
93 | 93 |
94 } // namespace test | 94 } // namespace test |
95 } // namespace ash | 95 } // namespace ash |
OLD | NEW |