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

Side by Side Diff: chrome/browser/ui/webui/extensions/extension_settings_handler.h

Issue 12310058: Show the managed user passphrase dialog when clicking unlock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/webui/extensions/extension_settings_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // ExtensionInstallPrompt::Delegate implementation. 126 // ExtensionInstallPrompt::Delegate implementation.
127 virtual void InstallUIProceed() OVERRIDE; 127 virtual void InstallUIProceed() OVERRIDE;
128 virtual void InstallUIAbort(bool user_initiated) OVERRIDE; 128 virtual void InstallUIAbort(bool user_initiated) OVERRIDE;
129 129
130 // Helper method that reloads all unpacked extensions. 130 // Helper method that reloads all unpacked extensions.
131 void ReloadUnpackedExtensions(); 131 void ReloadUnpackedExtensions();
132 132
133 // Callback for "setElevated" message. 133 // Callback for "setElevated" message.
134 void ManagedUserSetElevated(const base::ListValue* args); 134 void ManagedUserSetElevated(const base::ListValue* args);
135 135
136 // If the authentication of the managed user was successful,
137 // it gives this information back to the UI.
138 void PassphraseDialogCallback(bool success);
139
136 // Callback for "requestExtensionsData" message. 140 // Callback for "requestExtensionsData" message.
137 void HandleRequestExtensionsData(const base::ListValue* args); 141 void HandleRequestExtensionsData(const base::ListValue* args);
138 142
139 // Callback for "toggleDeveloperMode" message. 143 // Callback for "toggleDeveloperMode" message.
140 void HandleToggleDeveloperMode(const base::ListValue* args); 144 void HandleToggleDeveloperMode(const base::ListValue* args);
141 145
142 // Callback for "inspect" message. 146 // Callback for "inspect" message.
143 void HandleInspectMessage(const base::ListValue* args); 147 void HandleInspectMessage(const base::ListValue* args);
144 148
145 // Callback for "launch" message. 149 // Callback for "launch" message.
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 scoped_ptr<ExtensionInstallPrompt> prompt_; 264 scoped_ptr<ExtensionInstallPrompt> prompt_;
261 265
262 ScopedObserver<extensions::ExtensionWarningService, 266 ScopedObserver<extensions::ExtensionWarningService,
263 extensions::ExtensionWarningService::Observer> 267 extensions::ExtensionWarningService::Observer>
264 warning_service_observer_; 268 warning_service_observer_;
265 269
266 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler); 270 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler);
267 }; 271 };
268 272
269 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ 273 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/extensions/extension_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698