| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "extensions/common/manifest_constants.h" | 5 #include "extensions/common/manifest_constants.h" |
| 6 | 6 |
| 7 namespace extensions { | 7 namespace extensions { |
| 8 | 8 |
| 9 namespace manifest_keys { | 9 namespace manifest_keys { |
| 10 | 10 |
| 11 const char kAboutPage[] = "about_page"; | 11 const char kAboutPage[] = "about_page"; |
| 12 const char kAllFrames[] = "all_frames"; | 12 const char kAllFrames[] = "all_frames"; |
| 13 const char kAltKey[] = "altKey"; | 13 const char kAltKey[] = "altKey"; |
| 14 const char kApp[] = "app"; | 14 const char kApp[] = "app"; |
| 15 const char kAppIconColor[] = "app.icon_color"; |
| 15 const char kAutomation[] = "automation"; | 16 const char kAutomation[] = "automation"; |
| 16 const char kBackgroundAllowJsAccess[] = "background.allow_js_access"; | 17 const char kBackgroundAllowJsAccess[] = "background.allow_js_access"; |
| 17 const char kBackgroundPage[] = "background.page"; | 18 const char kBackgroundPage[] = "background.page"; |
| 18 const char kBackgroundPageLegacy[] = "background_page"; | 19 const char kBackgroundPageLegacy[] = "background_page"; |
| 19 const char kBackgroundPersistent[] = "background.persistent"; | 20 const char kBackgroundPersistent[] = "background.persistent"; |
| 20 const char kBackgroundScripts[] = "background.scripts"; | 21 const char kBackgroundScripts[] = "background.scripts"; |
| 21 const char kBluetooth[] = "bluetooth"; | 22 const char kBluetooth[] = "bluetooth"; |
| 22 const char kBookmarkUI[] = "bookmarks_ui"; | 23 const char kBookmarkUI[] = "bookmarks_ui"; |
| 23 const char kBrowserAction[] = "browser_action"; | 24 const char kBrowserAction[] = "browser_action"; |
| 24 const char kChromeURLOverrides[] = "chrome_url_overrides"; | 25 const char kChromeURLOverrides[] = "chrome_url_overrides"; |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 const char kExpectString[] = "Expect string value."; | 273 const char kExpectString[] = "Expect string value."; |
| 273 const char kExperimentalFlagRequired[] = | 274 const char kExperimentalFlagRequired[] = |
| 274 "Loading extensions with 'experimental' permission is turned off by " | 275 "Loading extensions with 'experimental' permission is turned off by " |
| 275 "default. You can enable 'Experimental Extension APIs' " | 276 "default. You can enable 'Experimental Extension APIs' " |
| 276 "by visiting chrome://flags."; | 277 "by visiting chrome://flags."; |
| 277 const char kInvalidAboutPage[] = "Invalid value for 'about_page'."; | 278 const char kInvalidAboutPage[] = "Invalid value for 'about_page'."; |
| 278 const char kInvalidAboutPageExpectRelativePath[] = | 279 const char kInvalidAboutPageExpectRelativePath[] = |
| 279 "Invalid value for 'about_page'. Value must be a relative path."; | 280 "Invalid value for 'about_page'. Value must be a relative path."; |
| 280 const char kInvalidAllFrames[] = | 281 const char kInvalidAllFrames[] = |
| 281 "Invalid value for 'content_scripts[*].all_frames'."; | 282 "Invalid value for 'content_scripts[*].all_frames'."; |
| 283 const char kInvalidAppIconColor[] = "Invalid value for app.icon_color."; |
| 282 const char kInvalidBackground[] = | 284 const char kInvalidBackground[] = |
| 283 "Invalid value for 'background_page'."; | 285 "Invalid value for 'background_page'."; |
| 284 const char kInvalidBackgroundAllowJsAccess[] = | 286 const char kInvalidBackgroundAllowJsAccess[] = |
| 285 "Invalid value for 'background.allow_js_access'."; | 287 "Invalid value for 'background.allow_js_access'."; |
| 286 const char kInvalidBackgroundCombination[] = | 288 const char kInvalidBackgroundCombination[] = |
| 287 "The background.page and background.scripts properties cannot be used at " | 289 "The background.page and background.scripts properties cannot be used at " |
| 288 "the same time."; | 290 "the same time."; |
| 289 const char kInvalidBackgroundScript[] = | 291 const char kInvalidBackgroundScript[] = |
| 290 "Invalid value for 'background.scripts[*]'."; | 292 "Invalid value for 'background.scripts[*]'."; |
| 291 const char kInvalidBackgroundScripts[] = | 293 const char kInvalidBackgroundScripts[] = |
| (...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 const char kWebRequestConflictsWithLazyBackground[] = | 704 const char kWebRequestConflictsWithLazyBackground[] = |
| 703 "The 'webRequest' API cannot be used with event pages."; | 705 "The 'webRequest' API cannot be used with event pages."; |
| 704 #if defined(OS_CHROMEOS) | 706 #if defined(OS_CHROMEOS) |
| 705 const char kIllegalPlugins[] = | 707 const char kIllegalPlugins[] = |
| 706 "Extensions cannot install plugins on Chrome OS"; | 708 "Extensions cannot install plugins on Chrome OS"; |
| 707 #endif | 709 #endif |
| 708 | 710 |
| 709 } // namespace manifest_errors | 711 } // namespace manifest_errors |
| 710 | 712 |
| 711 } // namespace extensions | 713 } // namespace extensions |
| OLD | NEW |