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

Side by Side Diff: ash/shell_delegate.h

Issue 9764012: Restore to user selected wallpaper after browser crash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Create a dummy class to fix test fail. Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « ash/shell/shell_main.cc ('k') | ash/test/test_shell_delegate.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_SHELL_DELEGATE_H_ 5 #ifndef ASH_SHELL_DELEGATE_H_
6 #define ASH_SHELL_DELEGATE_H_ 6 #define ASH_SHELL_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 namespace ash { 24 namespace ash {
25 25
26 class AppListViewDelegate; 26 class AppListViewDelegate;
27 class LauncherDelegate; 27 class LauncherDelegate;
28 class LauncherModel; 28 class LauncherModel;
29 struct LauncherItem; 29 struct LauncherItem;
30 class ScreenshotDelegate; 30 class ScreenshotDelegate;
31 class SystemTray; 31 class SystemTray;
32 class SystemTrayDelegate; 32 class SystemTrayDelegate;
33 class UserWallpaperDelegate;
33 34
34 // Delegate of the Shell. 35 // Delegate of the Shell.
35 class ASH_EXPORT ShellDelegate { 36 class ASH_EXPORT ShellDelegate {
36 public: 37 public:
37 // Source requesting the window list. 38 // Source requesting the window list.
38 enum CycleSource { 39 enum CycleSource {
39 // Windows are going to be used for alt-tab (or F5). 40 // Windows are going to be used for alt-tab (or F5).
40 SOURCE_KEYBOARD, 41 SOURCE_KEYBOARD,
41 42
42 // Windows are going to be cycled from the launcher. 43 // Windows are going to be cycled from the launcher.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 virtual void StartPartialScreenshot( 78 virtual void StartPartialScreenshot(
78 ScreenshotDelegate* screenshot_delegate) = 0; 79 ScreenshotDelegate* screenshot_delegate) = 0;
79 80
80 // Creates a new LauncherDelegate. Shell takes ownership of the returned 81 // Creates a new LauncherDelegate. Shell takes ownership of the returned
81 // value. 82 // value.
82 virtual LauncherDelegate* CreateLauncherDelegate( 83 virtual LauncherDelegate* CreateLauncherDelegate(
83 ash::LauncherModel* model) = 0; 84 ash::LauncherModel* model) = 0;
84 85
85 // Creates a system-tray delegate. Shell takes ownership of the delegate. 86 // Creates a system-tray delegate. Shell takes ownership of the delegate.
86 virtual SystemTrayDelegate* CreateSystemTrayDelegate(SystemTray* tray) = 0; 87 virtual SystemTrayDelegate* CreateSystemTrayDelegate(SystemTray* tray) = 0;
88
89 // Creates a user wallpaper delegate. Shell takes ownership of the delegate.
90 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0;
87 }; 91 };
88 92
89 } // namespace ash 93 } // namespace ash
90 94
91 #endif // ASH_SHELL_DELEGATE_H_ 95 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell/shell_main.cc ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698