| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_DEFAULT_WALLPAPER_DELEGATE_H_ | 5 #ifndef ASH_DEFAULT_WALLPAPER_DELEGATE_H_ |
| 6 #define ASH_DEFAULT_WALLPAPER_DELEGATE_H_ | 6 #define ASH_DEFAULT_WALLPAPER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/common/wallpaper/wallpaper_delegate.h" | 9 #include "ash/wallpaper/wallpaper_delegate.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 | 11 |
| 12 namespace ash { | 12 namespace ash { |
| 13 | 13 |
| 14 class ASH_EXPORT DefaultWallpaperDelegate : public WallpaperDelegate { | 14 class ASH_EXPORT DefaultWallpaperDelegate : public WallpaperDelegate { |
| 15 public: | 15 public: |
| 16 DefaultWallpaperDelegate() {} | 16 DefaultWallpaperDelegate() {} |
| 17 ~DefaultWallpaperDelegate() override {} | 17 ~DefaultWallpaperDelegate() override {} |
| 18 | 18 |
| 19 // WallpaperDelegate overrides: | 19 // WallpaperDelegate overrides: |
| 20 int GetAnimationType() override; | 20 int GetAnimationType() override; |
| 21 int GetAnimationDurationOverride() override; | 21 int GetAnimationDurationOverride() override; |
| 22 void SetAnimationDurationOverride(int animation_duration_in_ms) override; | 22 void SetAnimationDurationOverride(int animation_duration_in_ms) override; |
| 23 bool ShouldShowInitialAnimation() override; | 23 bool ShouldShowInitialAnimation() override; |
| 24 void UpdateWallpaper(bool clear_cache) override; | 24 void UpdateWallpaper(bool clear_cache) override; |
| 25 void InitializeWallpaper() override; | 25 void InitializeWallpaper() override; |
| 26 bool CanOpenSetWallpaperPage() override; | 26 bool CanOpenSetWallpaperPage() override; |
| 27 void OnWallpaperAnimationFinished() override; | 27 void OnWallpaperAnimationFinished() override; |
| 28 void OnWallpaperBootAnimationFinished() override; | 28 void OnWallpaperBootAnimationFinished() override; |
| 29 | 29 |
| 30 private: | 30 private: |
| 31 DISALLOW_COPY_AND_ASSIGN(DefaultWallpaperDelegate); | 31 DISALLOW_COPY_AND_ASSIGN(DefaultWallpaperDelegate); |
| 32 }; | 32 }; |
| 33 | 33 |
| 34 } // namespace ash | 34 } // namespace ash |
| 35 | 35 |
| 36 #endif // ASH_DEFAULT_WALLPAPER_DELEGATE_H_ | 36 #endif // ASH_DEFAULT_WALLPAPER_DELEGATE_H_ |
| OLD | NEW |