Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: ash/common/system/tray/system_tray_delegate.h

Issue 2652793003: Add login screen locale and input method device policies (Closed)
Patch Set: Rebase. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 5 #ifndef ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
6 #define ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 6 #define ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 // Returns the currently selected IME. 135 // Returns the currently selected IME.
136 virtual void GetCurrentIME(IMEInfo* info); 136 virtual void GetCurrentIME(IMEInfo* info);
137 137
138 // Returns a list of availble IMEs. 138 // Returns a list of availble IMEs.
139 virtual void GetAvailableIMEList(IMEInfoList* list); 139 virtual void GetAvailableIMEList(IMEInfoList* list);
140 140
141 // Returns a list of properties for the currently selected IME. 141 // Returns a list of properties for the currently selected IME.
142 virtual void GetCurrentIMEProperties(IMEPropertyInfoList* list); 142 virtual void GetCurrentIMEProperties(IMEPropertyInfoList* list);
143 143
144 // Returns a non-empty string if IMEs are managed by policy.
145 virtual base::string16 GetIMEManagedMessage();
146
144 // Switches to the selected input method. 147 // Switches to the selected input method.
145 virtual void SwitchIME(const std::string& ime_id); 148 virtual void SwitchIME(const std::string& ime_id);
146 149
147 // Activates an IME property. 150 // Activates an IME property.
148 virtual void ActivateIMEProperty(const std::string& key); 151 virtual void ActivateIMEProperty(const std::string& key);
149 152
150 // Shows UI to manage bluetooth devices. 153 // Shows UI to manage bluetooth devices.
151 virtual void ManageBluetoothDevices(); 154 virtual void ManageBluetoothDevices();
152 155
153 // Toggles bluetooth. 156 // Toggles bluetooth.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 // Creates a system tray item for display rotation lock. 197 // Creates a system tray item for display rotation lock.
195 // TODO(jamescook): Remove this when mus has support for display management 198 // TODO(jamescook): Remove this when mus has support for display management
196 // and we have a DisplayManager equivalent. See http://crbug.com/548429 199 // and we have a DisplayManager equivalent. See http://crbug.com/548429
197 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( 200 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem(
198 SystemTray* tray); 201 SystemTray* tray);
199 }; 202 };
200 203
201 } // namespace ash 204 } // namespace ash
202 205
203 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 206 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698