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

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

Issue 8775013: [cros] Refresh all localized content on image screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/login/oobe_screen_user_image.js
diff --git a/chrome/browser/resources/chromeos/login/oobe_screen_user_image.js b/chrome/browser/resources/chromeos/login/oobe_screen_user_image.js
index 109be7d1c121c9877f141f77057e5e24bf7048e1..83230cb9431a2f3bed33a7464c73aa44e9e7a1cb 100644
--- a/chrome/browser/resources/chromeos/login/oobe_screen_user_image.js
+++ b/chrome/browser/resources/chromeos/login/oobe_screen_user_image.js
@@ -319,6 +319,15 @@ cr.define('oobe', function() {
updateCaption_: function() {
$('user-image-preview-caption').textContent =
this.profileImageSelected ? this.profileImageCaption : '';
+ },
+
+ /**
+ * Updates localized content of the screen that is not updated via template.
+ * @public
+ */
+ updateLocalizedContent: function() {
Ivan Korotkov 2011/12/01 17:59:50 Can we eliminate the duplication be calling this f
Nikita (slow) 2011/12/02 10:06:35 Refactored. I'd prefer not calling updateLocalized
+ this.profileImageCaption = localStrings.getString(
+ this.profileImageLoading_ ? 'profilePhotoLoading' : 'profilePhoto');
}
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698