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

Side by Side Diff: ash/shell_delegate.h

Issue 10056001: chromeos: Remove old status-area related code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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_delegate_impl.cc ('k') | ash/status_area/status_area_view.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 20 matching lines...) Expand all
31 class SystemTray; 31 class SystemTray;
32 class SystemTrayDelegate; 32 class SystemTrayDelegate;
33 class UserWallpaperDelegate; 33 class UserWallpaperDelegate;
34 34
35 // Delegate of the Shell. 35 // Delegate of the Shell.
36 class ASH_EXPORT ShellDelegate { 36 class ASH_EXPORT ShellDelegate {
37 public: 37 public:
38 // The Shell owns the delegate. 38 // The Shell owns the delegate.
39 virtual ~ShellDelegate() {} 39 virtual ~ShellDelegate() {}
40 40
41 // Invoked to create a new status area. Can return NULL.
42 virtual views::Widget* CreateStatusArea() = 0;
43
44 // Returns true if user has logged in. 41 // Returns true if user has logged in.
45 virtual bool IsUserLoggedIn() = 0; 42 virtual bool IsUserLoggedIn() = 0;
46 43
47 // Invoked when a user locks the screen. 44 // Invoked when a user locks the screen.
48 virtual void LockScreen() = 0; 45 virtual void LockScreen() = 0;
49 46
50 // Unlock the screen. Currently used only for tests. 47 // Unlock the screen. Currently used only for tests.
51 virtual void UnlockScreen() = 0; 48 virtual void UnlockScreen() = 0;
52 49
53 // Returns true if the screen is currently locked. 50 // Returns true if the screen is currently locked.
(...skipping 21 matching lines...) Expand all
75 // Creates a system-tray delegate. Shell takes ownership of the delegate. 72 // Creates a system-tray delegate. Shell takes ownership of the delegate.
76 virtual SystemTrayDelegate* CreateSystemTrayDelegate(SystemTray* tray) = 0; 73 virtual SystemTrayDelegate* CreateSystemTrayDelegate(SystemTray* tray) = 0;
77 74
78 // Creates a user wallpaper delegate. Shell takes ownership of the delegate. 75 // Creates a user wallpaper delegate. Shell takes ownership of the delegate.
79 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0; 76 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0;
80 }; 77 };
81 78
82 } // namespace ash 79 } // namespace ash
83 80
84 #endif // ASH_SHELL_DELEGATE_H_ 81 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/status_area/status_area_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698