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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 SystemTrayDelegateChromeOS(); | 45 SystemTrayDelegateChromeOS(); |
46 ~SystemTrayDelegateChromeOS() override; | 46 ~SystemTrayDelegateChromeOS() override; |
47 | 47 |
48 // Overridden from ash::SystemTrayDelegate: | 48 // Overridden from ash::SystemTrayDelegate: |
49 void Initialize() override; | 49 void Initialize() override; |
50 void ShowUserLogin() override; | 50 void ShowUserLogin() override; |
51 void GetCurrentIME(ash::IMEInfo* info) override; | 51 void GetCurrentIME(ash::IMEInfo* info) override; |
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; | |
56 void ActivateIMEProperty(const std::string& key) override; | |
57 ash::NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override; | 55 ash::NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override; |
58 bool GetSessionStartTime(base::TimeTicks* session_start_time) override; | 56 bool GetSessionStartTime(base::TimeTicks* session_start_time) override; |
59 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; | 57 bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override; |
60 void ActiveUserWasChanged() override; | 58 void ActiveUserWasChanged() override; |
61 bool IsSearchKeyMappedToCapsLock() override; | 59 bool IsSearchKeyMappedToCapsLock() override; |
62 | 60 |
63 private: | 61 private: |
64 ash::SystemTrayNotifier* GetSystemTrayNotifier(); | 62 ash::SystemTrayNotifier* GetSystemTrayNotifier(); |
65 | 63 |
66 void SetProfile(Profile* profile); | 64 void SetProfile(Profile* profile); |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 std::unique_ptr<AccessibilityStatusSubscription> accessibility_subscription_; | 132 std::unique_ptr<AccessibilityStatusSubscription> accessibility_subscription_; |
135 | 133 |
136 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); | 134 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateChromeOS); |
137 }; | 135 }; |
138 | 136 |
139 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); | 137 ash::SystemTrayDelegate* CreateSystemTrayDelegate(); |
140 | 138 |
141 } // namespace chromeos | 139 } // namespace chromeos |
142 | 140 |
143 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ | 141 #endif // CHROME_BROWSER_UI_ASH_SYSTEM_TRAY_DELEGATE_CHROMEOS_H_ |
OLD | NEW |