summaryrefslogtreecommitdiffstats
path: root/ash/default_user_wallpaper_delegate.h
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-26 07:57:10 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-26 07:57:10 +0000
commita7611df27b71e52c3792491c08b956e76d98178f (patch)
tree75b325c2db0da0d3d5956ae5d7d0c3b3a1dcd7bc /ash/default_user_wallpaper_delegate.h
parent9efec3acd222178d1bfee84799d47dd393894f61 (diff)
downloadchromium_src-a7611df27b71e52c3792491c08b956e76d98178f.zip
chromium_src-a7611df27b71e52c3792491c08b956e76d98178f.tar.gz
chromium_src-a7611df27b71e52c3792491c08b956e76d98178f.tar.bz2
Reload wallpaper when display configuration changes.
BUG=285365,239849 R=bshe@chromium.org Review URL: https://codereview.chromium.org/24499002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/default_user_wallpaper_delegate.h')
-rw-r--r--ash/default_user_wallpaper_delegate.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/ash/default_user_wallpaper_delegate.h b/ash/default_user_wallpaper_delegate.h
new file mode 100644
index 0000000..2e22e30
--- /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_