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

Unified Diff: ash/public/interfaces/system_tray.mojom

Issue 2754143006: cros: Convert SystemTrayDelegate::ManageBluetoothDevices to mojo for mash (Closed)
Patch Set: rebase Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: ash/public/interfaces/system_tray.mojom
diff --git a/ash/public/interfaces/system_tray.mojom b/ash/public/interfaces/system_tray.mojom
index 99ba17e61be7759633428d665360622f473a3084..65046057140468cac34ad4d88aa38483c30435fb 100644
--- a/ash/public/interfaces/system_tray.mojom
+++ b/ash/public/interfaces/system_tray.mojom
@@ -5,6 +5,7 @@
module ash.mojom;
import "ash/public/interfaces/update.mojom";
+import "mojo/common/string16.mojom";
// Allows clients (e.g. Chrome browser) to control the ash system tray menu.
interface SystemTray {
@@ -34,6 +35,18 @@ interface SystemTrayClient {
// Shows general settings UI.
ShowSettings();
+ // Shows settings related to Bluetooth devices (e.g. to add a device).
+ ShowBluetoothSettings();
+
+ // Shows the web UI dialog to pair a Bluetooth device.
+ // |address| is the unique device address in the form "XX:XX:XX:XX:XX:XX"
+ // with hex digits X. |name_for_display| is a human-readable name, not
+ // necessarily the device name.
+ ShowBluetoothPairingDialog(string address,
+ mojo.common.mojom.String16 name_for_display,
+ bool paired,
+ bool connected);
+
// Shows the settings related to date, timezone etc.
ShowDateSettings();
« no previous file with comments | « ash/common/system/tray/system_tray_delegate.cc ('k') | chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698