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

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

Issue 2121303003: Remove the "Settings" packaged app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 // Callback for the "setProfileIconAndName" message. Sets the name and icon 82 // Callback for the "setProfileIconAndName" message. Sets the name and icon
83 // of a given profile. 83 // of a given profile.
84 // |args| is of the form: [ 84 // |args| is of the form: [
85 // /*string*/ profileFilePath, 85 // /*string*/ profileFilePath,
86 // /*string*/ newProfileIconURL 86 // /*string*/ newProfileIconURL
87 // /*string*/ newProfileName, 87 // /*string*/ newProfileName,
88 // ] 88 // ]
89 void SetProfileIconAndName(const base::ListValue* args); 89 void SetProfileIconAndName(const base::ListValue* args);
90 90
91 #if defined(ENABLE_SETTINGS_APP)
92 // Callback for the "switchAppListProfile" message. Asks the
93 // app_list_controller to change the profile registered for the AppList.
94 // |args| is of the form: [ {string} profileFilePath ]
95 void SwitchAppListProfile(const base::ListValue* args);
96 #endif
97
98 // Callback for the 'profileIconSelectionChanged' message. Used to update the 91 // Callback for the 'profileIconSelectionChanged' message. Used to update the
99 // name in the manager profile dialog based on the selected icon. 92 // name in the manager profile dialog based on the selected icon.
100 void ProfileIconSelectionChanged(const base::ListValue* args); 93 void ProfileIconSelectionChanged(const base::ListValue* args);
101 94
102 // Callback for the "requestHasProfileShortcuts" message, which is called 95 // Callback for the "requestHasProfileShortcuts" message, which is called
103 // when editing an existing profile. Asks the profile shortcut manager whether 96 // when editing an existing profile. Asks the profile shortcut manager whether
104 // the profile has shortcuts and gets the result in |OnHasProfileShortcuts()|. 97 // the profile has shortcuts and gets the result in |OnHasProfileShortcuts()|.
105 // |args| is of the form: [ {string} profileFilePath ] 98 // |args| is of the form: [ {string} profileFilePath ]
106 void RequestHasProfileShortcuts(const base::ListValue* args); 99 void RequestHasProfileShortcuts(const base::ListValue* args);
107 100
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 135
143 // For generating weak pointers to itself for callbacks. 136 // For generating weak pointers to itself for callbacks.
144 base::WeakPtrFactory<ManageProfileHandler> weak_factory_; 137 base::WeakPtrFactory<ManageProfileHandler> weak_factory_;
145 138
146 DISALLOW_COPY_AND_ASSIGN(ManageProfileHandler); 139 DISALLOW_COPY_AND_ASSIGN(ManageProfileHandler);
147 }; 140 };
148 141
149 } // namespace options 142 } // namespace options
150 143
151 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_ 144 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGE_PROFILE_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698