| 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_COMMON_WALLPAPER_WALLPAPER_DELEGATE_H_ | 5 #ifndef ASH_COMMON_WALLPAPER_WALLPAPER_DELEGATE_H_ |
| 6 #define ASH_COMMON_WALLPAPER_WALLPAPER_DELEGATE_H_ | 6 #define ASH_COMMON_WALLPAPER_WALLPAPER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 | 9 |
| 10 namespace ash { | 10 namespace ash { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 // cache should be cleared. This is required when the display's native | 34 // cache should be cleared. This is required when the display's native |
| 35 // resolution changes to a larger resolution (e.g. when hooked up a large | 35 // resolution changes to a larger resolution (e.g. when hooked up a large |
| 36 // external display) and we need to load a larger resolution wallpaper for the | 36 // external display) and we need to load a larger resolution wallpaper for the |
| 37 // large display. All the previous small resolution wallpaper cache should be | 37 // large display. All the previous small resolution wallpaper cache should be |
| 38 // cleared. | 38 // cleared. |
| 39 virtual void UpdateWallpaper(bool clear_cache) = 0; | 39 virtual void UpdateWallpaper(bool clear_cache) = 0; |
| 40 | 40 |
| 41 // Initialize wallpaper. | 41 // Initialize wallpaper. |
| 42 virtual void InitializeWallpaper() = 0; | 42 virtual void InitializeWallpaper() = 0; |
| 43 | 43 |
| 44 // Opens the set wallpaper page in the browser. | |
| 45 virtual void OpenSetWallpaperPage() = 0; | |
| 46 | |
| 47 // Returns true if user can open set wallpaper page. | 44 // Returns true if user can open set wallpaper page. |
| 48 virtual bool CanOpenSetWallpaperPage() = 0; | 45 virtual bool CanOpenSetWallpaperPage() = 0; |
| 49 | 46 |
| 50 // Notifies delegate that wallpaper animation has finished. | 47 // Notifies delegate that wallpaper animation has finished. |
| 51 virtual void OnWallpaperAnimationFinished() = 0; | 48 virtual void OnWallpaperAnimationFinished() = 0; |
| 52 | 49 |
| 53 // Notifies delegate that wallpaper boot animation has finished. | 50 // Notifies delegate that wallpaper boot animation has finished. |
| 54 virtual void OnWallpaperBootAnimationFinished() = 0; | 51 virtual void OnWallpaperBootAnimationFinished() = 0; |
| 55 }; | 52 }; |
| 56 | 53 |
| 57 } // namespace ash | 54 } // namespace ash |
| 58 | 55 |
| 59 #endif // ASH_COMMON_WALLPAPER_WALLPAPER_DELEGATE_H_ | 56 #endif // ASH_COMMON_WALLPAPER_WALLPAPER_DELEGATE_H_ |
| OLD | NEW |