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_COMMON_EXTENSIONS_EXTENSION_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <map> | 10 #include <map> |
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
765 string16* error); | 765 string16* error); |
766 bool LoadWebIntentServices(string16* error); | 766 bool LoadWebIntentServices(string16* error); |
767 bool LoadExtensionFeatures(const ExtensionAPIPermissionSet& api_permissions, | 767 bool LoadExtensionFeatures(const ExtensionAPIPermissionSet& api_permissions, |
768 string16* error); | 768 string16* error); |
769 bool LoadDevToolsPage(string16* error); | 769 bool LoadDevToolsPage(string16* error); |
770 bool LoadInputComponents(const ExtensionAPIPermissionSet& api_permissions, | 770 bool LoadInputComponents(const ExtensionAPIPermissionSet& api_permissions, |
771 string16* error); | 771 string16* error); |
772 bool LoadContentScripts(string16* error); | 772 bool LoadContentScripts(string16* error); |
773 bool LoadPageAction(string16* error); | 773 bool LoadPageAction(string16* error); |
774 bool LoadBrowserAction(string16* error); | 774 bool LoadBrowserAction(string16* error); |
775 void GenerateBrowserActionIfPossible(); | |
776 bool LoadFileBrowserHandlers(string16* error); | 775 bool LoadFileBrowserHandlers(string16* error); |
777 // Helper method to load a FileBrowserHandlerList from the manifest. | 776 // Helper method to load a FileBrowserHandlerList from the manifest. |
778 FileBrowserHandlerList* LoadFileBrowserHandlersHelper( | 777 FileBrowserHandlerList* LoadFileBrowserHandlersHelper( |
779 const base::ListValue* extension_actions, string16* error); | 778 const base::ListValue* extension_actions, string16* error); |
780 // Helper method to load an FileBrowserHandler from manifest. | 779 // Helper method to load an FileBrowserHandler from manifest. |
781 FileBrowserHandler* LoadFileBrowserHandler( | 780 FileBrowserHandler* LoadFileBrowserHandler( |
782 const base::DictionaryValue* file_browser_handlers, string16* error); | 781 const base::DictionaryValue* file_browser_handlers, string16* error); |
783 bool LoadChromeURLOverrides(string16* error); | 782 bool LoadChromeURLOverrides(string16* error); |
784 bool LoadOmnibox(string16* error); | 783 bool LoadOmnibox(string16* error); |
785 bool LoadTextToSpeechVoices(string16* error); | 784 bool LoadTextToSpeechVoices(string16* error); |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1116 // only contain the removed permissions. | 1115 // only contain the removed permissions. |
1117 const ExtensionPermissionSet* permissions; | 1116 const ExtensionPermissionSet* permissions; |
1118 | 1117 |
1119 UpdatedExtensionPermissionsInfo( | 1118 UpdatedExtensionPermissionsInfo( |
1120 const Extension* extension, | 1119 const Extension* extension, |
1121 const ExtensionPermissionSet* permissions, | 1120 const ExtensionPermissionSet* permissions, |
1122 Reason reason); | 1121 Reason reason); |
1123 }; | 1122 }; |
1124 | 1123 |
1125 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 1124 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
OLD | NEW |