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

Side by Side Diff: chrome/common/extensions/extension.h

Issue 11361189: Initial skeleton for System Indicator API (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase; Make system_indicator manifest entry grant systemIndicator permission. Created 8 years, 1 month 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
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_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 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <iosfwd> 9 #include <iosfwd>
10 #include <map> 10 #include <map>
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 string16* error); 903 string16* error);
904 // Parses a single action in the manifest. 904 // Parses a single action in the manifest.
905 bool LoadWebIntentAction(const std::string& action_name, 905 bool LoadWebIntentAction(const std::string& action_name,
906 const base::DictionaryValue& intent_service, 906 const base::DictionaryValue& intent_service,
907 string16* error); 907 string16* error);
908 bool LoadWebIntentServices(string16* error); 908 bool LoadWebIntentServices(string16* error);
909 bool LoadFileHandler(const std::string& handler_id, 909 bool LoadFileHandler(const std::string& handler_id,
910 const base::DictionaryValue& handler_info, 910 const base::DictionaryValue& handler_info,
911 string16* error); 911 string16* error);
912 bool LoadFileHandlers(string16* error); 912 bool LoadFileHandlers(string16* error);
913 bool LoadExtensionFeatures(const APIPermissionSet& api_permissions, 913 bool LoadExtensionFeatures(APIPermissionSet& api_permissions,
not at google - send to devlin 2012/11/20 23:58:08 Non const pointers bad. If this isn't const anymor
dewittj 2012/11/21 22:09:41 I've been revealed as a C++ n00b. Fixed.
914 string16* error); 914 string16* error);
915 bool LoadDevToolsPage(string16* error); 915 bool LoadDevToolsPage(string16* error);
916 bool LoadInputComponents(const APIPermissionSet& api_permissions, 916 bool LoadInputComponents(const APIPermissionSet& api_permissions,
917 string16* error); 917 string16* error);
918 bool LoadContentScripts(string16* error); 918 bool LoadContentScripts(string16* error);
919 bool LoadPageAction(string16* error); 919 bool LoadPageAction(string16* error);
920 bool LoadBrowserAction(string16* error); 920 bool LoadBrowserAction(string16* error);
921 bool LoadScriptBadge(string16* error); 921 bool LoadScriptBadge(string16* error);
922 bool LoadSystemIndicator(APIPermissionSet& api_permissions, string16* error);
922 bool LoadFileBrowserHandlers(string16* error); 923 bool LoadFileBrowserHandlers(string16* error);
923 // Helper method to load a FileBrowserHandlerList from the manifest. 924 // Helper method to load a FileBrowserHandlerList from the manifest.
924 FileBrowserHandlerList* LoadFileBrowserHandlersHelper( 925 FileBrowserHandlerList* LoadFileBrowserHandlersHelper(
925 const base::ListValue* extension_actions, string16* error); 926 const base::ListValue* extension_actions, string16* error);
926 // Helper method to load an FileBrowserHandler from manifest. 927 // Helper method to load an FileBrowserHandler from manifest.
927 FileBrowserHandler* LoadFileBrowserHandler( 928 FileBrowserHandler* LoadFileBrowserHandler(
928 const base::DictionaryValue* file_browser_handlers, string16* error); 929 const base::DictionaryValue* file_browser_handlers, string16* error);
929 bool LoadChromeURLOverrides(string16* error); 930 bool LoadChromeURLOverrides(string16* error);
930 bool LoadOmnibox(string16* error); 931 bool LoadOmnibox(string16* error);
931 bool LoadTextToSpeechVoices(string16* error); 932 bool LoadTextToSpeechVoices(string16* error);
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
1283 1284
1284 UpdatedExtensionPermissionsInfo( 1285 UpdatedExtensionPermissionsInfo(
1285 const Extension* extension, 1286 const Extension* extension,
1286 const PermissionSet* permissions, 1287 const PermissionSet* permissions,
1287 Reason reason); 1288 Reason reason);
1288 }; 1289 };
1289 1290
1290 } // namespace extensions 1291 } // namespace extensions
1291 1292
1292 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 1293 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698