Home
last modified time | relevance | path

Searched refs:SessionStateDelegate (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/ash/
Dsession_state_delegate_views.cc13 SessionStateDelegate::SessionStateDelegate() { in SessionStateDelegate() function in SessionStateDelegate
16 SessionStateDelegate::~SessionStateDelegate() { in ~SessionStateDelegate()
19 content::BrowserContext* SessionStateDelegate::GetBrowserContextByIndex( in GetBrowserContextByIndex()
25 content::BrowserContext* SessionStateDelegate::GetBrowserContextForWindow( in GetBrowserContextForWindow()
31 int SessionStateDelegate::GetMaximumNumberOfLoggedInUsers() const { in GetMaximumNumberOfLoggedInUsers()
35 int SessionStateDelegate::NumberOfLoggedInUsers() const { in NumberOfLoggedInUsers()
39 bool SessionStateDelegate::IsActiveUserSessionStarted() const { in IsActiveUserSessionStarted()
43 bool SessionStateDelegate::CanLockScreen() const { in CanLockScreen()
47 bool SessionStateDelegate::IsScreenLocked() const { in IsScreenLocked()
51 bool SessionStateDelegate::ShouldLockScreenBeforeSuspending() const { in ShouldLockScreenBeforeSuspending()
[all …]
Dsession_state_delegate_chromeos_unittest.cc134 ash::SessionStateDelegate::CYCLE_TO_NEXT_USER); in TEST_F()
137 ash::SessionStateDelegate::CYCLE_TO_PREVIOUS_USER); in TEST_F()
146 const ash::SessionStateDelegate::CycleUser forward = in TEST_F()
147 ash::SessionStateDelegate::CYCLE_TO_NEXT_USER; in TEST_F()
159 const ash::SessionStateDelegate::CycleUser backward = in TEST_F()
160 ash::SessionStateDelegate::CYCLE_TO_PREVIOUS_USER; in TEST_F()
237 ash::SessionStateDelegate::AddUserError add_user_error; in TEST_F()
249 EXPECT_EQ(ash::SessionStateDelegate::ADD_USER_ERROR_MAXIMUM_USERS_REACHED, in TEST_F()
258 ash::SessionStateDelegate::AddUserError add_user_error; in TEST_F()
267 EXPECT_EQ(ash::SessionStateDelegate::ADD_USER_ERROR_OUT_OF_USERS, in TEST_F()
[all …]
Dsession_state_delegate_views.h18 class SessionStateDelegate : public ash::SessionStateDelegate {
20 SessionStateDelegate();
21 virtual ~SessionStateDelegate();
52 DISALLOW_COPY_AND_ASSIGN(SessionStateDelegate);
Dchrome_shell_delegate_views.cc187 ash::SessionStateDelegate* ChromeShellDelegate::CreateSessionStateDelegate() { in CreateSessionStateDelegate()
188 return new SessionStateDelegate; in CreateSessionStateDelegate()
Dsession_state_delegate_chromeos.cc95 return SessionStateDelegate::CanAddUserToMultiProfile(error); in CanAddUserToMultiProfile()
150 ash::SessionStateDelegate::SessionState
/external/chromium_org/ash/session/
Dsession_state_delegate.cc9 bool SessionStateDelegate::IsInSecondaryLoginScreen() const { in IsInSecondaryLoginScreen()
11 ash::SessionStateDelegate::SESSION_STATE_LOGIN_SECONDARY; in IsInSecondaryLoginScreen()
14 bool SessionStateDelegate::CanAddUserToMultiProfile( in CanAddUserToMultiProfile()
15 SessionStateDelegate::AddUserError* error) const { in CanAddUserToMultiProfile()
Dsession_state_delegate.h44 class ASH_EXPORT SessionStateDelegate {
74 virtual ~SessionStateDelegate() {}; in ~SessionStateDelegate()
Dsession_state_observer.h25 virtual void SessionStateChanged(SessionStateDelegate::SessionState state) {} in SessionStateChanged()
/external/chromium_org/chrome/browser/chromeos/login/ui/
Duser_adding_screen_browsertest.cc98 EXPECT_EQ(ash::SessionStateDelegate::SESSION_STATE_LOGIN_PRIMARY, in IN_PROC_BROWSER_TEST_F()
104 EXPECT_EQ(ash::SessionStateDelegate::SESSION_STATE_ACTIVE, in IN_PROC_BROWSER_TEST_F()
111 EXPECT_EQ(ash::SessionStateDelegate::SESSION_STATE_LOGIN_SECONDARY, in IN_PROC_BROWSER_TEST_F()
118 EXPECT_EQ(ash::SessionStateDelegate::SESSION_STATE_ACTIVE, in IN_PROC_BROWSER_TEST_F()
136 EXPECT_EQ(ash::SessionStateDelegate::SESSION_STATE_LOGIN_PRIMARY, in IN_PROC_BROWSER_TEST_F()
141 EXPECT_EQ(ash::SessionStateDelegate::SESSION_STATE_ACTIVE, in IN_PROC_BROWSER_TEST_F()
151 EXPECT_EQ(ash::SessionStateDelegate::SESSION_STATE_LOGIN_SECONDARY, in IN_PROC_BROWSER_TEST_F()
156 EXPECT_EQ(ash::SessionStateDelegate::SESSION_STATE_ACTIVE, in IN_PROC_BROWSER_TEST_F()
163 EXPECT_EQ(ash::SessionStateDelegate::SESSION_STATE_ACTIVE, in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/chromeos/login/
Dsession_login_browsertest.cc41 EXPECT_EQ(ash::SessionStateDelegate::SESSION_STATE_LOGIN_PRIMARY, in IN_PROC_BROWSER_TEST_F()
48 EXPECT_EQ(ash::SessionStateDelegate::SESSION_STATE_LOGIN_PRIMARY, in IN_PROC_BROWSER_TEST_F()
52 EXPECT_EQ(ash::SessionStateDelegate::SESSION_STATE_ACTIVE, in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ash/test/
Dshell_test_api.h20 class SessionStateDelegate; variable
51 void SetSessionStateDelegate(SessionStateDelegate* session_state_delegate);
Dshell_test_api.cc74 SessionStateDelegate* session_state_delegate) { in SetSessionStateDelegate()
Dtest_system_tray_delegate.cc63 SessionStateDelegate* delegate = in GetUserLoginStatus()
Dtest_session_state_delegate.h20 class TestSessionStateDelegate : public SessionStateDelegate {
Dtest_shell_delegate.h55 virtual SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE;
/external/chromium_org/ash/
Dshell_delegate.h45 class SessionStateDelegate; variable
129 virtual SessionStateDelegate* CreateSessionStateDelegate() = 0;
/external/chromium_org/ash/system/user/
Duser_view.cc76 ash::SessionStateDelegate* delegate = in SwitchUser()
496 const SessionStateDelegate* delegate = in ToggleAddUserMenuOption()
499 SessionStateDelegate::AddUserError add_user_error; in ToggleAddUserMenuOption()
522 case SessionStateDelegate::ADD_USER_ERROR_NOT_ALLOWED_PRIMARY_USER: in ToggleAddUserMenuOption()
525 case SessionStateDelegate::ADD_USER_ERROR_MAXIMUM_USERS_REACHED: in ToggleAddUserMenuOption()
528 case SessionStateDelegate::ADD_USER_ERROR_OUT_OF_USERS: in ToggleAddUserMenuOption()
Dtray_user.cc93 const SessionStateDelegate* session_state_delegate = in CreateDefaultView()
251 SessionStateDelegate* session_state_delegate = in OnUserAddedToSession()
266 SessionStateDelegate* session_state_delegate = in UpdateAvatarImage()
Dtray_user_separator.cc26 const SessionStateDelegate* session_state_delegate = in CreateDefaultView()
/external/chromium_org/ash/wm/
Dpower_button_controller.cc73 const SessionStateDelegate* session_state_delegate = in OnPowerButtonEvent()
117 const SessionStateDelegate* session_state_delegate = in OnLockButtonEvent()
/external/chromium_org/ash/shell/
Dshell_delegate_impl.cc75 class SessionStateDelegateImpl : public SessionStateDelegate {
235 ash::SessionStateDelegate* ShellDelegateImpl::CreateSessionStateDelegate() { in CreateSessionStateDelegate()
Dshell_delegate_impl.h57 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE;
/external/chromium_org/ash/system/tray/media_security/
Dmulti_profile_media_tray_item.cc46 SessionStateDelegate* session_state_delegate = in OnMediaCaptureChanged()
/external/chromium_org/ash/system/chromeos/power/
Dpower_event_observer.cc40 SessionStateDelegate* delegate = shell->session_state_delegate(); in SuspendImminent()
/external/chromium_org/ash/accelerators/
Daccelerator_controller.cc560 bool HandleCycleUser(SessionStateDelegate::CycleUser cycle_user) { in HandleCycleUser()
563 ash::SessionStateDelegate* delegate = in HandleCycleUser()
570 case SessionStateDelegate::CYCLE_TO_NEXT_USER: in HandleCycleUser()
573 case SessionStateDelegate::CYCLE_TO_PREVIOUS_USER: in HandleCycleUser()
929 return HandleCycleUser(SessionStateDelegate::CYCLE_TO_NEXT_USER); in PerformAction()
931 return HandleCycleUser(SessionStateDelegate::CYCLE_TO_PREVIOUS_USER); in PerformAction()

12