| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/sysui/shell_delegate_mus.h" | 5 #include "ash/sysui/shell_delegate_mus.h" |
| 6 | 6 |
| 7 #include "ash/default_accessibility_delegate.h" | 7 #include "ash/default_accessibility_delegate.h" |
| 8 #include "ash/default_user_wallpaper_delegate.h" | |
| 9 #include "ash/gpu_support_stub.h" | 8 #include "ash/gpu_support_stub.h" |
| 10 #include "ash/media_delegate.h" | 9 #include "ash/media_delegate.h" |
| 11 #include "ash/session/session_state_delegate.h" | 10 #include "ash/session/session_state_delegate.h" |
| 12 #include "ash/system/tray/default_system_tray_delegate.h" | 11 #include "ash/system/tray/default_system_tray_delegate.h" |
| 13 #include "ash/sysui/app_list_presenter_mus.h" | 12 #include "ash/sysui/app_list_presenter_mus.h" |
| 14 #include "ash/sysui/container_delegate_mus.h" | 13 #include "ash/sysui/container_delegate_mus.h" |
| 15 #include "ash/sysui/context_menu_mus.h" | 14 #include "ash/sysui/context_menu_mus.h" |
| 16 #include "ash/sysui/pointer_watcher_delegate_mus.h" | 15 #include "ash/sysui/pointer_watcher_delegate_mus.h" |
| 17 #include "ash/sysui/shelf_delegate_mus.h" | 16 #include "ash/sysui/shelf_delegate_mus.h" |
| 17 #include "ash/sysui/user_wallpaper_delegate_mus.h" |
| 18 #include "base/memory/ptr_util.h" | 18 #include "base/memory/ptr_util.h" |
| 19 #include "base/strings/string16.h" | 19 #include "base/strings/string16.h" |
| 20 #include "components/user_manager/user_info_impl.h" | 20 #include "components/user_manager/user_info_impl.h" |
| 21 #include "ui/app_list/presenter/app_list_presenter.h" | 21 #include "ui/app_list/presenter/app_list_presenter.h" |
| 22 #include "ui/gfx/image/image.h" | 22 #include "ui/gfx/image/image.h" |
| 23 | 23 |
| 24 namespace ash { | 24 namespace ash { |
| 25 namespace sysui { | 25 namespace sysui { |
| 26 | 26 |
| 27 namespace { | 27 namespace { |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 ShelfDelegate* ShellDelegateMus::CreateShelfDelegate(ShelfModel* model) { | 178 ShelfDelegate* ShellDelegateMus::CreateShelfDelegate(ShelfModel* model) { |
| 179 return new ShelfDelegateMus(model); | 179 return new ShelfDelegateMus(model); |
| 180 } | 180 } |
| 181 | 181 |
| 182 SystemTrayDelegate* ShellDelegateMus::CreateSystemTrayDelegate() { | 182 SystemTrayDelegate* ShellDelegateMus::CreateSystemTrayDelegate() { |
| 183 NOTIMPLEMENTED() << " Using the default SystemTrayDelegate implementation"; | 183 NOTIMPLEMENTED() << " Using the default SystemTrayDelegate implementation"; |
| 184 return new DefaultSystemTrayDelegate; | 184 return new DefaultSystemTrayDelegate; |
| 185 } | 185 } |
| 186 | 186 |
| 187 UserWallpaperDelegate* ShellDelegateMus::CreateUserWallpaperDelegate() { | 187 UserWallpaperDelegate* ShellDelegateMus::CreateUserWallpaperDelegate() { |
| 188 NOTIMPLEMENTED() << " Using the default UserWallpaperDelegate implementation"; | 188 return new UserWallpaperDelegateMus(); |
| 189 return new DefaultUserWallpaperDelegate(); | |
| 190 } | 189 } |
| 191 | 190 |
| 192 SessionStateDelegate* ShellDelegateMus::CreateSessionStateDelegate() { | 191 SessionStateDelegate* ShellDelegateMus::CreateSessionStateDelegate() { |
| 193 NOTIMPLEMENTED() << " Using a stub SessionStateDeleagte implementation"; | 192 NOTIMPLEMENTED() << " Using a stub SessionStateDeleagte implementation"; |
| 194 return new SessionStateDelegateStub; | 193 return new SessionStateDelegateStub; |
| 195 } | 194 } |
| 196 | 195 |
| 197 AccessibilityDelegate* ShellDelegateMus::CreateAccessibilityDelegate() { | 196 AccessibilityDelegate* ShellDelegateMus::CreateAccessibilityDelegate() { |
| 198 NOTIMPLEMENTED() << " Using the default AccessibilityDelegate implementation"; | 197 NOTIMPLEMENTED() << " Using the default AccessibilityDelegate implementation"; |
| 199 return new DefaultAccessibilityDelegate; | 198 return new DefaultAccessibilityDelegate; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 return base::string16(); | 232 return base::string16(); |
| 234 } | 233 } |
| 235 | 234 |
| 236 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const { | 235 gfx::Image ShellDelegateMus::GetDeprecatedAcceleratorImage() const { |
| 237 NOTIMPLEMENTED(); | 236 NOTIMPLEMENTED(); |
| 238 return gfx::Image(); | 237 return gfx::Image(); |
| 239 } | 238 } |
| 240 | 239 |
| 241 } // namespace sysui | 240 } // namespace sysui |
| 242 } // namespace ash | 241 } // namespace ash |
| OLD | NEW |