| 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 kDisplayInLauncher[]; | 38 extern const char kDisplayInLauncher[]; |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 extern const char kInvalidBackgroundScript[]; | 192 extern const char kInvalidBackgroundScript[]; |
| 191 extern const char kInvalidBackgroundScripts[]; | 193 extern const char kInvalidBackgroundScripts[]; |
| 192 extern const char kInvalidBackgroundInHostedApp[]; | 194 extern const char kInvalidBackgroundInHostedApp[]; |
| 193 extern const char kInvalidBackgroundPersistent[]; | 195 extern const char kInvalidBackgroundPersistent[]; |
| 194 extern const char kInvalidBackgroundPersistentNoPage[]; | 196 extern const char kInvalidBackgroundPersistentNoPage[]; |
| 195 extern const char kInvalidBrowserAction[]; | 197 extern const char kInvalidBrowserAction[]; |
| 196 extern const char kInvalidBrowseURL[]; | 198 extern const char kInvalidBrowseURL[]; |
| 197 extern const char kInvalidBrowseURLs[]; | 199 extern const char kInvalidBrowseURLs[]; |
| 198 extern const char kInvalidChromeURLOverrides[]; | 200 extern const char kInvalidChromeURLOverrides[]; |
| 199 extern const char kInvalidCommandsKey[]; | 201 extern const char kInvalidCommandsKey[]; |
| 202 extern const char kInvalidContentPack[]; |
| 203 extern const char kInvalidContentPackSites[]; |
| 200 extern const char kInvalidContentScript[]; | 204 extern const char kInvalidContentScript[]; |
| 201 extern const char kInvalidContentScriptsList[]; | 205 extern const char kInvalidContentScriptsList[]; |
| 202 extern const char kInvalidContentSecurityPolicy[]; | 206 extern const char kInvalidContentSecurityPolicy[]; |
| 203 extern const char kInvalidCss[]; | 207 extern const char kInvalidCss[]; |
| 204 extern const char kInvalidCssList[]; | 208 extern const char kInvalidCssList[]; |
| 205 extern const char kInvalidDefaultLocale[]; | 209 extern const char kInvalidDefaultLocale[]; |
| 206 extern const char kInvalidDescription[]; | 210 extern const char kInvalidDescription[]; |
| 207 extern const char kInvalidDevToolsPage[]; | 211 extern const char kInvalidDevToolsPage[]; |
| 208 extern const char kInvalidDisplayInLauncher[]; | 212 extern const char kInvalidDisplayInLauncher[]; |
| 209 extern const char kInvalidDisplayInNewTabPage[]; | 213 extern const char kInvalidDisplayInNewTabPage[]; |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 extern const char kScriptBadgeRequiresFlag[]; | 352 extern const char kScriptBadgeRequiresFlag[]; |
| 349 extern const char kScriptBadgeIconIgnored[]; | 353 extern const char kScriptBadgeIconIgnored[]; |
| 350 extern const char kScriptBadgeTitleIgnored[]; | 354 extern const char kScriptBadgeTitleIgnored[]; |
| 351 extern const char kWebRequestConflictsWithLazyBackground[]; | 355 extern const char kWebRequestConflictsWithLazyBackground[]; |
| 352 #if defined(OS_CHROMEOS) | 356 #if defined(OS_CHROMEOS) |
| 353 extern const char kIllegalPlugins[]; | 357 extern const char kIllegalPlugins[]; |
| 354 #endif | 358 #endif |
| 355 } // namespace extension_manifest_errors | 359 } // namespace extension_manifest_errors |
| 356 | 360 |
| 357 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_MANIFEST_CONSTANTS_H_ | 361 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_MANIFEST_CONSTANTS_H_ |
| OLD | NEW |