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

Side by Side Diff: ash/shell_delegate.h

Issue 14139003: Chrome OS multi-profiles backend and UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move IsMultiProfilesEnabled() out of cros Created 7 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/system/tray/system_tray_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 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 virtual bool IsSessionStarted() const = 0; 105 virtual bool IsSessionStarted() const = 0;
106 106
107 // Returns true if we're logged in as guest. 107 // Returns true if we're logged in as guest.
108 virtual bool IsGuestSession() const = 0; 108 virtual bool IsGuestSession() const = 0;
109 109
110 // Returns true if this is the first time that the shell has been run after 110 // Returns true if this is the first time that the shell has been run after
111 // the system has booted. false is returned after the shell has been 111 // the system has booted. false is returned after the shell has been
112 // restarted, typically due to logging in as a guest or logging out. 112 // restarted, typically due to logging in as a guest or logging out.
113 virtual bool IsFirstRunAfterBoot() const = 0; 113 virtual bool IsFirstRunAfterBoot() const = 0;
114 114
115 // Returns true if multi-profiles feature is enabled.
116 virtual bool IsMultiProfilesEnabled() const = 0;
117
115 // Returns true if we're running in forced app mode. 118 // Returns true if we're running in forced app mode.
116 virtual bool IsRunningInForcedAppMode() const = 0; 119 virtual bool IsRunningInForcedAppMode() const = 0;
117 120
118 // Returns true if a user is logged in whose session can be locked (i.e. the 121 // Returns true if a user is logged in whose session can be locked (i.e. the
119 // user has a password with which to unlock the session). 122 // user has a password with which to unlock the session).
120 virtual bool CanLockScreen() const = 0; 123 virtual bool CanLockScreen() const = 0;
121 124
122 // Invoked when a user locks the screen. 125 // Invoked when a user locks the screen.
123 virtual void LockScreen() = 0; 126 virtual void LockScreen() = 0;
124 127
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 // value. 266 // value.
264 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; 267 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0;
265 268
266 // Get the product name. 269 // Get the product name.
267 virtual base::string16 GetProductName() const = 0; 270 virtual base::string16 GetProductName() const = 0;
268 }; 271 };
269 272
270 } // namespace ash 273 } // namespace ash
271 274
272 #endif // ASH_SHELL_DELEGATE_H_ 275 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/system/tray/system_tray_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698