| // Copyright 2013 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef ASH_DEFAULT_USER_WALLPAPER_DELEGATE_H_ |
| #define ASH_DEFAULT_USER_WALLPAPER_DELEGATE_H_ |
| |
| #include "ash/ash_export.h" |
| #include "ash/desktop_background/user_wallpaper_delegate.h" |
| #include "base/basictypes.h" |
| #include "base/compiler_specific.h" |
| |
| namespace ash { |
| |
| class ASH_EXPORT DefaultUserWallpaperDelegate : public UserWallpaperDelegate { |
| public: |
| DefaultUserWallpaperDelegate() {} |
| ~DefaultUserWallpaperDelegate() override {} |
| |
| // UserWallpaperDelegate overrides: |
| int GetAnimationType() override; |
| int GetAnimationDurationOverride() override; |
| void SetAnimationDurationOverride(int animation_duration_in_ms) override; |
| bool ShouldShowInitialAnimation() override; |
| void UpdateWallpaper(bool clear_cache) override; |
| void InitializeWallpaper() override; |
| void OpenSetWallpaperPage() override; |
| bool CanOpenSetWallpaperPage() override; |
| void OnWallpaperAnimationFinished() override; |
| void OnWallpaperBootAnimationFinished() override; |
| |
| private: |
| DISALLOW_COPY_AND_ASSIGN(DefaultUserWallpaperDelegate); |
| }; |
| |
| } // namespace ash |
| |
| #endif // ASH_DEFAULT_USER_WALLPAPER_DELEGATE_H_ |