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

Unified Diff: ui/login/display_manager.js

Issue 2876753003: Bootstrapping: Display Bluetooth name of CrOS device on OOBE screen. (Closed)
Patch Set: Address achuith@'s comments. 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
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc ('k') | ui/login/oobe.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
*/
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc ('k') | ui/login/oobe.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698