| 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/shell/shell_delegate_impl.h" | 5 #include "ash/shell/shell_delegate_impl.h" |
| 6 | 6 |
| 7 #include "ash/accessibility_delegate.h" | 7 #include "ash/accessibility_delegate.h" |
| 8 #include "ash/caps_lock_delegate_stub.h" | 8 #include "ash/caps_lock_delegate_stub.h" |
| 9 #include "ash/default_accessibility_delegate.h" | 9 #include "ash/default_accessibility_delegate.h" |
| 10 #include "ash/default_user_wallpaper_delegate.h" | 10 #include "ash/default_user_wallpaper_delegate.h" |
| 11 #include "ash/gpu_support_stub.h" |
| 11 #include "ash/host/root_window_host_factory.h" | 12 #include "ash/host/root_window_host_factory.h" |
| 12 #include "ash/media_delegate.h" | 13 #include "ash/media_delegate.h" |
| 13 #include "ash/new_window_delegate.h" | 14 #include "ash/new_window_delegate.h" |
| 14 #include "ash/session_state_delegate.h" | 15 #include "ash/session_state_delegate.h" |
| 15 #include "ash/session_state_delegate_stub.h" | 16 #include "ash/session_state_delegate_stub.h" |
| 16 #include "ash/shell/context_menu.h" | 17 #include "ash/shell/context_menu.h" |
| 17 #include "ash/shell/example_factory.h" | 18 #include "ash/shell/example_factory.h" |
| 18 #include "ash/shell/keyboard_controller_proxy_stub.h" | 19 #include "ash/shell/keyboard_controller_proxy_stub.h" |
| 19 #include "ash/shell/shelf_delegate_impl.h" | 20 #include "ash/shell/shelf_delegate_impl.h" |
| 20 #include "ash/shell/toplevel_window.h" | 21 #include "ash/shell/toplevel_window.h" |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 aura::Window* root, | 163 aura::Window* root, |
| 163 ash::ShelfItemDelegate* item_delegate, | 164 ash::ShelfItemDelegate* item_delegate, |
| 164 ash::LauncherItem* item) { | 165 ash::LauncherItem* item) { |
| 165 return new ContextMenu(root); | 166 return new ContextMenu(root); |
| 166 } | 167 } |
| 167 | 168 |
| 168 WindowTreeHostFactory* ShellDelegateImpl::CreateWindowTreeHostFactory() { | 169 WindowTreeHostFactory* ShellDelegateImpl::CreateWindowTreeHostFactory() { |
| 169 return WindowTreeHostFactory::Create(); | 170 return WindowTreeHostFactory::Create(); |
| 170 } | 171 } |
| 171 | 172 |
| 173 GPUSupport* ShellDelegateImpl::CreateGPUSupport() { |
| 174 // Real GPU support depends on src/content, so just use a stub. |
| 175 return new GPUSupportStub; |
| 176 } |
| 177 |
| 172 base::string16 ShellDelegateImpl::GetProductName() const { | 178 base::string16 ShellDelegateImpl::GetProductName() const { |
| 173 return base::string16(); | 179 return base::string16(); |
| 174 } | 180 } |
| 175 | 181 |
| 176 } // namespace shell | 182 } // namespace shell |
| 177 } // namespace ash | 183 } // namespace ash |
| OLD | NEW |