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'); |
} |
}; |