| 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_MANIFEST_CONSTANTS_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_MANIFEST_CONSTANTS_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_MANIFEST_CONSTANTS_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_MANIFEST_CONSTANTS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "googleurl/src/gurl.h" | 11 #include "googleurl/src/gurl.h" |
| 12 | 12 |
| 13 // Keys used in JSON representation of extensions. | 13 // Keys used in JSON representation of extensions. |
| 14 namespace extension_manifest_keys { | 14 namespace extension_manifest_keys { |
| 15 extern const char kAllFrames[]; | 15 extern const char kAllFrames[]; |
| 16 extern const char kAltKey[]; | 16 extern const char kAltKey[]; |
| 17 extern const char kApp[]; | 17 extern const char kApp[]; |
| 18 extern const char kBackgroundAllowJsAccess[]; | 18 extern const char kBackgroundAllowJsAccess[]; |
| 19 extern const char kBackgroundPage[]; | 19 extern const char kBackgroundPage[]; |
| 20 extern const char kBackgroundPageLegacy[]; | 20 extern const char kBackgroundPageLegacy[]; |
| 21 extern const char kBackgroundPersistent[]; | 21 extern const char kBackgroundPersistent[]; |
| 22 extern const char kBackgroundScripts[]; | 22 extern const char kBackgroundScripts[]; |
| 23 extern const char kBrowserAction[]; | 23 extern const char kBrowserAction[]; |
| 24 extern const char kBrowseURLs[]; | 24 extern const char kBrowseURLs[]; |
| 25 extern const char kChromeURLOverrides[]; | 25 extern const char kChromeURLOverrides[]; |
| 26 extern const char kCommands[]; | 26 extern const char kCommands[]; |
| 27 extern const char kContentPack[]; |
| 28 extern const char kContentPackSites[]; |
| 27 extern const char kContentScripts[]; | 29 extern const char kContentScripts[]; |
| 28 extern const char kContentSecurityPolicy[]; | 30 extern const char kContentSecurityPolicy[]; |
| 29 extern const char kConvertedFromUserScript[]; | 31 extern const char kConvertedFromUserScript[]; |
| 30 extern const char kCss[]; | 32 extern const char kCss[]; |
| 31 extern const char kCtrlKey[]; | 33 extern const char kCtrlKey[]; |
| 32 extern const char kCurrentLocale[]; | 34 extern const char kCurrentLocale[]; |
| 33 extern const char kDefaultLocale[]; | 35 extern const char kDefaultLocale[]; |
| 34 extern const char kDescription[]; | 36 extern const char kDescription[]; |
| 35 extern const char kDevToolsPage[]; | 37 extern const char kDevToolsPage[]; |
| 36 extern const char kEventName[]; | 38 extern const char kEventName[]; |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 extern const char kInvalidBackgroundScript[]; | 184 extern const char kInvalidBackgroundScript[]; |
| 183 extern const char kInvalidBackgroundScripts[]; | 185 extern const char kInvalidBackgroundScripts[]; |
| 184 extern const char kInvalidBackgroundInHostedApp[]; | 186 extern const char kInvalidBackgroundInHostedApp[]; |
| 185 extern const char kInvalidBackgroundPersistent[]; | 187 extern const char kInvalidBackgroundPersistent[]; |
| 186 extern const char kInvalidBackgroundPersistentNoPage[]; | 188 extern const char kInvalidBackgroundPersistentNoPage[]; |
| 187 extern const char kInvalidBrowserAction[]; | 189 extern const char kInvalidBrowserAction[]; |
| 188 extern const char kInvalidBrowseURL[]; | 190 extern const char kInvalidBrowseURL[]; |
| 189 extern const char kInvalidBrowseURLs[]; | 191 extern const char kInvalidBrowseURLs[]; |
| 190 extern const char kInvalidChromeURLOverrides[]; | 192 extern const char kInvalidChromeURLOverrides[]; |
| 191 extern const char kInvalidCommandsKey[]; | 193 extern const char kInvalidCommandsKey[]; |
| 194 extern const char kInvalidContentPack[]; |
| 195 extern const char kInvalidContentPackSites[]; |
| 192 extern const char kInvalidContentScript[]; | 196 extern const char kInvalidContentScript[]; |
| 193 extern const char kInvalidContentScriptsList[]; | 197 extern const char kInvalidContentScriptsList[]; |
| 194 extern const char kInvalidContentSecurityPolicy[]; | 198 extern const char kInvalidContentSecurityPolicy[]; |
| 195 extern const char kInvalidCss[]; | 199 extern const char kInvalidCss[]; |
| 196 extern const char kInvalidCssList[]; | 200 extern const char kInvalidCssList[]; |
| 197 extern const char kInvalidDefaultLocale[]; | 201 extern const char kInvalidDefaultLocale[]; |
| 198 extern const char kInvalidDescription[]; | 202 extern const char kInvalidDescription[]; |
| 199 extern const char kInvalidDevToolsPage[]; | 203 extern const char kInvalidDevToolsPage[]; |
| 200 extern const char kInvalidExcludeMatch[]; | 204 extern const char kInvalidExcludeMatch[]; |
| 201 extern const char kInvalidExcludeMatches[]; | 205 extern const char kInvalidExcludeMatches[]; |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 extern const char kScriptBadgeRequiresFlag[]; | 330 extern const char kScriptBadgeRequiresFlag[]; |
| 327 extern const char kScriptBadgeIconIgnored[]; | 331 extern const char kScriptBadgeIconIgnored[]; |
| 328 extern const char kScriptBadgeTitleIgnored[]; | 332 extern const char kScriptBadgeTitleIgnored[]; |
| 329 extern const char kWebRequestConflictsWithLazyBackground[]; | 333 extern const char kWebRequestConflictsWithLazyBackground[]; |
| 330 #if defined(OS_CHROMEOS) | 334 #if defined(OS_CHROMEOS) |
| 331 extern const char kIllegalPlugins[]; | 335 extern const char kIllegalPlugins[]; |
| 332 #endif | 336 #endif |
| 333 } // namespace extension_manifest_errors | 337 } // namespace extension_manifest_errors |
| 334 | 338 |
| 335 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_MANIFEST_CONSTANTS_H_ | 339 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_MANIFEST_CONSTANTS_H_ |
| OLD | NEW |