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 kAllFrames[] = "all_frames"; | 12 const char kAllFrames[] = "all_frames"; |
12 const char kAltKey[] = "altKey"; | 13 const char kAltKey[] = "altKey"; |
13 const char kApp[] = "app"; | 14 const char kApp[] = "app"; |
14 const char kAutomation[] = "automation"; | 15 const char kAutomation[] = "automation"; |
15 const char kBackgroundAllowJsAccess[] = "background.allow_js_access"; | 16 const char kBackgroundAllowJsAccess[] = "background.allow_js_access"; |
16 const char kBackgroundPage[] = "background.page"; | 17 const char kBackgroundPage[] = "background.page"; |
17 const char kBackgroundPageLegacy[] = "background_page"; | 18 const char kBackgroundPageLegacy[] = "background_page"; |
18 const char kBackgroundPersistent[] = "background.persistent"; | 19 const char kBackgroundPersistent[] = "background.persistent"; |
19 const char kBackgroundScripts[] = "background.scripts"; | 20 const char kBackgroundScripts[] = "background.scripts"; |
20 const char kBluetooth[] = "bluetooth"; | 21 const char kBluetooth[] = "bluetooth"; |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 "The sign-in page cannot be scripted."; | 263 "The sign-in page cannot be scripted."; |
263 const char kChromeVersionTooLow[] = | 264 const char kChromeVersionTooLow[] = |
264 "This extension requires * version * or greater."; | 265 "This extension requires * version * or greater."; |
265 const char kDisabledByPolicy[] = | 266 const char kDisabledByPolicy[] = |
266 "This extension has been disabled by your administrator."; | 267 "This extension has been disabled by your administrator."; |
267 const char kExpectString[] = "Expect string value."; | 268 const char kExpectString[] = "Expect string value."; |
268 const char kExperimentalFlagRequired[] = | 269 const char kExperimentalFlagRequired[] = |
269 "Loading extensions with 'experimental' permission is turned off by " | 270 "Loading extensions with 'experimental' permission is turned off by " |
270 "default. You can enable 'Experimental Extension APIs' " | 271 "default. You can enable 'Experimental Extension APIs' " |
271 "by visiting chrome://flags."; | 272 "by visiting chrome://flags."; |
| 273 const char kInvalidAboutPage[] = "Invalid value for 'about_page'."; |
| 274 const char kInvalidAboutPageExpectRelativePath[] = |
| 275 "Invalid value for 'about_page'. Value must be a relative path."; |
272 const char kInvalidAllFrames[] = | 276 const char kInvalidAllFrames[] = |
273 "Invalid value for 'content_scripts[*].all_frames'."; | 277 "Invalid value for 'content_scripts[*].all_frames'."; |
274 const char kInvalidBackground[] = | 278 const char kInvalidBackground[] = |
275 "Invalid value for 'background_page'."; | 279 "Invalid value for 'background_page'."; |
276 const char kInvalidBackgroundAllowJsAccess[] = | 280 const char kInvalidBackgroundAllowJsAccess[] = |
277 "Invalid value for 'background.allow_js_access'."; | 281 "Invalid value for 'background.allow_js_access'."; |
278 const char kInvalidBackgroundCombination[] = | 282 const char kInvalidBackgroundCombination[] = |
279 "The background.page and background.scripts properties cannot be used at " | 283 "The background.page and background.scripts properties cannot be used at " |
280 "the same time."; | 284 "the same time."; |
281 const char kInvalidBackgroundScript[] = | 285 const char kInvalidBackgroundScript[] = |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 const char kWebRequestConflictsWithLazyBackground[] = | 728 const char kWebRequestConflictsWithLazyBackground[] = |
725 "The 'webRequest' API cannot be used with event pages."; | 729 "The 'webRequest' API cannot be used with event pages."; |
726 #if defined(OS_CHROMEOS) | 730 #if defined(OS_CHROMEOS) |
727 const char kIllegalPlugins[] = | 731 const char kIllegalPlugins[] = |
728 "Extensions cannot install plugins on Chrome OS"; | 732 "Extensions cannot install plugins on Chrome OS"; |
729 #endif | 733 #endif |
730 | 734 |
731 } // namespace manifest_errors | 735 } // namespace manifest_errors |
732 | 736 |
733 } // namespace extensions | 737 } // namespace extensions |
OLD | NEW |