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

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

Issue 12288052: Add managed user lock/unlock button for the extensions page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments and rebase to ToT. 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
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // extensions::ExtensionWarningService::Observer implementation. 123 // extensions::ExtensionWarningService::Observer implementation.
124 virtual void ExtensionWarningsChanged() OVERRIDE; 124 virtual void ExtensionWarningsChanged() OVERRIDE;
125 125
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.
134 void ManagedUserSetElevated(const base::ListValue* args);
135
133 // Callback for "requestExtensionsData" message. 136 // Callback for "requestExtensionsData" message.
134 void HandleRequestExtensionsData(const base::ListValue* args); 137 void HandleRequestExtensionsData(const base::ListValue* args);
135 138
136 // Callback for "toggleDeveloperMode" message. 139 // Callback for "toggleDeveloperMode" message.
137 void HandleToggleDeveloperMode(const base::ListValue* args); 140 void HandleToggleDeveloperMode(const base::ListValue* args);
138 141
139 // Callback for "inspect" message. 142 // Callback for "inspect" message.
140 void HandleInspectMessage(const base::ListValue* args); 143 void HandleInspectMessage(const base::ListValue* args);
141 144
142 // Callback for "launch" message. 145 // Callback for "launch" message.
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 scoped_ptr<ExtensionInstallPrompt> prompt_; 260 scoped_ptr<ExtensionInstallPrompt> prompt_;
258 261
259 ScopedObserver<extensions::ExtensionWarningService, 262 ScopedObserver<extensions::ExtensionWarningService,
260 extensions::ExtensionWarningService::Observer> 263 extensions::ExtensionWarningService::Observer>
261 warning_service_observer_; 264 warning_service_observer_;
262 265
263 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler); 266 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler);
264 }; 267 };
265 268
266 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ 269 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698