Home
last modified time | relevance | path

Searched refs:session_state_delegate (Results 1 – 25 of 71) sorted by relevance

123

/external/chromium_org/chrome/browser/ui/ash/
Dsession_state_delegate_chromeos_unittest.cc94 SessionStateDelegateChromeos* session_state_delegate() { in session_state_delegate() function in chromeos::SessionStateDelegateChromeOSTest
133 session_state_delegate()->CycleActiveUser( in TEST_F()
136 session_state_delegate()->CycleActiveUser( in TEST_F()
151 session_state_delegate()->CycleActiveUser(forward); in TEST_F()
153 session_state_delegate()->CycleActiveUser(forward); in TEST_F()
155 session_state_delegate()->CycleActiveUser(forward); in TEST_F()
161 session_state_delegate()->CycleActiveUser(backward); in TEST_F()
163 session_state_delegate()->CycleActiveUser(backward); in TEST_F()
165 session_state_delegate()->CycleActiveUser(backward); in TEST_F()
173 session_state_delegate()->IsMultiProfileAllowedByPrimaryUserPolicy()); in TEST_F()
[all …]
Dsystem_tray_delegate_chromeos.cc142 ->session_state_delegate() in GetNativeWindowByStatus()
240 ash::Shell::GetInstance()->session_state_delegate()->AddSessionStateObserver( in Initialize()
302 ->session_state_delegate() in ~SystemTrayDelegateChromeOS()
424 ->session_state_delegate() in ShouldShowSettings()
444 ->session_state_delegate() in ShowNetworkSettings()
529 ->session_state_delegate() in ShowEnterpriseInfo()
558 shell->session_state_delegate()->GetMaximumNumberOfLoggedInUsers()) in ShowUserLogin()
1078 ->session_state_delegate() in GetNativeWindow()
/external/chromium_org/ash/wm/
Dpower_button_controller.cc73 const SessionStateDelegate* session_state_delegate = in OnPowerButtonEvent() local
74 Shell::GetInstance()->session_state_delegate(); in OnPowerButtonEvent()
80 if (session_state_delegate->CanLockScreen() && in OnPowerButtonEvent()
81 !session_state_delegate->IsScreenLocked() && in OnPowerButtonEvent()
94 if (session_state_delegate->CanLockScreen() && in OnPowerButtonEvent()
95 !session_state_delegate->IsScreenLocked()) { in OnPowerButtonEvent()
117 const SessionStateDelegate* session_state_delegate = in OnLockButtonEvent() local
118 Shell::GetInstance()->session_state_delegate(); in OnLockButtonEvent()
119 if (!session_state_delegate->CanLockScreen() || in OnLockButtonEvent()
120 session_state_delegate->IsScreenLocked() || in OnLockButtonEvent()
Dstacking_controller.cc119 SessionStateDelegate* session_state_delegate = in GetSystemModalContainer() local
120 Shell::GetInstance()->session_state_delegate(); in GetSystemModalContainer()
121 if (!session_state_delegate->IsUserSessionBlocked() || in GetSystemModalContainer()
/external/chromium_org/ash/system/user/
Dtray_user.cc93 const SessionStateDelegate* session_state_delegate = in CreateDefaultView() local
94 Shell::GetInstance()->session_state_delegate(); in CreateDefaultView()
99 (session_state_delegate->IsUserSessionBlocked() || in CreateDefaultView()
105 int logged_in_users = session_state_delegate->NumberOfLoggedInUsers(); in CreateDefaultView()
251 SessionStateDelegate* session_state_delegate = in OnUserAddedToSession() local
252 Shell::GetInstance()->session_state_delegate(); in OnUserAddedToSession()
254 if (GetTrayIndex() >= session_state_delegate->NumberOfLoggedInUsers()) in OnUserAddedToSession()
266 SessionStateDelegate* session_state_delegate = in UpdateAvatarImage() local
267 Shell::GetInstance()->session_state_delegate(); in UpdateAvatarImage()
269 GetTrayIndex() >= session_state_delegate->NumberOfLoggedInUsers()) in UpdateAvatarImage()
[all …]
Dtray_user_separator.cc26 const SessionStateDelegate* session_state_delegate = in CreateDefaultView() local
27 Shell::GetInstance()->session_state_delegate(); in CreateDefaultView()
31 if (session_state_delegate->IsUserSessionBlocked() || in CreateDefaultView()
33 session_state_delegate->NumberOfLoggedInUsers() < 2) in CreateDefaultView()
Daccounts_detailed_view.cc49 ->session_state_delegate() in AccountsDetailedView()
121 SessionStateDelegate* session_state_delegate = in AddAddAccountButton() local
122 Shell::GetInstance()->session_state_delegate(); in AddAddAccountButton()
125 session_state_delegate->GetUserInfo(0); in AddAddAccountButton()
Dconfig.cc19 ->session_state_delegate() in IsUserSessionBlocked()
Dlogin_status.cc31 if (ash::Shell::GetInstance()->session_state_delegate()-> in GetLocalizedSignOutStringForStatus()
/external/chromium_org/ash/system/tray/media_security/
Dmulti_profile_media_tray_item.cc46 SessionStateDelegate* session_state_delegate = in OnMediaCaptureChanged() local
47 Shell::GetInstance()->session_state_delegate(); in OnMediaCaptureChanged()
50 index < session_state_delegate->NumberOfLoggedInUsers(); in OnMediaCaptureChanged()
53 session_state_delegate->GetBrowserContextByIndex(index); in OnMediaCaptureChanged()
Dmulti_profile_media_tray_item_unittest.cc26 test::TestSessionStateDelegate* session_state_delegate = in TEST_F() local
28 Shell::GetInstance()->session_state_delegate()); in TEST_F()
29 session_state_delegate->set_logged_in_users(2); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/login/ui/
Duser_adding_screen_browsertest.cc99 ash::Shell::GetInstance()->session_state_delegate()-> in IN_PROC_BROWSER_TEST_F()
105 ash::Shell::GetInstance()->session_state_delegate()-> in IN_PROC_BROWSER_TEST_F()
112 ash::Shell::GetInstance()->session_state_delegate()-> in IN_PROC_BROWSER_TEST_F()
119 ash::Shell::GetInstance()->session_state_delegate()-> in IN_PROC_BROWSER_TEST_F()
137 ash::Shell::GetInstance()->session_state_delegate()-> in IN_PROC_BROWSER_TEST_F()
142 ash::Shell::GetInstance()->session_state_delegate()-> in IN_PROC_BROWSER_TEST_F()
152 ash::Shell::GetInstance()->session_state_delegate()-> in IN_PROC_BROWSER_TEST_F()
157 ash::Shell::GetInstance()->session_state_delegate()-> in IN_PROC_BROWSER_TEST_F()
164 ash::Shell::GetInstance()->session_state_delegate()-> in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/chromeos/login/
Dsession_login_browsertest.cc42 ash::Shell::GetInstance()->session_state_delegate()-> in IN_PROC_BROWSER_TEST_F()
49 ash::Shell::GetInstance()->session_state_delegate()-> in IN_PROC_BROWSER_TEST_F()
53 ash::Shell::GetInstance()->session_state_delegate()-> in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ash/session/
Dsession_state_observer.cc15 ash::Shell::GetInstance()->session_state_delegate()->AddSessionStateObserver( in ScopedSessionStateObserver()
21 ->session_state_delegate() in ~ScopedSessionStateObserver()
/external/chromium_org/chrome/browser/ui/ash/multi_user/
Dmulti_user_notification_blocker_chromeos_unittest.cc43 ash::test::TestSessionStateDelegate* session_state_delegate = in SetUp() local
45 ash::Shell::GetInstance()->session_state_delegate()); in SetUp()
46 session_state_delegate->AddUser("test2@example.com"); in SetUp()
75 ->session_state_delegate() in GetDefaultUserId()
89 ash::Shell::GetInstance()->session_state_delegate()->SwitchActiveUser(name); in SwitchActiveUser()
Dmulti_user_window_manager_chromeos_unittest.cc88 TestSessionStateDelegate* session_state_delegate() { in session_state_delegate() function in ash::test::MultiUserWindowManagerChromeOSTest
110 session_state_delegate()->GetActiveUserInfo()->GetUserID(); in GetAndValidateCurrentUserFromSessionStateObserver()
170 ash::Shell::GetInstance()->session_state_delegate()); in SetUp()
689 session_state_delegate()->SwitchActiveUser("a"); in TEST_F()
693 EXPECT_EQ("a", session_state_delegate()->GetActiveUserInfo()->GetUserID()); in TEST_F()
697 EXPECT_EQ("b", session_state_delegate()->GetActiveUserInfo()->GetUserID()); in TEST_F()
704 session_state_delegate()->SwitchActiveUser("a"); in TEST_F()
708 EXPECT_EQ("a", session_state_delegate()->GetActiveUserInfo()->GetUserID()); in TEST_F()
712 EXPECT_EQ("a", session_state_delegate()->GetActiveUserInfo()->GetUserID()); in TEST_F()
720 session_state_delegate()->SwitchActiveUser("a"); in TEST_F()
[all …]
Dmulti_user_context_menu_chromeos.cc74 ash::Shell::GetInstance()->session_state_delegate(); in CreateMultiUserContextMenu()
123 ->session_state_delegate() in ExecuteVisitDesktopCommand()
/external/chromium_org/ash/wm/overview/
Dwindow_selector_controller.cc31 return Shell::GetInstance()->session_state_delegate()-> in CanSelect()
33 !Shell::GetInstance()->session_state_delegate()->IsScreenLocked() && in CanSelect()
/external/chromium_org/ash/wm/gestures/
Dshelf_gesture_handler.cc34 if (!shell->session_state_delegate()->NumberOfLoggedInUsers() || in ProcessGestureEvent()
35 shell->session_state_delegate()->IsScreenLocked()) { in ProcessGestureEvent()
/external/chromium_org/ash/test/
Dshell_test_api.cc74 SessionStateDelegate* session_state_delegate) { in SetSessionStateDelegate() argument
75 shell_->session_state_delegate_.reset(session_state_delegate); in SetSessionStateDelegate()
/external/chromium_org/ash/shelf/
Dshelf_layout_manager.cc208 Shell::GetInstance()->session_state_delegate()->AddSessionStateObserver(this); in ShelfLayoutManager()
220 session_state_delegate()->RemoveSessionStateObserver(this); in ~ShelfLayoutManager()
255 DCHECK(!Shell::GetInstance()->session_state_delegate()->IsScreenLocked()); in SetAlignment()
264 if (Shell::GetInstance()->session_state_delegate()->IsScreenLocked()) in GetAlignment()
316 if (Shell::GetInstance()->session_state_delegate()->IsScreenLocked()) { in UpdateVisibilityState()
707 SessionStateDelegate* session_state_delegate = in UpdateBoundsAndOpacity() local
708 Shell::GetInstance()->session_state_delegate(); in UpdateBoundsAndOpacity()
714 if (!session_state_delegate->IsUserSessionBlocked() || in UpdateBoundsAndOpacity()
1115 SessionStateDelegate* session_state_delegate = in OnKeyboardBoundsChanging() local
1116 Shell::GetInstance()->session_state_delegate(); in OnKeyboardBoundsChanging()
[all …]
/external/chromium_org/ash/system/date/
Ddate_default_view.cc46 ->session_state_delegate() in DateDefaultView()
78 if (ash::Shell::GetInstance()->session_state_delegate()->CanLockScreen()) { in DateDefaultView()
/external/chromium_org/chrome/browser/chromeos/dbus/
Dprinter_service_provider.cc63 if (!ash::Shell::GetInstance()->session_state_delegate()-> in FindOrOpenCloudPrintPage()
65 ash::Shell::GetInstance()->session_state_delegate()->IsScreenLocked()) { in FindOrOpenCloudPrintPage()
/external/chromium_org/ash/system/chromeos/settings/
Dtray_settings.cc45 ->session_state_delegate() in SettingsDefaultView()
81 ->session_state_delegate() in PerformAction()
/external/chromium_org/chrome/browser/
Didle_chromeos.cc28 return ash::Shell::GetInstance()->session_state_delegate()->IsScreenLocked(); in CheckIdleStateIsLocked()

123