Added unit test for base/hash.
[chromium-blink-merge.git] / ash / default_user_wallpaper_delegate.cc
blob5caddf0050dfa064e5c8baf53b74ac4a393ba00d
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"
8 #include "ash/shell.h"
10 namespace ash {
12 int DefaultUserWallpaperDelegate::GetAnimationType() {
13 return views::corewm::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE;
16 int DefaultUserWallpaperDelegate::GetAnimationDurationOverride() {
17 return 0;
20 void DefaultUserWallpaperDelegate::SetAnimationDurationOverride(
21 int animation_duration_in_ms) {
24 bool DefaultUserWallpaperDelegate::ShouldShowInitialAnimation() {
25 return false;
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() {
40 return false;
43 void DefaultUserWallpaperDelegate::OnWallpaperAnimationFinished() {
46 void DefaultUserWallpaperDelegate::OnWallpaperBootAnimationFinished() {
49 } // namespace ash