OLD | NEW |
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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 // Forces a UI update if appropriate after a notification is received. | 189 // Forces a UI update if appropriate after a notification is received. |
190 void MaybeUpdateAfterNotification(); | 190 void MaybeUpdateAfterNotification(); |
191 | 191 |
192 // Register for notifications that we need to reload the page. | 192 // Register for notifications that we need to reload the page. |
193 void MaybeRegisterForNotifications(); | 193 void MaybeRegisterForNotifications(); |
194 | 194 |
195 // Helper that lists the current inspectable html pages for an extension. | 195 // Helper that lists the current inspectable html pages for an extension. |
196 std::vector<ExtensionPage> GetInspectablePagesForExtension( | 196 std::vector<ExtensionPage> GetInspectablePagesForExtension( |
197 const Extension* extension, bool extension_is_enabled); | 197 const Extension* extension, bool extension_is_enabled); |
198 void GetInspectablePagesForExtensionProcess( | 198 void GetInspectablePagesForExtensionProcess( |
| 199 const Extension* extension, |
199 const std::set<content::RenderViewHost*>& views, | 200 const std::set<content::RenderViewHost*>& views, |
200 std::vector<ExtensionPage>* result); | 201 std::vector<ExtensionPage>* result); |
201 void GetShellWindowPagesForExtensionProfile( | 202 void GetShellWindowPagesForExtensionProfile( |
202 const Extension* extension, | 203 const Extension* extension, |
203 Profile* profile, | 204 Profile* profile, |
204 std::vector<ExtensionPage>* result); | 205 std::vector<ExtensionPage>* result); |
205 | 206 |
206 // Returns the ExtensionUninstallDialog object for this class, creating it if | 207 // Returns the ExtensionUninstallDialog object for this class, creating it if |
207 // needed. | 208 // needed. |
208 ExtensionUninstallDialog* GetExtensionUninstallDialog(); | 209 ExtensionUninstallDialog* GetExtensionUninstallDialog(); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 | 265 |
265 ScopedObserver<ExtensionWarningService, ExtensionWarningService::Observer> | 266 ScopedObserver<ExtensionWarningService, ExtensionWarningService::Observer> |
266 warning_service_observer_; | 267 warning_service_observer_; |
267 | 268 |
268 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler); | 269 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler); |
269 }; | 270 }; |
270 | 271 |
271 } // namespace extensions | 272 } // namespace extensions |
272 | 273 |
273 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ | 274 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ |
OLD | NEW |