| 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 "not been in invoked."; | 243 "not been in invoked."; |
| 244 const char kAllURLOrActiveTabNeeded[] = | 244 const char kAllURLOrActiveTabNeeded[] = |
| 245 "Either the '<all_urls>' or 'activeTab' permission is required."; | 245 "Either the '<all_urls>' or 'activeTab' permission is required."; |
| 246 const char kAppsNotEnabled[] = | 246 const char kAppsNotEnabled[] = |
| 247 "Apps are not enabled."; | 247 "Apps are not enabled."; |
| 248 const char kBackgroundPermissionNeeded[] = | 248 const char kBackgroundPermissionNeeded[] = |
| 249 "Hosted apps that use 'background_page' must have the 'background' " | 249 "Hosted apps that use 'background_page' must have the 'background' " |
| 250 "permission."; | 250 "permission."; |
| 251 const char kBackgroundRequiredForPlatformApps[] = | 251 const char kBackgroundRequiredForPlatformApps[] = |
| 252 "Packaged apps must have a background page or background scripts."; | 252 "Packaged apps must have a background page or background scripts."; |
| 253 const char kCannotAccessAboutUrl[] = |
| 254 "Cannot access \"*\" at origin \"*\". Extension must have permission to " |
| 255 "access the frame's origin, and matchAboutBlank must be true."; |
| 253 const char kCannotAccessChromeUrl[] = "Cannot access a chrome:// URL"; | 256 const char kCannotAccessChromeUrl[] = "Cannot access a chrome:// URL"; |
| 254 const char kCannotAccessExtensionUrl[] = | 257 const char kCannotAccessExtensionUrl[] = |
| 255 "Cannot access a chrome-extension:// URL of different extension"; | 258 "Cannot access a chrome-extension:// URL of different extension"; |
| 256 const char kCannotAccessPage[] = | 259 const char kCannotAccessPage[] = |
| 257 "Cannot access contents of url \"*\". " | 260 "Cannot access contents of url \"*\". " |
| 258 "Extension manifest must request permission to access this host."; | 261 "Extension manifest must request permission to access this host."; |
| 259 const char kCannotChangeExtensionID[] = | 262 const char kCannotChangeExtensionID[] = |
| 260 "Installed extensions cannot change their IDs."; | 263 "Installed extensions cannot change their IDs."; |
| 261 const char kCannotClaimAllHostsInExtent[] = | 264 const char kCannotClaimAllHostsInExtent[] = |
| 262 "Cannot claim all hosts ('*') in an extent."; | 265 "Cannot claim all hosts ('*') in an extent."; |
| (...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 690 const char kWebRequestConflictsWithLazyBackground[] = | 693 const char kWebRequestConflictsWithLazyBackground[] = |
| 691 "The 'webRequest' API cannot be used with event pages."; | 694 "The 'webRequest' API cannot be used with event pages."; |
| 692 #if defined(OS_CHROMEOS) | 695 #if defined(OS_CHROMEOS) |
| 693 const char kIllegalPlugins[] = | 696 const char kIllegalPlugins[] = |
| 694 "Extensions cannot install plugins on Chrome OS"; | 697 "Extensions cannot install plugins on Chrome OS"; |
| 695 #endif | 698 #endif |
| 696 | 699 |
| 697 } // namespace manifest_errors | 700 } // namespace manifest_errors |
| 698 | 701 |
| 699 } // namespace extensions | 702 } // namespace extensions |
| OLD | NEW |