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

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

Issue 2911303003: chromeos: Remove SystemTrayDelegate::GetIMEManagedMessage() (Closed)
Patch Set: rebase Created 3 years, 6 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
« no previous file with comments | « ash/system/ime_menu/ime_menu_tray_unittest.cc ('k') | ash/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // Returns the currently selected IME. 47 // Returns the currently selected IME.
48 virtual void GetCurrentIME(IMEInfo* info); 48 virtual void GetCurrentIME(IMEInfo* info);
49 49
50 // Returns a list of availble IMEs. 50 // Returns a list of availble IMEs.
51 virtual void GetAvailableIMEList(IMEInfoList* list); 51 virtual void GetAvailableIMEList(IMEInfoList* list);
52 52
53 // Returns a list of properties for the currently selected IME. 53 // Returns a list of properties for the currently selected IME.
54 virtual void GetCurrentIMEProperties(IMEPropertyInfoList* list); 54 virtual void GetCurrentIMEProperties(IMEPropertyInfoList* list);
55 55
56 // Returns a non-empty string if IMEs are managed by policy.
57 virtual base::string16 GetIMEManagedMessage();
58
59 // Returns NetworkingConfigDelegate. May return nullptr. 56 // Returns NetworkingConfigDelegate. May return nullptr.
60 virtual NetworkingConfigDelegate* GetNetworkingConfigDelegate() const; 57 virtual NetworkingConfigDelegate* GetNetworkingConfigDelegate() const;
61 58
62 // Retrieves the session start time. Returns |false| if the time is not set. 59 // Retrieves the session start time. Returns |false| if the time is not set.
63 virtual bool GetSessionStartTime(base::TimeTicks* session_start_time); 60 virtual bool GetSessionStartTime(base::TimeTicks* session_start_time);
64 61
65 // Retrieves the session length limit. Returns |false| if no limit is set. 62 // Retrieves the session length limit. Returns |false| if no limit is set.
66 virtual bool GetSessionLengthLimit(base::TimeDelta* session_length_limit); 63 virtual bool GetSessionLengthLimit(base::TimeDelta* session_length_limit);
67 64
68 // The active user has been changed. This will be called when the UI is ready 65 // The active user has been changed. This will be called when the UI is ready
69 // to be switched to the new user. 66 // to be switched to the new user.
70 // Note: This will happen after SessionObserver::ActiveUserChanged fires. 67 // Note: This will happen after SessionObserver::ActiveUserChanged fires.
71 virtual void ActiveUserWasChanged(); 68 virtual void ActiveUserWasChanged();
72 69
73 // Returns true when the Search key is configured to be treated as Caps Lock. 70 // Returns true when the Search key is configured to be treated as Caps Lock.
74 virtual bool IsSearchKeyMappedToCapsLock(); 71 virtual bool IsSearchKeyMappedToCapsLock();
75 }; 72 };
76 73
77 } // namespace ash 74 } // namespace ash
78 75
79 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 76 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/ime_menu/ime_menu_tray_unittest.cc ('k') | ash/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698