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

Unified Diff: chrome/browser/resources/chromeos/login/oobe.js

Issue 7564028: Added version info to WebUI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added boot times label Created 9 years, 4 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: chrome/browser/resources/chromeos/login/oobe.js
diff --git a/chrome/browser/resources/chromeos/login/oobe.js b/chrome/browser/resources/chromeos/login/oobe.js
index 2c70dca20e6620fcf5dba20a91a5f41cbed6b6e2..663388001035d651d04f219531d06888f6722b75 100644
--- a/chrome/browser/resources/chromeos/login/oobe.js
+++ b/chrome/browser/resources/chromeos/login/oobe.js
@@ -509,6 +509,15 @@ cr.define('cr.ui', function() {
}
};
+ /**
+ * Sets text content for a div with |labelId|.
+ * @param {string} labelId Id of the label div.
+ * @param {string} labelText Text for the label.
+ */
+ Oobe.setLabelText = function(labelId, labelText) {
+ $(labelId).textContent = labelText;
+ };
+
// Export
return {
Oobe: Oobe
« no previous file with comments | « chrome/browser/resources/chromeos/login/oobe.html ('k') | chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698