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

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

Issue 2839043004: chromeos: Refactor ash SystemTrayDelegate enterprise methods to mojo (Closed)
Patch Set: Created 3 years, 7 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_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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 public: 44 public:
45 SystemTrayDelegate(); 45 SystemTrayDelegate();
46 virtual ~SystemTrayDelegate(); 46 virtual ~SystemTrayDelegate();
47 47
48 // Called after SystemTray has been instantiated. 48 // Called after SystemTray has been instantiated.
49 virtual void Initialize(); 49 virtual void Initialize();
50 50
51 // Gets information about the active user. 51 // Gets information about the active user.
52 virtual LoginStatus GetUserLoginStatus() const; 52 virtual LoginStatus GetUserLoginStatus() const;
53 53
54 // Returns the domain that manages the device, if it is enterprise-enrolled.
55 virtual std::string GetEnterpriseDomain() const;
56
57 // Returns the realm that manages the device, if it is enterprise enrolled
58 // with Active Directory and joined the realm (Active Directory domain).
59 virtual std::string GetEnterpriseRealm() const;
James Cook 2017/04/26 18:49:36 This wasn't used.
60
61 // Returns notification for enterprise enrolled devices.
62 virtual base::string16 GetEnterpriseMessage() const;
63
64 // Shows information about enterprise enrolled devices.
65 virtual void ShowEnterpriseInfo();
66
67 // Shows login UI to add other users to this session. 54 // Shows login UI to add other users to this session.
68 virtual void ShowUserLogin(); 55 virtual void ShowUserLogin();
69 56
70 // Returns the currently selected IME. 57 // Returns the currently selected IME.
71 virtual void GetCurrentIME(IMEInfo* info); 58 virtual void GetCurrentIME(IMEInfo* info);
72 59
73 // Returns a list of availble IMEs. 60 // Returns a list of availble IMEs.
74 virtual void GetAvailableIMEList(IMEInfoList* list); 61 virtual void GetAvailableIMEList(IMEInfoList* list);
75 62
76 // Returns a list of properties for the currently selected IME. 63 // Returns a list of properties for the currently selected IME.
(...skipping 28 matching lines...) Expand all
105 // Creates a system tray item for display rotation lock. 92 // Creates a system tray item for display rotation lock.
106 // TODO(jamescook): Remove this when mus has support for display management 93 // TODO(jamescook): Remove this when mus has support for display management
107 // and we have a DisplayManager equivalent. See http://crbug.com/548429 94 // and we have a DisplayManager equivalent. See http://crbug.com/548429
108 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( 95 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem(
109 SystemTray* tray); 96 SystemTray* tray);
110 }; 97 };
111 98
112 } // namespace ash 99 } // namespace ash
113 100
114 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 101 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698