| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_DESKTOP_BACKGROUND_USER_WALLPAPER_DELEGATE_H_ | 5 #ifndef ASH_DESKTOP_BACKGROUND_USER_WALLPAPER_DELEGATE_H_ |
| 6 #define ASH_DESKTOP_BACKGROUND_USER_WALLPAPER_DELEGATE_H_ | 6 #define ASH_DESKTOP_BACKGROUND_USER_WALLPAPER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ui/views/corewm/window_animations.h" | 9 #include "ui/wm/core/window_animations.h" |
| 10 | 10 |
| 11 namespace ash { | 11 namespace ash { |
| 12 | 12 |
| 13 class ASH_EXPORT UserWallpaperDelegate { | 13 class ASH_EXPORT UserWallpaperDelegate { |
| 14 public: | 14 public: |
| 15 virtual ~UserWallpaperDelegate() {} | 15 virtual ~UserWallpaperDelegate() {} |
| 16 | 16 |
| 17 // Returns the type of window animation that should be used when showing the | 17 // Returns the type of window animation that should be used when showing the |
| 18 // wallpaper. | 18 // wallpaper. |
| 19 virtual int GetAnimationType() = 0; | 19 virtual int GetAnimationType() = 0; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 47 // Notifies delegate that wallpaper animation has finished. | 47 // Notifies delegate that wallpaper animation has finished. |
| 48 virtual void OnWallpaperAnimationFinished() = 0; | 48 virtual void OnWallpaperAnimationFinished() = 0; |
| 49 | 49 |
| 50 // Notifies delegate that wallpaper boot animation has finished. | 50 // Notifies delegate that wallpaper boot animation has finished. |
| 51 virtual void OnWallpaperBootAnimationFinished() = 0; | 51 virtual void OnWallpaperBootAnimationFinished() = 0; |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 } // namespace ash | 54 } // namespace ash |
| 55 | 55 |
| 56 #endif // ASH_DESKTOP_BACKGROUND_USER_WALLPAPER_DELEGATE_H_ | 56 #endif // ASH_DESKTOP_BACKGROUND_USER_WALLPAPER_DELEGATE_H_ |
| OLD | NEW |