| 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 void StopObservingCustodianInfoChanges(); | 159 void StopObservingCustodianInfoChanges(); |
| 160 | 160 |
| 161 // Notify observers if the current user has no more open browser or app | 161 // Notify observers if the current user has no more open browser or app |
| 162 // windows. | 162 // windows. |
| 163 void NotifyIfLastWindowClosed(); | 163 void NotifyIfLastWindowClosed(); |
| 164 | 164 |
| 165 // Overridden from SessionManagerClient::Observer. | 165 // Overridden from SessionManagerClient::Observer. |
| 166 void ScreenIsLocked() override; | 166 void ScreenIsLocked() override; |
| 167 void ScreenIsUnlocked() override; | 167 void ScreenIsUnlocked() override; |
| 168 | 168 |
| 169 gfx::NativeWindow GetNativeWindow() const; | |
| 170 | |
| 171 // content::NotificationObserver implementation. | 169 // content::NotificationObserver implementation. |
| 172 void Observe(int type, | 170 void Observe(int type, |
| 173 const content::NotificationSource& source, | 171 const content::NotificationSource& source, |
| 174 const content::NotificationDetails& details) override; | 172 const content::NotificationDetails& details) override; |
| 175 | 173 |
| 176 void OnLanguageRemapSearchKeyToChanged(); | 174 void OnLanguageRemapSearchKeyToChanged(); |
| 177 | 175 |
| 178 void OnAccessibilityModeChanged( | 176 void OnAccessibilityModeChanged( |
| 179 ash::AccessibilityNotificationVisibility notify); | 177 ash::AccessibilityNotificationVisibility notify); |
| 180 | 178 |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 | 279 |
| 282 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; | 280 base::WeakPtrFactory<SystemTrayDelegateChromeOS> weak_ptr_factory_; |
| 283 | 281 |
| 284 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); | 282 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); |
| 285 }; | 283 }; |
| 286 | 284 |
| 287 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); | 285 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); |
| 288 | 286 |
| 289 } // namespace chromeos | 287 } // namespace chromeos |
| 290 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ | 288 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ |
| OLD | NEW |