OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_MUS_WALLPAPER_DELEGATE_MUS_H_ | 5 #ifndef ASH_MUS_WALLPAPER_DELEGATE_MUS_H_ |
6 #define ASH_MUS_WALLPAPER_DELEGATE_MUS_H_ | 6 #define ASH_MUS_WALLPAPER_DELEGATE_MUS_H_ |
7 | 7 |
8 #include "ash/common/wallpaper/wallpaper_delegate.h" | 8 #include "ash/wallpaper/wallpaper_delegate.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 | 10 |
11 namespace ash { | 11 namespace ash { |
12 | 12 |
13 class WallpaperDelegateMus : public WallpaperDelegate { | 13 class WallpaperDelegateMus : public WallpaperDelegate { |
14 public: | 14 public: |
15 WallpaperDelegateMus(); | 15 WallpaperDelegateMus(); |
16 ~WallpaperDelegateMus() override; | 16 ~WallpaperDelegateMus() override; |
17 | 17 |
18 private: | 18 private: |
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 DISALLOW_COPY_AND_ASSIGN(WallpaperDelegateMus); | 30 DISALLOW_COPY_AND_ASSIGN(WallpaperDelegateMus); |
31 }; | 31 }; |
32 | 32 |
33 } // namespace ash | 33 } // namespace ash |
34 | 34 |
35 #endif // ASH_MUS_WALLPAPER_DELEGATE_MUS_H_ | 35 #endif // ASH_MUS_WALLPAPER_DELEGATE_MUS_H_ |
OLD | NEW |