| 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_manifest_constants.h" | 5 #include "chrome/common/extensions/extension_manifest_constants.h" |
| 6 | 6 |
| 7 namespace extension_manifest_keys { | 7 namespace extension_manifest_keys { |
| 8 | 8 |
| 9 const char kAllFrames[] = "all_frames"; | 9 const char kAllFrames[] = "all_frames"; |
| 10 const char kAltKey[] = "altKey"; | 10 const char kAltKey[] = "altKey"; |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 "default. You can enable 'Experimental Extension APIs' " | 174 "default. You can enable 'Experimental Extension APIs' " |
| 175 "by visiting chrome://flags."; | 175 "by visiting chrome://flags."; |
| 176 const char kFeatureNotAllowed[] = | 176 const char kFeatureNotAllowed[] = |
| 177 "Feature '*' is not accessible. *"; | 177 "Feature '*' is not accessible. *"; |
| 178 const char kInvalidAllFrames[] = | 178 const char kInvalidAllFrames[] = |
| 179 "Invalid value for 'content_scripts[*].all_frames'."; | 179 "Invalid value for 'content_scripts[*].all_frames'."; |
| 180 const char kInvalidBackground[] = | 180 const char kInvalidBackground[] = |
| 181 "Invalid value for 'background_page'."; | 181 "Invalid value for 'background_page'."; |
| 182 const char kInvalidBackgroundAllowJsAccess[] = | 182 const char kInvalidBackgroundAllowJsAccess[] = |
| 183 "Invalid value for 'background.allow_js_access'."; | 183 "Invalid value for 'background.allow_js_access'."; |
| 184 const char kInvalidBackgroundAllowJsAccessNoPage[] = | |
| 185 "Must specify one of background.page or background.scripts to use" | |
| 186 " background.allow_js_access."; | |
| 187 const char kInvalidBackgroundCombination[] = | 184 const char kInvalidBackgroundCombination[] = |
| 188 "The background.page and background.scripts properties cannot be used at " | 185 "The background.page and background.scripts properties cannot be used at " |
| 189 "the same time."; | 186 "the same time."; |
| 190 const char kInvalidBackgroundScript[] = | 187 const char kInvalidBackgroundScript[] = |
| 191 "Invalid value for 'background.scripts[*]'."; | 188 "Invalid value for 'background.scripts[*]'."; |
| 192 const char kInvalidBackgroundScripts[] = | 189 const char kInvalidBackgroundScripts[] = |
| 193 "Invalid value for 'background.scripts'."; | 190 "Invalid value for 'background.scripts'."; |
| 194 const char kInvalidBackgroundInHostedApp[] = | 191 const char kInvalidBackgroundInHostedApp[] = |
| 195 "Invalid value for 'background_page'. Hosted apps must specify an " | 192 "Invalid value for 'background_page'. Hosted apps must specify an " |
| 196 "absolute HTTPS URL for the background page."; | 193 "absolute HTTPS URL for the background page."; |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 "Loading platform_app extension type is turned off by default. " | 461 "Loading platform_app extension type is turned off by default. " |
| 465 "You can enable this type with the --enable-platform-apps " | 462 "You can enable this type with the --enable-platform-apps " |
| 466 "command-line flag."; | 463 "command-line flag."; |
| 467 const char kReservedMessageFound[] = | 464 const char kReservedMessageFound[] = |
| 468 "Reserved key * found in message catalog."; | 465 "Reserved key * found in message catalog."; |
| 469 #if defined(OS_CHROMEOS) | 466 #if defined(OS_CHROMEOS) |
| 470 const char kIllegalPlugins[] = | 467 const char kIllegalPlugins[] = |
| 471 "Extensions cannot install plugins on Chrome OS"; | 468 "Extensions cannot install plugins on Chrome OS"; |
| 472 #endif | 469 #endif |
| 473 } // namespace extension_manifest_errors | 470 } // namespace extension_manifest_errors |
| OLD | NEW |