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

Side by Side Diff: chrome/browser/ui/webui/options/manage_profile_handler.h

Issue 8711002: Add GAIA picture to Settings profile overlay (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/webui/options/options_ui.h" 9 #include "chrome/browser/ui/webui/options/options_ui.h"
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // Given |args| of the form: [ {number} profileIndex ] 59 // Given |args| of the form: [ {number} profileIndex ]
60 // Sends an object to WebUI of the form: 60 // Sends an object to WebUI of the form:
61 // profileInfo = { 61 // profileInfo = {
62 // name: "Profile Name", 62 // name: "Profile Name",
63 // iconURL: "chrome://path/to/icon/image", 63 // iconURL: "chrome://path/to/icon/image",
64 // filePath: "/path/to/profile/data/on/disk" 64 // filePath: "/path/to/profile/data/on/disk"
65 // isCurrentProfile: false, 65 // isCurrentProfile: false,
66 // }; 66 // };
67 void RequestProfileInfo(const base::ListValue* args); 67 void RequestProfileInfo(const base::ListValue* args);
68 68
69 // Callback for the 'profileIconSelectionChanged' message. Used to update the
70 // name in the manager profile dialog based on the selected icon.
71 void ProfileIconSelectionChanged(const base::ListValue* args);
72
73 // Send all profile icons to the overlay.
74 void SendProfileIcons();
75
76 // URL for the current profile's GAIA picture.
77 std::string gaia_picture_url_;
78
69 DISALLOW_COPY_AND_ASSIGN(ManageProfileHandler); 79 DISALLOW_COPY_AND_ASSIGN(ManageProfileHandler);
70 }; 80 };
71 81
72 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ 82 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/manage_profile_overlay.js ('k') | chrome/browser/ui/webui/options/manage_profile_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698