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

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

Issue 2438023004: mash: Migrate ShowSetTimeDialog from SystemTrayDelegate to mojo (Closed)
Patch Set: rebase Created 4 years, 1 month 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 // TODO(merkulova): remove on FakeUserManager componentization. 142 // TODO(merkulova): remove on FakeUserManager componentization.
143 // crbug.com/443119 143 // crbug.com/443119
144 virtual bool IsUserChild() const; 144 virtual bool IsUserChild() const;
145 145
146 // Fills |info| structure (which must not be null) with current update info. 146 // Fills |info| structure (which must not be null) with current update info.
147 virtual void GetSystemUpdateInfo(UpdateInfo* info) const; 147 virtual void GetSystemUpdateInfo(UpdateInfo* info) const;
148 148
149 // Returns true if settings menu item should appear. 149 // Returns true if settings menu item should appear.
150 virtual bool ShouldShowSettings(); 150 virtual bool ShouldShowSettings();
151 151
152 // Shows the dialog to set system time, date, and timezone.
153 virtual void ShowSetTimeDialog();
154
155 // Shows information about enterprise enrolled devices. 152 // Shows information about enterprise enrolled devices.
156 virtual void ShowEnterpriseInfo(); 153 virtual void ShowEnterpriseInfo();
157 154
158 // Shows login UI to add other users to this session. 155 // Shows login UI to add other users to this session.
159 virtual void ShowUserLogin(); 156 virtual void ShowUserLogin();
160 157
161 // Attempts to sign out the user. 158 // Attempts to sign out the user.
162 virtual void SignOut(); 159 virtual void SignOut();
163 160
164 // Attempts to restart the system for update. 161 // Attempts to restart the system for update.
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 // Creates a system tray item for display rotation lock. 261 // Creates a system tray item for display rotation lock.
265 // TODO(jamescook): Remove this when mus has support for display management 262 // TODO(jamescook): Remove this when mus has support for display management
266 // and we have a DisplayManager equivalent. See http://crbug.com/548429 263 // and we have a DisplayManager equivalent. See http://crbug.com/548429
267 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( 264 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem(
268 SystemTray* tray); 265 SystemTray* tray);
269 }; 266 };
270 267
271 } // namespace ash 268 } // namespace ash
272 269
273 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 270 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/common/system/tray/system_tray_controller.cc ('k') | ash/common/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698