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 #ifndef ASH_DEFAULT_USER_WALLPAPER_DELEGATE_H_
6 #define ASH_DEFAULT_USER_WALLPAPER_DELEGATE_H_
8 #include "ash/ash_export.h"
9 #include "ash/desktop_background/user_wallpaper_delegate.h"
10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h"
15 class ASH_EXPORT DefaultUserWallpaperDelegate
: public UserWallpaperDelegate
{
17 DefaultUserWallpaperDelegate() {}
18 virtual ~DefaultUserWallpaperDelegate() {}
20 // UserWallpaperDelegate overrides:
21 virtual int GetAnimationType() OVERRIDE
;
22 virtual int GetAnimationDurationOverride() OVERRIDE
;
23 virtual void SetAnimationDurationOverride(
24 int animation_duration_in_ms
) OVERRIDE
;
25 virtual bool ShouldShowInitialAnimation() OVERRIDE
;
26 virtual void UpdateWallpaper(bool clear_cache
) OVERRIDE
;
27 virtual void InitializeWallpaper() OVERRIDE
;
28 virtual void OpenSetWallpaperPage() OVERRIDE
;
29 virtual bool CanOpenSetWallpaperPage() OVERRIDE
;
30 virtual void OnWallpaperAnimationFinished() OVERRIDE
;
31 virtual void OnWallpaperBootAnimationFinished() OVERRIDE
;
34 DISALLOW_COPY_AND_ASSIGN(DefaultUserWallpaperDelegate
);
39 #endif // ASH_DEFAULT_USER_WALLPAPER_DELEGATE_H_