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

Unified Diff: ui/login/display_manager.js

Issue 2876753003: Bootstrapping: Display Bluetooth name of CrOS device on OOBE screen. (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 side-by-side diff with in-line comments
Download patch
Index: ui/login/display_manager.js
diff --git a/ui/login/display_manager.js b/ui/login/display_manager.js
index 8998a2763f43a511a8924051296e37b7b6670c82..3ecb772ee3f5017fafcdbb32bb322b9850c9f487 100644
--- a/ui/login/display_manager.js
+++ b/ui/login/display_manager.js
@@ -1051,6 +1051,15 @@ cr.define('cr.ui.login', function() {
};
/**
+ * Sets the text content of the Bluetooth device info message.
+ * @param {string} bluetoothName The Bluetooth device name text.
+ */
+ DisplayManager.setBluetoothDeviceInfo = function(bluetoothName) {
+ $('bluetooth-name').hidden = false;
+ $('bluetooth-name').textContent = bluetoothName;
+ };
+
+ /**
* Disable Add users button if said.
* @param {boolean} disable true to disable
*/

Powered by Google App Engine
This is Rietveld 408576698