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

Side by Side Diff: ash/default_wallpaper_delegate.h

Issue 2413503002: Cleanup mojo Wallpaper interfaces for mash. (Closed)
Patch Set: Sync and rebase again... Created 4 years, 2 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
« no previous file with comments | « ash/common/wm_shell.h ('k') | ash/default_wallpaper_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_WALLPAPER_DELEGATE_H_ 5 #ifndef ASH_DEFAULT_WALLPAPER_DELEGATE_H_
6 #define ASH_DEFAULT_WALLPAPER_DELEGATE_H_ 6 #define ASH_DEFAULT_WALLPAPER_DELEGATE_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/wallpaper/wallpaper_delegate.h" 9 #include "ash/common/wallpaper/wallpaper_delegate.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 11
12 namespace ash { 12 namespace ash {
13 13
14 class ASH_EXPORT DefaultWallpaperDelegate : public WallpaperDelegate { 14 class ASH_EXPORT DefaultWallpaperDelegate : public WallpaperDelegate {
15 public: 15 public:
16 DefaultWallpaperDelegate() {} 16 DefaultWallpaperDelegate() {}
17 ~DefaultWallpaperDelegate() override {} 17 ~DefaultWallpaperDelegate() override {}
18 18
19 // WallpaperDelegate overrides: 19 // WallpaperDelegate overrides:
20 int GetAnimationType() override; 20 int GetAnimationType() override;
21 int GetAnimationDurationOverride() override; 21 int GetAnimationDurationOverride() override;
22 void SetAnimationDurationOverride(int animation_duration_in_ms) override; 22 void SetAnimationDurationOverride(int animation_duration_in_ms) override;
23 bool ShouldShowInitialAnimation() override; 23 bool ShouldShowInitialAnimation() override;
24 void UpdateWallpaper(bool clear_cache) override; 24 void UpdateWallpaper(bool clear_cache) override;
25 void InitializeWallpaper() override; 25 void InitializeWallpaper() override;
26 void OpenSetWallpaperPage() override;
27 bool CanOpenSetWallpaperPage() override; 26 bool CanOpenSetWallpaperPage() override;
28 void OnWallpaperAnimationFinished() override; 27 void OnWallpaperAnimationFinished() override;
29 void OnWallpaperBootAnimationFinished() override; 28 void OnWallpaperBootAnimationFinished() override;
30 29
31 private: 30 private:
32 DISALLOW_COPY_AND_ASSIGN(DefaultWallpaperDelegate); 31 DISALLOW_COPY_AND_ASSIGN(DefaultWallpaperDelegate);
33 }; 32 };
34 33
35 } // namespace ash 34 } // namespace ash
36 35
37 #endif // ASH_DEFAULT_WALLPAPER_DELEGATE_H_ 36 #endif // ASH_DEFAULT_WALLPAPER_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/common/wm_shell.h ('k') | ash/default_wallpaper_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698