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

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

Issue 23454020: Update the 'managed user import' overlay to show an avatar selection grid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@show_synced_avatars_in_import_overlay
Patch Set: rebase Created 7 years, 3 months 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_MANAGED_USER_IMPORT_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_IMPORT_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_IMPORT_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_IMPORT_HANDLER_H_
7 7
8 #include "chrome/browser/ui/webui/options/options_ui.h" 8 #include "chrome/browser/ui/webui/options/options_ui.h"
9 9
10 namespace base { 10 namespace base {
(...skipping 16 matching lines...) Expand all
27 // WebUIMessageHandler implementation. 27 // WebUIMessageHandler implementation.
28 virtual void RegisterMessages() OVERRIDE; 28 virtual void RegisterMessages() OVERRIDE;
29 29
30 private: 30 private:
31 // Callback for the "requestExistingManagedUsers" message. 31 // Callback for the "requestExistingManagedUsers" message.
32 // Sends an array of managed users to WebUI. Each entry is of the form: 32 // Sends an array of managed users to WebUI. Each entry is of the form:
33 // managedProfile = { 33 // managedProfile = {
34 // id: "Managed User ID", 34 // id: "Managed User ID",
35 // name: "Managed User Name", 35 // name: "Managed User Name",
36 // iconURL: "chrome://path/to/icon/image", 36 // iconURL: "chrome://path/to/icon/image",
37 // onCurrentDevice: true or false 37 // onCurrentDevice: true or false,
38 // needAvatar: true or false
38 // } 39 // }
39 // The array holds all existing managed users attached to the 40 // The array holds all existing managed users attached to the
40 // custodian's profile who initiated the request except for 41 // custodian's profile who initiated the request except for
41 // those managed users that already exist on this machine. 42 // those managed users that already exist on this machine.
42 void RequestExistingManagedUsers(const base::ListValue* args); 43 void RequestExistingManagedUsers(const base::ListValue* args);
43 44
44 DISALLOW_COPY_AND_ASSIGN(ManagedUserImportHandler); 45 DISALLOW_COPY_AND_ASSIGN(ManagedUserImportHandler);
45 }; 46 };
46 47
47 } // namespace options 48 } // namespace options
48 49
49 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_IMPORT_HANDLER_H_ 50 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_IMPORT_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698