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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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[] = |
517 "Invalid value for 'options_page'."; | 518 "Invalid value for 'options_page'."; |
518 const char kInvalidOptionsPageExpectUrlInPackage[] = | 519 const char kInvalidOptionsPageExpectUrlInPackage[] = |
519 "Invalid value for 'options_page'. Value must be a relative path."; | 520 "Invalid value for 'options_page'. Value must be a relative path."; |
520 const char kInvalidOptionsPageInHostedApp[] = | 521 const char kInvalidOptionsPageInHostedApp[] = |
521 "Invalid value for 'options_page'. Hosted apps must specify an " | 522 "Invalid value for 'options_page'. Hosted apps must specify an " |
522 "absolute URL."; | 523 "absolute URL."; |
| 524 const char kInvalidOptionsUIChromeStyle[] = |
| 525 "Invalid value for 'options_ui.chrome_style'."; |
| 526 const char kInvalidOptionsUIOpenInTab[] = |
| 527 "Invalid value for 'options_ui.open_in_tab'."; |
| 528 const char kInvalidOptionsUIPage[] = "Invalid value for 'options_ui.page'."; |
| 529 const char kInvalidOptionsUIPageExpectUrlInPackage[] = |
| 530 "Invalid value for 'options_ui.page'. Value must be a relative path."; |
| 531 const char kInvalidOptionsUIPageInHostedApp[] = |
| 532 "Invalid value for 'options_ui.page'. Hosted apps must specify an " |
| 533 "absolute URL."; |
523 const char kInvalidPageAction[] = | 534 const char kInvalidPageAction[] = |
524 "Invalid value for 'page_action'."; | 535 "Invalid value for 'page_action'."; |
525 const char kInvalidPageActionDefaultTitle[] = | 536 const char kInvalidPageActionDefaultTitle[] = |
526 "Invalid value for 'default_title'."; | 537 "Invalid value for 'default_title'."; |
527 const char kInvalidPageActionIconPath[] = | 538 const char kInvalidPageActionIconPath[] = |
528 "Invalid value for 'page_action.default_icon'."; | 539 "Invalid value for 'page_action.default_icon'."; |
529 const char kInvalidPageActionId[] = | 540 const char kInvalidPageActionId[] = |
530 "Required value 'id' is missing or invalid."; | 541 "Required value 'id' is missing or invalid."; |
531 const char kInvalidPageActionName[] = | 542 const char kInvalidPageActionName[] = |
532 "Invalid value for 'page_action.name'."; | 543 "Invalid value for 'page_action.name'."; |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 const char kWebRequestConflictsWithLazyBackground[] = | 735 const char kWebRequestConflictsWithLazyBackground[] = |
725 "The 'webRequest' API cannot be used with event pages."; | 736 "The 'webRequest' API cannot be used with event pages."; |
726 #if defined(OS_CHROMEOS) | 737 #if defined(OS_CHROMEOS) |
727 const char kIllegalPlugins[] = | 738 const char kIllegalPlugins[] = |
728 "Extensions cannot install plugins on Chrome OS"; | 739 "Extensions cannot install plugins on Chrome OS"; |
729 #endif | 740 #endif |
730 | 741 |
731 } // namespace manifest_errors | 742 } // namespace manifest_errors |
732 | 743 |
733 } // namespace extensions | 744 } // namespace extensions |
OLD | NEW |