| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_ |
| 7 | 7 |
| 8 #include "ash/session/session_state_delegate.h" | 8 #include "ash/session/session_state_delegate.h" |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 bool IsScreenLocked() const override; | 28 bool IsScreenLocked() const override; |
| 29 bool ShouldLockScreenBeforeSuspending() const override; | 29 bool ShouldLockScreenBeforeSuspending() const override; |
| 30 void LockScreen() override; | 30 void LockScreen() override; |
| 31 void UnlockScreen() override; | 31 void UnlockScreen() override; |
| 32 bool IsUserSessionBlocked() const override; | 32 bool IsUserSessionBlocked() const override; |
| 33 SessionState GetSessionState() const override; | 33 SessionState GetSessionState() const override; |
| 34 const user_manager::UserInfo* GetUserInfo( | 34 const user_manager::UserInfo* GetUserInfo( |
| 35 ash::UserIndex index) const override; | 35 ash::UserIndex index) const override; |
| 36 bool ShouldShowAvatar(aura::Window* window) const override; | 36 bool ShouldShowAvatar(aura::Window* window) const override; |
| 37 gfx::ImageSkia GetAvatarImageForWindow(aura::Window* window) const override; | 37 gfx::ImageSkia GetAvatarImageForWindow(aura::Window* window) const override; |
| 38 void SwitchActiveUser(const std::string& user_id) override; | 38 void SwitchActiveUser(const AccountId& account_id) override; |
| 39 void CycleActiveUser(CycleUser cycle_user) override; | 39 void CycleActiveUser(CycleUser cycle_user) override; |
| 40 bool IsMultiProfileAllowedByPrimaryUserPolicy() const override; | 40 bool IsMultiProfileAllowedByPrimaryUserPolicy() const override; |
| 41 void AddSessionStateObserver(ash::SessionStateObserver* observer) override; | 41 void AddSessionStateObserver(ash::SessionStateObserver* observer) override; |
| 42 void RemoveSessionStateObserver(ash::SessionStateObserver* observer) override; | 42 void RemoveSessionStateObserver(ash::SessionStateObserver* observer) override; |
| 43 | 43 |
| 44 private: | 44 private: |
| 45 DISALLOW_COPY_AND_ASSIGN(SessionStateDelegate); | 45 DISALLOW_COPY_AND_ASSIGN(SessionStateDelegate); |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 #endif // CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_ | 48 #endif // CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_VIEWS_H_ |
| OLD | NEW |