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 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 const char kNaClModulesPath[] = "path"; | 88 const char kNaClModulesPath[] = "path"; |
89 const char kOAuth2[] = "oauth2"; | 89 const char kOAuth2[] = "oauth2"; |
90 const char kOAuth2AutoApprove[] = "oauth2.auto_approve"; | 90 const char kOAuth2AutoApprove[] = "oauth2.auto_approve"; |
91 const char kOAuth2ClientId[] = "oauth2.client_id"; | 91 const char kOAuth2ClientId[] = "oauth2.client_id"; |
92 const char kOAuth2Scopes[] = "oauth2.scopes"; | 92 const char kOAuth2Scopes[] = "oauth2.scopes"; |
93 const char kOfflineEnabled[] = "offline_enabled"; | 93 const char kOfflineEnabled[] = "offline_enabled"; |
94 const char kOmnibox[] = "omnibox"; | 94 const char kOmnibox[] = "omnibox"; |
95 const char kOmniboxKeyword[] = "omnibox.keyword"; | 95 const char kOmniboxKeyword[] = "omnibox.keyword"; |
96 const char kOptionalPermissions[] = "optional_permissions"; | 96 const char kOptionalPermissions[] = "optional_permissions"; |
97 const char kOptionsPage[] = "options_page"; | 97 const char kOptionsPage[] = "options_page"; |
| 98 const char kOptionsUI[] = "options_ui"; |
98 const char kOverrideHomepage[] = "chrome_settings_overrides.homepage"; | 99 const char kOverrideHomepage[] = "chrome_settings_overrides.homepage"; |
99 const char kOverrideSearchProvider[] = | 100 const char kOverrideSearchProvider[] = |
100 "chrome_settings_overrides.search_provider"; | 101 "chrome_settings_overrides.search_provider"; |
101 const char kOverrideStartupPage[] = "chrome_settings_overrides.startup_pages"; | 102 const char kOverrideStartupPage[] = "chrome_settings_overrides.startup_pages"; |
102 const char kPageAction[] = "page_action"; | 103 const char kPageAction[] = "page_action"; |
103 const char kPageActionDefaultIcon[] = "default_icon"; | 104 const char kPageActionDefaultIcon[] = "default_icon"; |
104 const char kPageActionDefaultPopup[] = "default_popup"; | 105 const char kPageActionDefaultPopup[] = "default_popup"; |
105 const char kPageActionDefaultTitle[] = "default_title"; | 106 const char kPageActionDefaultTitle[] = "default_title"; |
106 const char kPageActionIcons[] = "icons"; | 107 const char kPageActionIcons[] = "icons"; |
107 const char kPageActionId[] = "id"; | 108 const char kPageActionId[] = "id"; |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 const char kInvalidOAuth2AutoApprove[] = | 507 const char kInvalidOAuth2AutoApprove[] = |
507 "Invalid value for 'oauth2.auto_approve'. Value must be true or false."; | 508 "Invalid value for 'oauth2.auto_approve'. Value must be true or false."; |
508 const char kInvalidOAuth2ClientId[] = | 509 const char kInvalidOAuth2ClientId[] = |
509 "Invalid value for 'oauth2.client_id'."; | 510 "Invalid value for 'oauth2.client_id'."; |
510 const char kInvalidOAuth2Scopes[] = | 511 const char kInvalidOAuth2Scopes[] = |
511 "Invalid value for 'oauth2.scopes'."; | 512 "Invalid value for 'oauth2.scopes'."; |
512 const char kInvalidOfflineEnabled[] = | 513 const char kInvalidOfflineEnabled[] = |
513 "Invalid value for 'offline_enabled'."; | 514 "Invalid value for 'offline_enabled'."; |
514 const char kInvalidOmniboxKeyword[] = | 515 const char kInvalidOmniboxKeyword[] = |
515 "Invalid value for 'omnibox.keyword'."; | 516 "Invalid value for 'omnibox.keyword'."; |
516 const char kInvalidOptionsPage[] = | 517 const char kInvalidOptionsPage[] = "Invalid value for '*'."; |
517 "Invalid value for 'options_page'."; | |
518 const char kInvalidOptionsPageExpectUrlInPackage[] = | 518 const char kInvalidOptionsPageExpectUrlInPackage[] = |
519 "Invalid value for 'options_page'. Value must be a relative path."; | 519 "Invalid value for 'options_page'. Value must be a relative path."; |
520 const char kInvalidOptionsPageInHostedApp[] = | 520 const char kInvalidOptionsPageInHostedApp[] = |
521 "Invalid value for 'options_page'. Hosted apps must specify an " | 521 "Invalid value for 'options_page'. Hosted apps must specify an " |
522 "absolute URL."; | 522 "absolute URL."; |
| 523 const char kInvalidOptionsUIChromeStyle[] = |
| 524 "Invalid value for 'options_ui.chrome_style'."; |
| 525 const char kInvalidOptionsUIOpenInTab[] = |
| 526 "Invalid value for 'options_ui.open_in_tab'."; |
523 const char kInvalidPageAction[] = | 527 const char kInvalidPageAction[] = |
524 "Invalid value for 'page_action'."; | 528 "Invalid value for 'page_action'."; |
525 const char kInvalidPageActionDefaultTitle[] = | 529 const char kInvalidPageActionDefaultTitle[] = |
526 "Invalid value for 'default_title'."; | 530 "Invalid value for 'default_title'."; |
527 const char kInvalidPageActionIconPath[] = | 531 const char kInvalidPageActionIconPath[] = |
528 "Invalid value for 'page_action.default_icon'."; | 532 "Invalid value for 'page_action.default_icon'."; |
529 const char kInvalidPageActionId[] = | 533 const char kInvalidPageActionId[] = |
530 "Required value 'id' is missing or invalid."; | 534 "Required value 'id' is missing or invalid."; |
531 const char kInvalidPageActionName[] = | 535 const char kInvalidPageActionName[] = |
532 "Invalid value for 'page_action.name'."; | 536 "Invalid value for 'page_action.name'."; |
(...skipping 191 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 |