summaryrefslogtreecommitdiffstats
path: root/ash/default_user_wallpaper_delegate.h
blob: ad7da6c939a1351cddc86ad50c908f98236c32db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// 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 int GetAnimationDurationOverride() OVERRIDE;
  virtual void SetAnimationDurationOverride(
      int animation_duration_in_ms) OVERRIDE;
  virtual bool ShouldShowInitialAnimation() OVERRIDE;
  virtual void UpdateWallpaper(bool clear_cache) 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_