Home | History | Annotate | Download | only in ash
      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 
     10 namespace ash {
     11 
     12 int DefaultUserWallpaperDelegate::GetAnimationType() {
     13   return views::corewm::WINDOW_VISIBILITY_ANIMATION_TYPE_FADE;
     14 }
     15 
     16 bool DefaultUserWallpaperDelegate::ShouldShowInitialAnimation() {
     17   return false;
     18 }
     19 
     20 void DefaultUserWallpaperDelegate::UpdateWallpaper() {
     21 }
     22 
     23 void DefaultUserWallpaperDelegate::InitializeWallpaper() {
     24   ash::Shell::GetInstance()->desktop_background_controller()->
     25       CreateEmptyWallpaper();
     26 }
     27 
     28 void DefaultUserWallpaperDelegate::OpenSetWallpaperPage() {
     29 }
     30 
     31 bool DefaultUserWallpaperDelegate::CanOpenSetWallpaperPage() {
     32   return false;
     33 }
     34 
     35 void DefaultUserWallpaperDelegate::OnWallpaperAnimationFinished() {
     36 }
     37 
     38 void DefaultUserWallpaperDelegate::OnWallpaperBootAnimationFinished() {
     39 }
     40 
     41 }  // namespace ash
     42