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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Extension* extension, |
200 const std::set<content::RenderViewHost*>& views, | 200 const std::set<content::RenderViewHost*>& views, |
201 std::vector<ExtensionPage>* result); | 201 std::vector<ExtensionPage>* result); |
202 void GetShellWindowPagesForExtensionProfile( | 202 void GetAppWindowPagesForExtensionProfile(const Extension* extension, |
203 const Extension* extension, | 203 Profile* profile, |
204 Profile* profile, | 204 std::vector<ExtensionPage>* result); |
205 std::vector<ExtensionPage>* result); | |
206 | 205 |
207 // Returns the ExtensionUninstallDialog object for this class, creating it if | 206 // Returns the ExtensionUninstallDialog object for this class, creating it if |
208 // needed. | 207 // needed. |
209 ExtensionUninstallDialog* GetExtensionUninstallDialog(); | 208 ExtensionUninstallDialog* GetExtensionUninstallDialog(); |
210 | 209 |
211 // Callback for RequirementsChecker. | 210 // Callback for RequirementsChecker. |
212 void OnRequirementsChecked(std::string extension_id, | 211 void OnRequirementsChecked(std::string extension_id, |
213 std::vector<std::string> requirement_errors); | 212 std::vector<std::string> requirement_errors); |
214 | 213 |
215 // Our model. Outlives us since it's owned by our containing profile. | 214 // Our model. Outlives us since it's owned by our containing profile. |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 // Whether we found any DISABLE_NOT_VERIFIED extensions and want to kick off | 272 // Whether we found any DISABLE_NOT_VERIFIED extensions and want to kick off |
274 // a verification check to try and rescue them. | 273 // a verification check to try and rescue them. |
275 bool should_do_verification_check_; | 274 bool should_do_verification_check_; |
276 | 275 |
277 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler); | 276 DISALLOW_COPY_AND_ASSIGN(ExtensionSettingsHandler); |
278 }; | 277 }; |
279 | 278 |
280 } // namespace extensions | 279 } // namespace extensions |
281 | 280 |
282 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ | 281 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_SETTINGS_HANDLER_H_ |
OLD | NEW |