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 |