Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: ash/default_user_wallpaper_delegate.h

Issue 190993003: Invalidate all wallpaper cache if display configuration changed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_USER_WALLPAPER_DELEGATE_H_ 5 #ifndef ASH_DEFAULT_USER_WALLPAPER_DELEGATE_H_
6 #define ASH_DEFAULT_USER_WALLPAPER_DELEGATE_H_ 6 #define ASH_DEFAULT_USER_WALLPAPER_DELEGATE_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/desktop_background/user_wallpaper_delegate.h" 9 #include "ash/desktop_background/user_wallpaper_delegate.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 12
13 namespace ash { 13 namespace ash {
14 14
15 class ASH_EXPORT DefaultUserWallpaperDelegate : public UserWallpaperDelegate { 15 class ASH_EXPORT DefaultUserWallpaperDelegate : public UserWallpaperDelegate {
16 public: 16 public:
17 DefaultUserWallpaperDelegate() {} 17 DefaultUserWallpaperDelegate() {}
18 virtual ~DefaultUserWallpaperDelegate() {} 18 virtual ~DefaultUserWallpaperDelegate() {}
19 19
20 // UserWallpaperDelegate overrides: 20 // UserWallpaperDelegate overrides:
21 virtual int GetAnimationType() OVERRIDE; 21 virtual int GetAnimationType() OVERRIDE;
22 virtual int GetAnimationDurationOverride() OVERRIDE; 22 virtual int GetAnimationDurationOverride() OVERRIDE;
23 virtual void SetAnimationDurationOverride( 23 virtual void SetAnimationDurationOverride(
24 int animation_duration_in_ms) OVERRIDE; 24 int animation_duration_in_ms) OVERRIDE;
25 virtual bool ShouldShowInitialAnimation() OVERRIDE; 25 virtual bool ShouldShowInitialAnimation() OVERRIDE;
26 virtual void UpdateWallpaper() OVERRIDE; 26 virtual void UpdateWallpaper(bool clear_cache) OVERRIDE;
27 virtual void InitializeWallpaper() OVERRIDE; 27 virtual void InitializeWallpaper() OVERRIDE;
28 virtual void OpenSetWallpaperPage() OVERRIDE; 28 virtual void OpenSetWallpaperPage() OVERRIDE;
29 virtual bool CanOpenSetWallpaperPage() OVERRIDE; 29 virtual bool CanOpenSetWallpaperPage() OVERRIDE;
30 virtual void OnWallpaperAnimationFinished() OVERRIDE; 30 virtual void OnWallpaperAnimationFinished() OVERRIDE;
31 virtual void OnWallpaperBootAnimationFinished() OVERRIDE; 31 virtual void OnWallpaperBootAnimationFinished() OVERRIDE;
32 32
33 private: 33 private:
34 DISALLOW_COPY_AND_ASSIGN(DefaultUserWallpaperDelegate); 34 DISALLOW_COPY_AND_ASSIGN(DefaultUserWallpaperDelegate);
35 }; 35 };
36 36
37 } // namespace ash 37 } // namespace ash
38 38
39 #endif // ASH_DEFAULT_USER_WALLPAPER_DELEGATE_H_ 39 #endif // ASH_DEFAULT_USER_WALLPAPER_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | ash/default_user_wallpaper_delegate.cc » ('j') | ash/desktop_background/desktop_background_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698