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" |
11 #include "ash/shell_window_ids.h" | 11 #include "ash/shell_window_ids.h" |
12 #include "ash/test/test_launcher_delegate.h" | 12 #include "ash/test/test_launcher_delegate.h" |
13 #include "content/test/test_browser_context.h" | 13 #include "content/public/test/test_browser_context.h" |
14 #include "grit/ui_resources.h" | 14 #include "grit/ui_resources.h" |
15 #include "ui/aura/window.h" | 15 #include "ui/aura/window.h" |
16 | 16 |
17 namespace ash { | 17 namespace ash { |
18 namespace test { | 18 namespace test { |
19 | 19 |
20 TestShellDelegate::TestShellDelegate() : locked_(false) { | 20 TestShellDelegate::TestShellDelegate() : locked_(false) { |
21 } | 21 } |
22 | 22 |
23 TestShellDelegate::~TestShellDelegate() { | 23 TestShellDelegate::~TestShellDelegate() { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 void TestShellDelegate::RestoreTab() { | 66 void TestShellDelegate::RestoreTab() { |
67 } | 67 } |
68 | 68 |
69 void TestShellDelegate::ShowKeyboardOverlay() { | 69 void TestShellDelegate::ShowKeyboardOverlay() { |
70 } | 70 } |
71 | 71 |
72 void TestShellDelegate::ShowTaskManager() { | 72 void TestShellDelegate::ShowTaskManager() { |
73 } | 73 } |
74 | 74 |
75 content::BrowserContext* TestShellDelegate::GetCurrentBrowserContext() { | 75 content::BrowserContext* TestShellDelegate::GetCurrentBrowserContext() { |
76 return new TestBrowserContext(); | 76 return new content::TestBrowserContext(); |
77 } | 77 } |
78 | 78 |
79 void TestShellDelegate::ToggleSpokenFeedback() { | 79 void TestShellDelegate::ToggleSpokenFeedback() { |
80 } | 80 } |
81 | 81 |
82 app_list::AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() { | 82 app_list::AppListViewDelegate* TestShellDelegate::CreateAppListViewDelegate() { |
83 return NULL; | 83 return NULL; |
84 } | 84 } |
85 | 85 |
86 void TestShellDelegate::StartPartialScreenshot( | 86 void TestShellDelegate::StartPartialScreenshot( |
(...skipping 15 matching lines...) Expand all Loading... |
102 UserWallpaperDelegate* TestShellDelegate::CreateUserWallpaperDelegate() { | 102 UserWallpaperDelegate* TestShellDelegate::CreateUserWallpaperDelegate() { |
103 return NULL; | 103 return NULL; |
104 } | 104 } |
105 | 105 |
106 aura::client::UserActionClient* TestShellDelegate::CreateUserActionClient() { | 106 aura::client::UserActionClient* TestShellDelegate::CreateUserActionClient() { |
107 return NULL; | 107 return NULL; |
108 } | 108 } |
109 | 109 |
110 } // namespace test | 110 } // namespace test |
111 } // namespace ash | 111 } // namespace ash |
OLD | NEW |