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 <limits> | 7 #include <limits> |
8 | 8 |
9 #include "ash/caps_lock_delegate_stub.h" | 9 #include "ash/caps_lock_delegate_stub.h" |
10 #include "ash/default_accessibility_delegate.h" | 10 #include "ash/default_accessibility_delegate.h" |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 return new MediaDelegateImpl; | 136 return new MediaDelegateImpl; |
137 } | 137 } |
138 | 138 |
139 aura::client::UserActionClient* TestShellDelegate::CreateUserActionClient() { | 139 aura::client::UserActionClient* TestShellDelegate::CreateUserActionClient() { |
140 return NULL; | 140 return NULL; |
141 } | 141 } |
142 | 142 |
143 ui::MenuModel* TestShellDelegate::CreateContextMenu( | 143 ui::MenuModel* TestShellDelegate::CreateContextMenu( |
144 aura::Window* root, | 144 aura::Window* root, |
145 ash::ShelfItemDelegate* item_delegate, | 145 ash::ShelfItemDelegate* item_delegate, |
146 ash::LauncherItem* item) { | 146 ash::ShelfItem* item) { |
147 return NULL; | 147 return NULL; |
148 } | 148 } |
149 | 149 |
150 WindowTreeHostFactory* TestShellDelegate::CreateWindowTreeHostFactory() { | 150 WindowTreeHostFactory* TestShellDelegate::CreateWindowTreeHostFactory() { |
151 return WindowTreeHostFactory::Create(); | 151 return WindowTreeHostFactory::Create(); |
152 } | 152 } |
153 | 153 |
154 GPUSupport* TestShellDelegate::CreateGPUSupport() { | 154 GPUSupport* TestShellDelegate::CreateGPUSupport() { |
155 // Real GPU support depends on src/content, so just use a stub. | 155 // Real GPU support depends on src/content, so just use a stub. |
156 return new GPUSupportStub; | 156 return new GPUSupportStub; |
157 } | 157 } |
158 | 158 |
159 base::string16 TestShellDelegate::GetProductName() const { | 159 base::string16 TestShellDelegate::GetProductName() const { |
160 return base::string16(); | 160 return base::string16(); |
161 } | 161 } |
162 | 162 |
163 TestSessionStateDelegate* TestShellDelegate::test_session_state_delegate() { | 163 TestSessionStateDelegate* TestShellDelegate::test_session_state_delegate() { |
164 return test_session_state_delegate_; | 164 return test_session_state_delegate_; |
165 } | 165 } |
166 | 166 |
167 } // namespace test | 167 } // namespace test |
168 } // namespace ash | 168 } // namespace ash |
OLD | NEW |