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

Side by Side Diff: ash/common/wallpaper/wallpaper_delegate.h

Issue 2271373002: mash: Port mojo:ash_sysui's ContextMenuMus to mojo:ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 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 unified diff | Download patch
« no previous file with comments | « ash/common/shell_delegate.h ('k') | ash/common/wm_shell.h » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_DESKTOP_BACKGROUND_USER_WALLPAPER_DELEGATE_H_ 5 #ifndef ASH_COMMON_WALLPAPER_WALLPAPER_DELEGATE_H_
6 #define ASH_DESKTOP_BACKGROUND_USER_WALLPAPER_DELEGATE_H_ 6 #define ASH_COMMON_WALLPAPER_WALLPAPER_DELEGATE_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 9
10 namespace ash { 10 namespace ash {
11 11
12 class ASH_EXPORT UserWallpaperDelegate { 12 class ASH_EXPORT WallpaperDelegate {
13 public: 13 public:
14 virtual ~UserWallpaperDelegate() {} 14 virtual ~WallpaperDelegate() {}
15 15
16 // Returns the type of window animation that should be used when showing the 16 // Returns the type of window animation that should be used when showing the
17 // wallpaper. 17 // wallpaper.
18 virtual int GetAnimationType() = 0; 18 virtual int GetAnimationType() = 0;
19 19
20 // Returns the wallpaper animation duration in ms. A value of 0 indicates 20 // Returns the wallpaper animation duration in ms. A value of 0 indicates
21 // that the default should be used. 21 // that the default should be used.
22 virtual int GetAnimationDurationOverride() = 0; 22 virtual int GetAnimationDurationOverride() = 0;
23 23
24 // Sets wallpaper animation duration in ms. Pass 0 to use the default. 24 // Sets wallpaper animation duration in ms. Pass 0 to use the default.
(...skipping 24 matching lines...) Expand all
49 49
50 // Notifies delegate that wallpaper animation has finished. 50 // Notifies delegate that wallpaper animation has finished.
51 virtual void OnWallpaperAnimationFinished() = 0; 51 virtual void OnWallpaperAnimationFinished() = 0;
52 52
53 // Notifies delegate that wallpaper boot animation has finished. 53 // Notifies delegate that wallpaper boot animation has finished.
54 virtual void OnWallpaperBootAnimationFinished() = 0; 54 virtual void OnWallpaperBootAnimationFinished() = 0;
55 }; 55 };
56 56
57 } // namespace ash 57 } // namespace ash
58 58
59 #endif // ASH_DESKTOP_BACKGROUND_USER_WALLPAPER_DELEGATE_H_ 59 #endif // ASH_COMMON_WALLPAPER_WALLPAPER_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/common/shell_delegate.h ('k') | ash/common/wm_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698