| OLD | NEW |
| (Empty) |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "ash/default_user_wallpaper_delegate.h" | |
| 6 | |
| 7 #include "ash/desktop_background/desktop_background_controller.h" | |
| 8 #include "ash/shell.h" | |
| 9 #include "ui/wm/core/window_animations.h" | |
| 10 | |
| 11 namespace ash { | |
| 12 | |
| 13 int DefaultUserWallpaperDelegate::GetAnimationType() { | |
| 14 return ::wm::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE; | |
| 15 } | |
| 16 | |
| 17 int DefaultUserWallpaperDelegate::GetAnimationDurationOverride() { | |
| 18 return 0; | |
| 19 } | |
| 20 | |
| 21 void DefaultUserWallpaperDelegate::SetAnimationDurationOverride( | |
| 22 int animation_duration_in_ms) {} | |
| 23 | |
| 24 bool DefaultUserWallpaperDelegate::ShouldShowInitialAnimation() { | |
| 25 return false; | |
| 26 } | |
| 27 | |
| 28 void DefaultUserWallpaperDelegate::UpdateWallpaper(bool clear_cache) {} | |
| 29 | |
| 30 void DefaultUserWallpaperDelegate::InitializeWallpaper() { | |
| 31 ash::Shell::GetInstance() | |
| 32 ->desktop_background_controller() | |
| 33 ->CreateEmptyWallpaper(); | |
| 34 } | |
| 35 | |
| 36 void DefaultUserWallpaperDelegate::OpenSetWallpaperPage() {} | |
| 37 | |
| 38 bool DefaultUserWallpaperDelegate::CanOpenSetWallpaperPage() { | |
| 39 return false; | |
| 40 } | |
| 41 | |
| 42 void DefaultUserWallpaperDelegate::OnWallpaperAnimationFinished() {} | |
| 43 | |
| 44 void DefaultUserWallpaperDelegate::OnWallpaperBootAnimationFinished() {} | |
| 45 | |
| 46 } // namespace ash | |
| OLD | NEW |