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

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

Issue 9508008: Allow apps with background pages to request process-per-app-instance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clean up tests. Created 8 years, 9 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
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CONSTANTS_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
13 13
14 // Keys used in JSON representation of extensions. 14 // Keys used in JSON representation of extensions.
15 namespace extension_manifest_keys { 15 namespace extension_manifest_keys {
16 extern const char kAllFrames[]; 16 extern const char kAllFrames[];
17 extern const char kAltKey[]; 17 extern const char kAltKey[];
18 extern const char kApp[]; 18 extern const char kApp[];
19 extern const char kBackground[]; 19 extern const char kBackground[];
20 extern const char kBackgroundAllowJsAccess[];
20 extern const char kBackgroundPage[]; 21 extern const char kBackgroundPage[];
21 extern const char kBackgroundPageLegacy[]; 22 extern const char kBackgroundPageLegacy[];
23 extern const char kBackgroundPersistent[];
22 extern const char kBackgroundScripts[]; 24 extern const char kBackgroundScripts[];
23 extern const char kBackgroundPersistent[];
24 extern const char kBrowserAction[]; 25 extern const char kBrowserAction[];
25 extern const char kBrowseURLs[]; 26 extern const char kBrowseURLs[];
26 extern const char kChromeURLOverrides[]; 27 extern const char kChromeURLOverrides[];
27 extern const char kCommands[]; 28 extern const char kCommands[];
28 extern const char kContentScripts[]; 29 extern const char kContentScripts[];
29 extern const char kContentSecurityPolicy[]; 30 extern const char kContentSecurityPolicy[];
30 extern const char kConvertedFromUserScript[]; 31 extern const char kConvertedFromUserScript[];
31 extern const char kCss[]; 32 extern const char kCss[];
32 extern const char kCtrlKey[]; 33 extern const char kCtrlKey[];
33 extern const char kCurrentLocale[]; 34 extern const char kCurrentLocale[];
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 extern const char kCannotScriptGallery[]; 152 extern const char kCannotScriptGallery[];
152 extern const char kCannotUninstallManagedExtension[]; 153 extern const char kCannotUninstallManagedExtension[];
153 extern const char kChromeVersionTooLow[]; 154 extern const char kChromeVersionTooLow[];
154 extern const char kDevToolsExperimental[]; 155 extern const char kDevToolsExperimental[];
155 extern const char kDisabledByPolicy[]; 156 extern const char kDisabledByPolicy[];
156 extern const char kExperimentalFlagRequired[]; 157 extern const char kExperimentalFlagRequired[];
157 extern const char kExpectString[]; 158 extern const char kExpectString[];
158 extern const char kFeatureNotAllowed[]; 159 extern const char kFeatureNotAllowed[];
159 extern const char kInvalidAllFrames[]; 160 extern const char kInvalidAllFrames[];
160 extern const char kInvalidBackground[]; 161 extern const char kInvalidBackground[];
162 extern const char kInvalidBackgroundAllowJsAccess[];
163 extern const char kInvalidBackgroundAllowJsAccessNoPage[];
161 extern const char kInvalidBackgroundCombination[]; 164 extern const char kInvalidBackgroundCombination[];
162 extern const char kInvalidBackgroundScript[]; 165 extern const char kInvalidBackgroundScript[];
163 extern const char kInvalidBackgroundScripts[]; 166 extern const char kInvalidBackgroundScripts[];
164 extern const char kInvalidBackgroundInHostedApp[]; 167 extern const char kInvalidBackgroundInHostedApp[];
165 extern const char kInvalidBackgroundPersistent[]; 168 extern const char kInvalidBackgroundPersistent[];
166 extern const char kInvalidBackgroundPersistentNoPage[]; 169 extern const char kInvalidBackgroundPersistentNoPage[];
167 extern const char kInvalidBrowserAction[]; 170 extern const char kInvalidBrowserAction[];
168 extern const char kInvalidBrowseURL[]; 171 extern const char kInvalidBrowseURL[];
169 extern const char kInvalidBrowseURLs[]; 172 extern const char kInvalidBrowseURLs[];
170 extern const char kInvalidChromeURLOverrides[]; 173 extern const char kInvalidChromeURLOverrides[];
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 507
505 enum UnloadedExtensionReason { 508 enum UnloadedExtensionReason {
506 UNLOAD_REASON_DISABLE, // Extension is being disabled. 509 UNLOAD_REASON_DISABLE, // Extension is being disabled.
507 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. 510 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version.
508 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. 511 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled.
509 UNLOAD_REASON_TERMINATE, // Extension has terminated. 512 UNLOAD_REASON_TERMINATE, // Extension has terminated.
510 }; 513 };
511 } // extension_misc 514 } // extension_misc
512 515
513 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 516 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698