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

Unified Diff: chrome/common/extensions/extension_constants.h

Issue 9150008: Introduce background.scripts feature for extension manifests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ready to land Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_constants.h
diff --git a/chrome/common/extensions/extension_constants.h b/chrome/common/extensions/extension_constants.h
index 82fb317d1fd6dd2b8c8a3f0e57283b27ca0611e7..a317aad0c575edacd48b6913dade866515baa95a 100644
--- a/chrome/common/extensions/extension_constants.h
+++ b/chrome/common/extensions/extension_constants.h
@@ -19,6 +19,7 @@ namespace extension_manifest_keys {
extern const char kBackground[];
extern const char kBackgroundPage[];
extern const char kBackgroundPageLegacy[];
+ extern const char kBackgroundScripts[];
extern const char kBrowserAction[];
extern const char kBrowseURLs[];
extern const char kChromeURLOverrides[];
@@ -151,6 +152,9 @@ namespace extension_manifest_errors {
extern const char kFeatureNotAllowed[];
extern const char kInvalidAllFrames[];
extern const char kInvalidBackground[];
+ extern const char kInvalidBackgroundCombination[];
+ extern const char kInvalidBackgroundScript[];
+ extern const char kInvalidBackgroundScripts[];
extern const char kInvalidBackgroundInHostedApp[];
extern const char kInvalidBrowserAction[];
extern const char kInvalidBrowseURL[];
@@ -325,6 +329,10 @@ namespace extension_filenames {
// The file to write our decoded message catalogs to, relative to the
// extension_path.
extern const char kDecodedMessageCatalogsFilename[];
+
+ // The filename to use for a background page generated from
+ // background.scripts.
+ extern const char kGeneratedBackgroundPageFilename[];
}
namespace extension_misc {
« 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