Chromium Code Reviews| 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 766524f9e1f72fda39ea45eed510c0a8fe9f16f5..29960a3f36ab59fb9cddac0390e6b5c589911bfa 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 |
| @@ -42,6 +42,14 @@ class ChangePictureOptionsHandler : public OptionsPageUIHandler, |
| // Sends current selection to the page. |
| void SendSelectedImage(); |
| + // Sends the profile image to the page. If |should_select| is true, then |
|
whywhat
2011/11/11 15:40:42
No , before then
Ivan Korotkov
2011/11/11 16:08:00
Done.
|
| + // the profile image element is selected. |
| + void SendProfileImage(const SkBitmap& image, bool should_select); |
| + |
| + // Starts profile image update and shows the last downloaded profile image, |
| + // if any, on the page. Shouldn't be called before |SendProfileImage|. |
| + void UpdateProfileImage(); |
| + |
| // Starts camera presence check. |
| void CheckCameraPresence(); |
| @@ -57,8 +65,8 @@ class ChangePictureOptionsHandler : public OptionsPageUIHandler, |
| // Gets the list of available user images and sends it to the page. |
| void HandleGetAvailableImages(const base::ListValue* args); |
| - // Gets URL of the currently selected image. |
| - void HandleGetSelectedImage(const base::ListValue* args); |
| + // Handles page shown event. |
| + void HandleOnPageShown(const base::ListValue* args); |
| // Selects one of the available images as user's. |
| void HandleSelectImage(const base::ListValue* args); |