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_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_CHROMEOS_H_ |
6 #define CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_CHROMEOS_H_ | 6 #define CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_CHROMEOS_H_ |
7 | 7 |
8 #include "ash/session_state_delegate.h" | 8 #include "ash/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 29 matching lines...) Expand all Loading... |
40 ash::MultiProfileIndex index) const OVERRIDE; | 40 ash::MultiProfileIndex index) const OVERRIDE; |
41 virtual const gfx::ImageSkia& GetUserImage( | 41 virtual const gfx::ImageSkia& GetUserImage( |
42 ash::MultiProfileIndex index) const OVERRIDE; | 42 ash::MultiProfileIndex index) const OVERRIDE; |
43 virtual void GetLoggedInUsers(ash::UserIdList* users) OVERRIDE; | 43 virtual void GetLoggedInUsers(ash::UserIdList* users) OVERRIDE; |
44 virtual void SwitchActiveUser(const std::string& user_id) OVERRIDE; | 44 virtual void SwitchActiveUser(const std::string& user_id) OVERRIDE; |
45 virtual void CycleActiveUser(CycleUser cycle_user) OVERRIDE; | 45 virtual void CycleActiveUser(CycleUser cycle_user) OVERRIDE; |
46 virtual void AddSessionStateObserver( | 46 virtual void AddSessionStateObserver( |
47 ash::SessionStateObserver* observer) OVERRIDE; | 47 ash::SessionStateObserver* observer) OVERRIDE; |
48 virtual void RemoveSessionStateObserver( | 48 virtual void RemoveSessionStateObserver( |
49 ash::SessionStateObserver* observer) OVERRIDE; | 49 ash::SessionStateObserver* observer) OVERRIDE; |
50 virtual bool TransferWindowToDesktopOfUser( | |
51 aura::Window* window, | |
52 ash::MultiProfileIndex index) OVERRIDE; | |
53 // UserManager::UserSessionStateObserver: | 50 // UserManager::UserSessionStateObserver: |
54 virtual void ActiveUserChanged(const chromeos::User* active_user) OVERRIDE; | 51 virtual void ActiveUserChanged(const chromeos::User* active_user) OVERRIDE; |
55 virtual void UserAddedToSession(const chromeos::User* added_user) OVERRIDE; | 52 virtual void UserAddedToSession(const chromeos::User* added_user) OVERRIDE; |
56 | 53 |
57 private: | 54 private: |
58 // List of observers is only used on Chrome OS for now. | 55 // List of observers is only used on Chrome OS for now. |
59 ObserverList<ash::SessionStateObserver> session_state_observer_list_; | 56 ObserverList<ash::SessionStateObserver> session_state_observer_list_; |
60 | 57 |
61 DISALLOW_COPY_AND_ASSIGN(SessionStateDelegateChromeos); | 58 DISALLOW_COPY_AND_ASSIGN(SessionStateDelegateChromeos); |
62 }; | 59 }; |
63 | 60 |
64 #endif // CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_CHROMEOS_H_ | 61 #endif // CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_CHROMEOS_H_ |
OLD | NEW |