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

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

Issue 2513673004: Reland: chromeos: Convert ash VPNDelegate interface to mojo (Closed)
Patch Set: fix manifest for reland 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
« no previous file with comments | « ash/public/interfaces/BUILD.gn ('k') | ash/public/interfaces/vpn_list.mojom » ('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 clock to use 24 hour time formatting if |use_24_hour| is true. 9 // Sets the clock to use 24 hour time formatting if |use_24_hour| is true.
10 // Otherwise sets 12 hour time formatting. 10 // Otherwise sets 12 hour time formatting.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 // Shows UI to configure or activate the network specified by |network_id|, 58 // Shows UI to configure or activate the network specified by |network_id|,
59 // which may include showing payment or captive portal UI when appropriate. 59 // which may include showing payment or captive portal UI when appropriate.
60 ShowNetworkConfigure(string network_id); 60 ShowNetworkConfigure(string network_id);
61 61
62 // Shows UI to create a new network connection. The |type| is a Shill/Flimflam 62 // Shows UI to create a new network connection. The |type| is a Shill/Flimflam
63 // network type from third_party/cros_system_api/dbus/shill/dbus-constants.h 63 // network type from third_party/cros_system_api/dbus/shill/dbus-constants.h
64 // ('wifi', 'cellular', etc.). 64 // ('wifi', 'cellular', etc.).
65 ShowNetworkCreate(string type); 65 ShowNetworkCreate(string type);
66 66
67 // Shows the "add network" UI to create a third-party extension-backed VPN
68 // connection (e.g. Cisco AnyConnect).
69 ShowThirdPartyVpnCreate(string extension_id);
70
67 // Shows settings related to networking. If |network_id| is empty, shows 71 // Shows settings related to networking. If |network_id| is empty, shows
68 // general settings. Otherwise shows settings for the individual network. 72 // general settings. Otherwise shows settings for the individual network.
69 // On devices |network_id| is a GUID, but on Linux desktop and in tests it can 73 // On devices |network_id| is a GUID, but on Linux desktop and in tests it can
70 // be any string. 74 // be any string.
71 ShowNetworkSettings(string network_id); 75 ShowNetworkSettings(string network_id);
72 76
73 // Shows UI for changing proxy settings. 77 // Shows UI for changing proxy settings.
74 ShowProxySettings(); 78 ShowProxySettings();
75 79
76 // Attempts to sign out the user. 80 // Attempts to sign out the user.
77 // TODO(jamescook): Migrate to a user or login service. crbug.com/665582 81 // TODO(jamescook): Migrate to a user or login service. crbug.com/665582
78 SignOut(); 82 SignOut();
79 83
80 // Attempts to restart the system for update. 84 // Attempts to restart the system for update.
81 RequestRestartForUpdate(); 85 RequestRestartForUpdate();
82 }; 86 };
OLDNEW
« no previous file with comments | « ash/public/interfaces/BUILD.gn ('k') | ash/public/interfaces/vpn_list.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698