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.
5 #include "ash/default_user_wallpaper_delegate.h"
7 #include "ash/desktop_background/desktop_background_controller.h"
12 int DefaultUserWallpaperDelegate::GetAnimationType() {
13 return views::corewm::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE
;
16 int DefaultUserWallpaperDelegate::GetAnimationDurationOverride() {
20 void DefaultUserWallpaperDelegate::SetAnimationDurationOverride(
21 int animation_duration_in_ms
) {
24 bool DefaultUserWallpaperDelegate::ShouldShowInitialAnimation() {
28 void DefaultUserWallpaperDelegate::UpdateWallpaper() {
31 void DefaultUserWallpaperDelegate::InitializeWallpaper() {
32 ash::Shell::GetInstance()->desktop_background_controller()->
33 CreateEmptyWallpaper();
36 void DefaultUserWallpaperDelegate::OpenSetWallpaperPage() {
39 bool DefaultUserWallpaperDelegate::CanOpenSetWallpaperPage() {
43 void DefaultUserWallpaperDelegate::OnWallpaperAnimationFinished() {
46 void DefaultUserWallpaperDelegate::OnWallpaperBootAnimationFinished() {