summaryrefslogtreecommitdiffstats
path: root/ash/default_user_wallpaper_delegate.h
blob: 80e20b1bbf33a108da5d738e42596a20472426f4 (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
// 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/compiler_specific.h"
#include "base/macros.h"

namespace ash {

class ASH_EXPORT DefaultUserWallpaperDelegate : public UserWallpaperDelegate {
 public:
  DefaultUserWallpaperDelegate() {}
  ~DefaultUserWallpaperDelegate() override {}

  // UserWallpaperDelegate overrides:
  int GetAnimationType() override;
  int GetAnimationDurationOverride() override;
  void SetAnimationDurationOverride(int animation_duration_in_ms) override;
  bool ShouldShowInitialAnimation() override;
  void UpdateWallpaper(bool clear_cache) override;
  void InitializeWallpaper() override;
  void OpenSetWallpaperPage() override;
  bool CanOpenSetWallpaperPage() override;
  void OnWallpaperAnimationFinished() override;
  void OnWallpaperBootAnimationFinished() override;

 private:
  DISALLOW_COPY_AND_ASSIGN(DefaultUserWallpaperDelegate);
};

}  // namespace ash

#endif  // ASH_DEFAULT_USER_WALLPAPER_DELEGATE_H_