Stop early exit watcher in BrowserChildProcessHostImpl::OnChildDisconnected
[chromium-blink-merge.git] / ash / default_user_wallpaper_delegate.cc
blobc6a5587e175afa997af58a4ddfa61b0b0a2dd25f
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"
9 #include "ui/wm/core/window_animations.h"
11 namespace ash {
13 int DefaultUserWallpaperDelegate::GetAnimationType() {
14 return wm::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE;
17 int DefaultUserWallpaperDelegate::GetAnimationDurationOverride() {
18 return 0;
21 void DefaultUserWallpaperDelegate::SetAnimationDurationOverride(
22 int animation_duration_in_ms) {
25 bool DefaultUserWallpaperDelegate::ShouldShowInitialAnimation() {
26 return false;
29 void DefaultUserWallpaperDelegate::UpdateWallpaper(bool clear_cache) {
32 void DefaultUserWallpaperDelegate::InitializeWallpaper() {
33 ash::Shell::GetInstance()->desktop_background_controller()->
34 CreateEmptyWallpaper();
37 void DefaultUserWallpaperDelegate::OpenSetWallpaperPage() {
40 bool DefaultUserWallpaperDelegate::CanOpenSetWallpaperPage() {
41 return false;
44 void DefaultUserWallpaperDelegate::OnWallpaperAnimationFinished() {
47 void DefaultUserWallpaperDelegate::OnWallpaperBootAnimationFinished() {
50 } // namespace ash