| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ | 6 #define CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 void ActiveUserWasChanged() override; | 117 void ActiveUserWasChanged() override; |
| 118 bool IsSearchKeyMappedToCapsLock() override; | 118 bool IsSearchKeyMappedToCapsLock() override; |
| 119 void AddCustodianInfoTrayObserver( | 119 void AddCustodianInfoTrayObserver( |
| 120 ash::CustodianInfoTrayObserver* observer) override; | 120 ash::CustodianInfoTrayObserver* observer) override; |
| 121 void RemoveCustodianInfoTrayObserver( | 121 void RemoveCustodianInfoTrayObserver( |
| 122 ash::CustodianInfoTrayObserver* observer) override; | 122 ash::CustodianInfoTrayObserver* observer) override; |
| 123 void AddShutdownPolicyObserver( | 123 void AddShutdownPolicyObserver( |
| 124 ash::ShutdownPolicyObserver* observer) override; | 124 ash::ShutdownPolicyObserver* observer) override; |
| 125 void RemoveShutdownPolicyObserver( | 125 void RemoveShutdownPolicyObserver( |
| 126 ash::ShutdownPolicyObserver* observer) override; | 126 ash::ShutdownPolicyObserver* observer) override; |
| 127 void ShouldRebootOnShutdown( | 127 void CheckIfRebootOnShutdown() override; |
| 128 const ash::RebootOnShutdownCallback& callback) override; | |
| 129 ash::VPNDelegate* GetVPNDelegate() const override; | 128 ash::VPNDelegate* GetVPNDelegate() const override; |
| 130 std::unique_ptr<ash::SystemTrayItem> CreateRotationLockTrayItem( | 129 std::unique_ptr<ash::SystemTrayItem> CreateRotationLockTrayItem( |
| 131 ash::SystemTray* tray) override; | 130 ash::SystemTray* tray) override; |
| 132 | 131 |
| 133 // Overridden from user_manager::UserManager::UserSessionStateObserver: | 132 // Overridden from user_manager::UserManager::UserSessionStateObserver: |
| 134 void UserAddedToSession(const user_manager::User* active_user) override; | 133 void UserAddedToSession(const user_manager::User* active_user) override; |
| 135 void ActiveUserChanged(const user_manager::User* active_user) override; | 134 void ActiveUserChanged(const user_manager::User* active_user) override; |
| 136 | 135 |
| 137 void UserChangedChildStatus(user_manager::User* user) override; | 136 void UserChangedChildStatus(user_manager::User* user) override; |
| 138 | 137 |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 | 276 |
| 278 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; | 277 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; |
| 279 | 278 |
| 280 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); | 279 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); |
| 281 }; | 280 }; |
| 282 | 281 |
| 283 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); | 282 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); |
| 284 | 283 |
| 285 } // namespace chromeos | 284 } // namespace chromeos |
| 286 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ | 285 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ |
| OLD | NEW |