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 #include "chrome/common/extensions/extension_constants.h" | 5 #include "chrome/common/extensions/extension_constants.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 const char kMissingFile[] = | 447 const char kMissingFile[] = |
448 "At least one js or css file is required for 'content_scripts[*]'."; | 448 "At least one js or css file is required for 'content_scripts[*]'."; |
449 const char kMultipleOverrides[] = | 449 const char kMultipleOverrides[] = |
450 "An extension cannot override more than one page."; | 450 "An extension cannot override more than one page."; |
451 const char kNoWildCardsInPaths[] = | 451 const char kNoWildCardsInPaths[] = |
452 "Wildcards are not allowed in extent URL pattern paths."; | 452 "Wildcards are not allowed in extent URL pattern paths."; |
453 const char kOneUISurfaceOnly[] = | 453 const char kOneUISurfaceOnly[] = |
454 "Only one of 'browser_action', 'page_action', and 'app' can be specified."; | 454 "Only one of 'browser_action', 'page_action', and 'app' can be specified."; |
455 const char kPermissionNotAllowed[] = | 455 const char kPermissionNotAllowed[] = |
456 "Access to permission '*' denied."; | 456 "Access to permission '*' denied."; |
| 457 const char kPlatformAppFlagRequired[] = |
| 458 "Loading platform_app extension type is turned off by default. " |
| 459 "You can enable this type with the --enable-platform-apps " |
| 460 "command-line flag."; |
457 const char kReservedMessageFound[] = | 461 const char kReservedMessageFound[] = |
458 "Reserved key * found in message catalog."; | 462 "Reserved key * found in message catalog."; |
459 #if defined(OS_CHROMEOS) | 463 #if defined(OS_CHROMEOS) |
460 const char kIllegalPlugins[] = | 464 const char kIllegalPlugins[] = |
461 "Extensions cannot install plugins on Chrome OS"; | 465 "Extensions cannot install plugins on Chrome OS"; |
462 #endif | 466 #endif |
463 } // namespace extension_manifest_errors | 467 } // namespace extension_manifest_errors |
464 | 468 |
465 namespace extension_urls { | 469 namespace extension_urls { |
466 std::string GetWebstoreLaunchURL() { | 470 std::string GetWebstoreLaunchURL() { |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 const char kCloudPrintAppId[] = "mfehgcgbbipciphmccgaenjidiccnmng"; | 548 const char kCloudPrintAppId[] = "mfehgcgbbipciphmccgaenjidiccnmng"; |
545 const char kAppsPromoHistogram[] = "Extensions.AppsPromo"; | 549 const char kAppsPromoHistogram[] = "Extensions.AppsPromo"; |
546 const char kAppLaunchHistogram[] = "Extensions.AppLaunch"; | 550 const char kAppLaunchHistogram[] = "Extensions.AppLaunch"; |
547 #if defined(OS_CHROMEOS) | 551 #if defined(OS_CHROMEOS) |
548 const char kAccessExtensionPath[] = | 552 const char kAccessExtensionPath[] = |
549 "/usr/share/chromeos-assets/accessibility/extensions"; | 553 "/usr/share/chromeos-assets/accessibility/extensions"; |
550 const char kChromeVoxDirectoryName[] = "access_chromevox"; | 554 const char kChromeVoxDirectoryName[] = "access_chromevox"; |
551 #endif | 555 #endif |
552 | 556 |
553 } | 557 } |
OLD | NEW |