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

Unified Diff: ash/default_user_wallpaper_delegate.h

Issue 24499002: Reload wallpaper when display configuration changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/ash.gyp ('k') | ash/default_user_wallpaper_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/default_user_wallpaper_delegate.h
diff --git a/ash/default_user_wallpaper_delegate.h b/ash/default_user_wallpaper_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..2e22e3054751db2b6f5190d69b4cf1211072ecde
--- /dev/null
+++ b/ash/default_user_wallpaper_delegate.h
@@ -0,0 +1,36 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_DEFAULT_USER_WALLPAPER_DELEGATE_H_
+#define ASH_DEFAULT_USER_WALLPAPER_DELEGATE_H_
+
+#include "ash/ash_export.h"
+#include "ash/desktop_background/user_wallpaper_delegate.h"
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+
+namespace ash {
+
+class ASH_EXPORT DefaultUserWallpaperDelegate : public UserWallpaperDelegate {
+ public:
+ DefaultUserWallpaperDelegate() {}
+ virtual ~DefaultUserWallpaperDelegate() {}
+
+ // UserWallpaperDelegate overrides:
+ virtual int GetAnimationType() OVERRIDE;
+ virtual bool ShouldShowInitialAnimation() OVERRIDE;
+ virtual void UpdateWallpaper() OVERRIDE;
+ virtual void InitializeWallpaper() OVERRIDE;
+ virtual void OpenSetWallpaperPage() OVERRIDE;
+ virtual bool CanOpenSetWallpaperPage() OVERRIDE;
+ virtual void OnWallpaperAnimationFinished() OVERRIDE;
+ virtual void OnWallpaperBootAnimationFinished() OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DefaultUserWallpaperDelegate);
+};
+
+} // namespace ash
+
+#endif // ASH_DEFAULT_USER_WALLPAPER_DELEGATE_H_
« no previous file with comments | « ash/ash.gyp ('k') | ash/default_user_wallpaper_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698