| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 const char kId[] = "id"; | 51 const char kId[] = "id"; |
| 52 const char kImport[] = "import"; | 52 const char kImport[] = "import"; |
| 53 const char kIncognito[] = "incognito"; | 53 const char kIncognito[] = "incognito"; |
| 54 const char kIncludeGlobs[] = "include_globs"; | 54 const char kIncludeGlobs[] = "include_globs"; |
| 55 const char kInputComponents[] = "input_components"; | 55 const char kInputComponents[] = "input_components"; |
| 56 const char kIsolation[] = "app.isolation"; | 56 const char kIsolation[] = "app.isolation"; |
| 57 const char kJs[] = "js"; | 57 const char kJs[] = "js"; |
| 58 const char kKey[] = "key"; | 58 const char kKey[] = "key"; |
| 59 const char kKeycode[] = "keyCode"; | 59 const char kKeycode[] = "keyCode"; |
| 60 const char kKioskEnabled[] = "kiosk_enabled"; | 60 const char kKioskEnabled[] = "kiosk_enabled"; |
| 61 const char kKioskOnly[] = "kiosk_only"; |
| 62 const char kKioskMode[] = "kiosk_mode"; |
| 61 const char kLanguage[] = "language"; | 63 const char kLanguage[] = "language"; |
| 62 const char kLaunch[] = "app.launch"; | 64 const char kLaunch[] = "app.launch"; |
| 63 const char kLaunchContainer[] = "app.launch.container"; | 65 const char kLaunchContainer[] = "app.launch.container"; |
| 64 const char kLaunchHeight[] = "app.launch.height"; | 66 const char kLaunchHeight[] = "app.launch.height"; |
| 65 const char kLaunchLocalPath[] = "app.launch.local_path"; | 67 const char kLaunchLocalPath[] = "app.launch.local_path"; |
| 66 const char kLaunchWebURL[] = "app.launch.web_url"; | 68 const char kLaunchWebURL[] = "app.launch.web_url"; |
| 67 const char kLaunchWidth[] = "app.launch.width"; | 69 const char kLaunchWidth[] = "app.launch.width"; |
| 68 const char kLayouts[] = "layouts"; | 70 const char kLayouts[] = "layouts"; |
| 69 const char kManifestVersion[] = "manifest_version"; | 71 const char kManifestVersion[] = "manifest_version"; |
| 70 const char kMatches[] = "matches"; | 72 const char kMatches[] = "matches"; |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 const char kInvalidKeyBindingMissingPlatform[] = | 412 const char kInvalidKeyBindingMissingPlatform[] = |
| 411 "Could not find key specification for 'command[*].*': Either specify a key " | 413 "Could not find key specification for 'command[*].*': Either specify a key " |
| 412 "for '*', or specify a default key."; | 414 "for '*', or specify a default key."; |
| 413 const char kInvalidKeyBindingTooMany[] = | 415 const char kInvalidKeyBindingTooMany[] = |
| 414 "Too many shortcuts specified for 'commands': The maximum is *."; | 416 "Too many shortcuts specified for 'commands': The maximum is *."; |
| 415 const char kInvalidKeyBindingUnknownPlatform[] = | 417 const char kInvalidKeyBindingUnknownPlatform[] = |
| 416 "Unknown platform for 'command[*]': *. Valid values are: 'windows', 'mac'" | 418 "Unknown platform for 'command[*]': *. Valid values are: 'windows', 'mac'" |
| 417 " 'chromeos', 'linux' and 'default'."; | 419 " 'chromeos', 'linux' and 'default'."; |
| 418 const char kInvalidKioskEnabled[] = | 420 const char kInvalidKioskEnabled[] = |
| 419 "Invalid value for 'kiosk_enabled'."; | 421 "Invalid value for 'kiosk_enabled'."; |
| 422 const char kInvalidKioskOnly[] = |
| 423 "Invalid value for 'kiosk_only'."; |
| 424 const char kInvalidKioskOnlyButNotEnabled[] = |
| 425 "The 'kiosk_only' key is set, but 'kiosk_enabled' is not set."; |
| 420 const char kInvalidLaunchContainer[] = | 426 const char kInvalidLaunchContainer[] = |
| 421 "Invalid value for 'app.launch.container'."; | 427 "Invalid value for 'app.launch.container'."; |
| 422 const char kInvalidLaunchValue[] = | 428 const char kInvalidLaunchValue[] = |
| 423 "Invalid value for '*'."; | 429 "Invalid value for '*'."; |
| 424 const char kInvalidLaunchValueContainer[] = | 430 const char kInvalidLaunchValueContainer[] = |
| 425 "Invalid container type for '*'."; | 431 "Invalid container type for '*'."; |
| 426 const char kInvalidManifest[] = | 432 const char kInvalidManifest[] = |
| 427 "Manifest file is invalid."; | 433 "Manifest file is invalid."; |
| 428 const char kInvalidManifestVersion[] = | 434 const char kInvalidManifestVersion[] = |
| 429 "Invalid value for 'manifest_version'. Must be an integer greater than " | 435 "Invalid value for 'manifest_version'. Must be an integer greater than " |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 646 const char kWebRequestConflictsWithLazyBackground[] = | 652 const char kWebRequestConflictsWithLazyBackground[] = |
| 647 "The 'webRequest' API cannot be used with event pages."; | 653 "The 'webRequest' API cannot be used with event pages."; |
| 648 #if defined(OS_CHROMEOS) | 654 #if defined(OS_CHROMEOS) |
| 649 const char kIllegalPlugins[] = | 655 const char kIllegalPlugins[] = |
| 650 "Extensions cannot install plugins on Chrome OS"; | 656 "Extensions cannot install plugins on Chrome OS"; |
| 651 #endif | 657 #endif |
| 652 | 658 |
| 653 } // namespace manifest_errors | 659 } // namespace manifest_errors |
| 654 | 660 |
| 655 } // namespace extensions | 661 } // namespace extensions |
| OLD | NEW |