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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "extensions/common/manifest_constants.h" | 6 #include "extensions/common/manifest_constants.h" |
7 | 7 |
8 namespace extensions { | 8 namespace extensions { |
9 | 9 |
10 namespace manifest_keys { | 10 namespace manifest_keys { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 const char kImport[] = "import"; | 59 const char kImport[] = "import"; |
60 const char kIncognito[] = "incognito"; | 60 const char kIncognito[] = "incognito"; |
61 const char kIncludeGlobs[] = "include_globs"; | 61 const char kIncludeGlobs[] = "include_globs"; |
62 const char kIndicator[] = "indicator"; | 62 const char kIndicator[] = "indicator"; |
63 const char kInputComponents[] = "input_components"; | 63 const char kInputComponents[] = "input_components"; |
64 const char kInputView[] = "input_view"; | 64 const char kInputView[] = "input_view"; |
65 const char kIsolation[] = "app.isolation"; | 65 const char kIsolation[] = "app.isolation"; |
66 const char kJs[] = "js"; | 66 const char kJs[] = "js"; |
67 const char kKey[] = "key"; | 67 const char kKey[] = "key"; |
68 const char kKeycode[] = "keyCode"; | 68 const char kKeycode[] = "keyCode"; |
| 69 const char kKiosk[] = "kiosk"; |
69 const char kKioskEnabled[] = "kiosk_enabled"; | 70 const char kKioskEnabled[] = "kiosk_enabled"; |
70 const char kKioskOnly[] = "kiosk_only"; | 71 const char kKioskOnly[] = "kiosk_only"; |
71 const char kKioskMode[] = "kiosk_mode"; | 72 const char kKioskMode[] = "kiosk_mode"; |
| 73 const char kKioskRequiredPlatformVersion[] = "kiosk.required_platform_version"; |
72 const char kKioskSecondaryApps[] = "kiosk_secondary_apps"; | 74 const char kKioskSecondaryApps[] = "kiosk_secondary_apps"; |
73 const char kLanguage[] = "language"; | 75 const char kLanguage[] = "language"; |
74 const char kLaunch[] = "app.launch"; | 76 const char kLaunch[] = "app.launch"; |
75 const char kLaunchContainer[] = "app.launch.container"; | 77 const char kLaunchContainer[] = "app.launch.container"; |
76 const char kLauncherPage[] = "launcher_page"; | 78 const char kLauncherPage[] = "launcher_page"; |
77 const char kLauncherPagePage[] = "launcher_page.page"; | 79 const char kLauncherPagePage[] = "launcher_page.page"; |
78 const char kLaunchHeight[] = "app.launch.height"; | 80 const char kLaunchHeight[] = "app.launch.height"; |
79 const char kLaunchLocalPath[] = "app.launch.local_path"; | 81 const char kLaunchLocalPath[] = "app.launch.local_path"; |
80 const char kLaunchWebURL[] = "app.launch.web_url"; | 82 const char kLaunchWebURL[] = "app.launch.web_url"; |
81 const char kLaunchWidth[] = "app.launch.width"; | 83 const char kLaunchWidth[] = "app.launch.width"; |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 "Too many shortcuts specified for 'commands': The maximum is *."; | 461 "Too many shortcuts specified for 'commands': The maximum is *."; |
460 const char kInvalidKeyBindingUnknownPlatform[] = | 462 const char kInvalidKeyBindingUnknownPlatform[] = |
461 "Unknown platform for 'command[*]': *. Valid values are: 'windows', 'mac'" | 463 "Unknown platform for 'command[*]': *. Valid values are: 'windows', 'mac'" |
462 " 'chromeos', 'linux' and 'default'."; | 464 " 'chromeos', 'linux' and 'default'."; |
463 const char kInvalidKioskEnabled[] = | 465 const char kInvalidKioskEnabled[] = |
464 "Invalid value for 'kiosk_enabled'."; | 466 "Invalid value for 'kiosk_enabled'."; |
465 const char kInvalidKioskOnly[] = | 467 const char kInvalidKioskOnly[] = |
466 "Invalid value for 'kiosk_only'."; | 468 "Invalid value for 'kiosk_only'."; |
467 const char kInvalidKioskOnlyButNotEnabled[] = | 469 const char kInvalidKioskOnlyButNotEnabled[] = |
468 "The 'kiosk_only' key is set, but 'kiosk_enabled' is not set."; | 470 "The 'kiosk_only' key is set, but 'kiosk_enabled' is not set."; |
| 471 const char kInvalidKioskRequiredPlatformVersion[] = |
| 472 "Invalid value for 'kiosk.required_platform_version'"; |
469 const char kInvalidKioskSecondaryApps[] = | 473 const char kInvalidKioskSecondaryApps[] = |
470 "Invalid value for 'kiosk_secondary_apps'"; | 474 "Invalid value for 'kiosk_secondary_apps'"; |
471 const char kInvalidKioskSecondaryAppsBadAppEntry[] = | 475 const char kInvalidKioskSecondaryAppsBadAppEntry[] = |
472 "Invalid app id item for 'kiosk_secondary_apps'"; | 476 "Invalid app id item for 'kiosk_secondary_apps'"; |
473 const char kInvalidKioskSecondaryAppsBadAppId[] = | 477 const char kInvalidKioskSecondaryAppsBadAppId[] = |
474 "Invalid app id value for 'kiosk_secondary_apps'"; | 478 "Invalid app id value for 'kiosk_secondary_apps'"; |
475 const char kInvalidLauncherPage[] = "Invalid value for 'launcher_page'."; | 479 const char kInvalidLauncherPage[] = "Invalid value for 'launcher_page'."; |
476 const char kInvalidLauncherPagePage[] = | 480 const char kInvalidLauncherPagePage[] = |
477 "Invalid value for 'launcher_page.page'."; | 481 "Invalid value for 'launcher_page.page'."; |
478 const char kInvalidLaunchContainer[] = | 482 const char kInvalidLaunchContainer[] = |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
728 "'file_system_provider_capabilities' section to be specified in the " | 732 "'file_system_provider_capabilities' section to be specified in the " |
729 "manifest."; | 733 "manifest."; |
730 const char kInvalidFileSystemProviderMissingPermission[] = | 734 const char kInvalidFileSystemProviderMissingPermission[] = |
731 "The 'file_system_provider_capabilities' section requires the " | 735 "The 'file_system_provider_capabilities' section requires the " |
732 "'fileSystemProvider' permission to be specified in the manifest."; | 736 "'fileSystemProvider' permission to be specified in the manifest."; |
733 #endif | 737 #endif |
734 | 738 |
735 } // namespace manifest_errors | 739 } // namespace manifest_errors |
736 | 740 |
737 } // namespace extensions | 741 } // namespace extensions |
OLD | NEW |