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

Unified Diff: chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h

Issue 8879048: [cros] Change Picture prefs page: DOM initialization moved to separate handler from Initialize. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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/ui/webui/options/chromeos/change_picture_options_handler.h
diff --git a/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h b/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h
index f4d4d06517667c4d85cb612a0b1db1e6ad0a50be..acbcf9f9233a60319ad5f3729ca833a241a1f49a 100644
--- a/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h
+++ b/chrome/browser/ui/webui/options/chromeos/change_picture_options_handler.h
@@ -28,7 +28,6 @@ class ChangePictureOptionsHandler : public OptionsPageUIHandler,
virtual ~ChangePictureOptionsHandler();
// OptionsPageUIHandler implementation.
- virtual void Initialize() OVERRIDE;
virtual void GetLocalizedValues(
base::DictionaryValue* localized_strings) OVERRIDE;
@@ -37,7 +36,7 @@ class ChangePictureOptionsHandler : public OptionsPageUIHandler,
private:
// Sends list of available default images to the page.
- void SendAvailableImages();
+ void SendDefaultImages();
// Sends current selection to the page.
void SendSelectedImage();
@@ -65,8 +64,11 @@ class ChangePictureOptionsHandler : public OptionsPageUIHandler,
// Gets the list of available user images and sends it to the page.
void HandleGetAvailableImages(const base::ListValue* args);
+ // Handles page initialized event.
+ void HandlePageInitialized(const base::ListValue* args);
+
// Handles page shown event.
- void HandleOnPageShown(const base::ListValue* args);
+ void HandlePageShown(const base::ListValue* args);
// Selects one of the available images as user's.
void HandleSelectImage(const base::ListValue* args);

Powered by Google App Engine
This is Rietveld 408576698