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

Side by Side Diff: ash/public/interfaces/system_tray.mojom

Issue 2525813004: chromeos: Introduce SetClient() on ash::mojom::SystemTray interface (Closed)
Patch Set: remove logging Created 4 years 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/common/wm_shell.cc ('k') | chrome/browser/chrome_content_browser_manifest_overlay.json » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 module ash.mojom; 5 module ash.mojom;
6 6
7 // Allows clients (e.g. Chrome browser) to control the ash system tray menu. 7 // Allows clients (e.g. Chrome browser) to control the ash system tray menu.
8 interface SystemTray { 8 interface SystemTray {
9 // Sets the client interface.
10 SetClient(SystemTrayClient client);
11
9 // Sets the clock to use 24 hour time formatting if |use_24_hour| is true. 12 // Sets the clock to use 24 hour time formatting if |use_24_hour| is true.
10 // Otherwise sets 12 hour time formatting. 13 // Otherwise sets 12 hour time formatting.
11 SetUse24HourClock(bool use_24_hour); 14 SetUse24HourClock(bool use_24_hour);
12 }; 15 };
13 16
14 // Allows ash system tray to control a client (e.g. Chrome browser). Requests 17 // Allows ash system tray to control a client (e.g. Chrome browser). Requests
15 // often involve preferences or web UI that is not available to ash. 18 // often involve preferences or web UI that is not available to ash.
16 interface SystemTrayClient { 19 interface SystemTrayClient {
17 // Shows general settings UI. 20 // Shows general settings UI.
18 ShowSettings(); 21 ShowSettings();
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // Shows UI for changing proxy settings. 80 // Shows UI for changing proxy settings.
78 ShowProxySettings(); 81 ShowProxySettings();
79 82
80 // Attempts to sign out the user. 83 // Attempts to sign out the user.
81 // TODO(jamescook): Migrate to a user or login service. crbug.com/665582 84 // TODO(jamescook): Migrate to a user or login service. crbug.com/665582
82 SignOut(); 85 SignOut();
83 86
84 // Attempts to restart the system for update. 87 // Attempts to restart the system for update.
85 RequestRestartForUpdate(); 88 RequestRestartForUpdate();
86 }; 89 };
OLDNEW
« no previous file with comments | « ash/common/wm_shell.cc ('k') | chrome/browser/chrome_content_browser_manifest_overlay.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698