| 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 <memory> | 10 #include <memory> |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 void GetAvailableIMEList(ash::IMEInfoList* list) override; | 52 void GetAvailableIMEList(ash::IMEInfoList* list) override; |
| 53 void GetCurrentIMEProperties(ash::IMEPropertyInfoList* list) override; | 53 void GetCurrentIMEProperties(ash::IMEPropertyInfoList* list) override; |
| 54 base::string16 GetIMEManagedMessage() override; | 54 base::string16 GetIMEManagedMessage() override; |
| 55 void SwitchIME(const std::string& ime_id) override; | 55 void SwitchIME(const std::string& ime_id) override; |
| 56 void ActivateIMEProperty(const std::string& key) override; | 56 void ActivateIMEProperty(const std::string& key) override; |
| 57 ash::NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override; | 57 ash::NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override; |
| 58 bool GetSessionStartTime(base::TimeTicks* session_start_time) override; | 58 bool GetSessionStartTime(base::TimeTicks* session_start_time) override; |
| 59 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; | 59 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; |
| 60 void ActiveUserWasChanged() override; | 60 void ActiveUserWasChanged() override; |
| 61 bool IsSearchKeyMappedToCapsLock() override; | 61 bool IsSearchKeyMappedToCapsLock() override; |
| 62 std::unique_ptr<ash::SystemTrayItem> CreateRotationLockTrayItem( | |
| 63 ash::SystemTray* tray) override; | |
| 64 | 62 |
| 65 private: | 63 private: |
| 66 ash::SystemTrayNotifier* GetSystemTrayNotifier(); | 64 ash::SystemTrayNotifier* GetSystemTrayNotifier(); |
| 67 | 65 |
| 68 void SetProfile(Profile* profile); | 66 void SetProfile(Profile* profile); |
| 69 | 67 |
| 70 bool UnsetProfile(Profile* profile); | 68 bool UnsetProfile(Profile* profile); |
| 71 | 69 |
| 72 void UpdateShowLogoutButtonInTray(); | 70 void UpdateShowLogoutButtonInTray(); |
| 73 | 71 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 std::unique_ptr<AccessibilityStatusSubscription> accessibility_subscription_; | 134 std::unique_ptr<AccessibilityStatusSubscription> accessibility_subscription_; |
| 137 | 135 |
| 138 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); | 136 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); |
| 139 }; | 137 }; |
| 140 | 138 |
| 141 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); | 139 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); |
| 142 | 140 |
| 143 } // namespace chromeos | 141 } // namespace chromeos |
| 144 | 142 |
| 145 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ | 143 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ |
| OLD | NEW |