Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: extensions/common/manifest_constants.cc

Issue 2615633010: kiosk: Add kiosk.always_update manifest key (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 const char kIncognito[] = "incognito"; 61 const char kIncognito[] = "incognito";
62 const char kIncludeGlobs[] = "include_globs"; 62 const char kIncludeGlobs[] = "include_globs";
63 const char kIndicator[] = "indicator"; 63 const char kIndicator[] = "indicator";
64 const char kInputComponents[] = "input_components"; 64 const char kInputComponents[] = "input_components";
65 const char kInputView[] = "input_view"; 65 const char kInputView[] = "input_view";
66 const char kIsolation[] = "app.isolation"; 66 const char kIsolation[] = "app.isolation";
67 const char kJs[] = "js"; 67 const char kJs[] = "js";
68 const char kKey[] = "key"; 68 const char kKey[] = "key";
69 const char kKeycode[] = "keyCode"; 69 const char kKeycode[] = "keyCode";
70 const char kKiosk[] = "kiosk"; 70 const char kKiosk[] = "kiosk";
71 const char kKioskAlwaysUpdate[] = "kiosk.always_update";
71 const char kKioskEnabled[] = "kiosk_enabled"; 72 const char kKioskEnabled[] = "kiosk_enabled";
72 const char kKioskOnly[] = "kiosk_only"; 73 const char kKioskOnly[] = "kiosk_only";
73 const char kKioskMode[] = "kiosk_mode"; 74 const char kKioskMode[] = "kiosk_mode";
74 const char kKioskRequiredPlatformVersion[] = "kiosk.required_platform_version"; 75 const char kKioskRequiredPlatformVersion[] = "kiosk.required_platform_version";
75 const char kKioskSecondaryApps[] = "kiosk_secondary_apps"; 76 const char kKioskSecondaryApps[] = "kiosk_secondary_apps";
76 const char kLanguage[] = "language"; 77 const char kLanguage[] = "language";
77 const char kLaunch[] = "app.launch"; 78 const char kLaunch[] = "app.launch";
78 const char kLaunchContainer[] = "app.launch.container"; 79 const char kLaunchContainer[] = "app.launch.container";
79 const char kLauncherPage[] = "launcher_page"; 80 const char kLauncherPage[] = "launcher_page";
80 const char kLauncherPagePage[] = "launcher_page.page"; 81 const char kLauncherPagePage[] = "launcher_page.page";
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 const char kInvalidKeyBindingMediaKeyWithModifier[] = 466 const char kInvalidKeyBindingMediaKeyWithModifier[] =
466 "Media key cannot have any modifier for 'commands[*].*': *."; 467 "Media key cannot have any modifier for 'commands[*].*': *.";
467 const char kInvalidKeyBindingMissingPlatform[] = 468 const char kInvalidKeyBindingMissingPlatform[] =
468 "Could not find key specification for 'command[*].*': Either specify a key " 469 "Could not find key specification for 'command[*].*': Either specify a key "
469 "for '*', or specify a default key."; 470 "for '*', or specify a default key.";
470 const char kInvalidKeyBindingTooMany[] = 471 const char kInvalidKeyBindingTooMany[] =
471 "Too many shortcuts specified for 'commands': The maximum is *."; 472 "Too many shortcuts specified for 'commands': The maximum is *.";
472 const char kInvalidKeyBindingUnknownPlatform[] = 473 const char kInvalidKeyBindingUnknownPlatform[] =
473 "Unknown platform for 'command[*]': *. Valid values are: 'windows', 'mac'" 474 "Unknown platform for 'command[*]': *. Valid values are: 'windows', 'mac'"
474 " 'chromeos', 'linux' and 'default'."; 475 " 'chromeos', 'linux' and 'default'.";
476 const char kInvalidKioskAlwaysUpdate[] =
477 "Invalid value for 'kiosk.always_update'.";
475 const char kInvalidKioskEnabled[] = 478 const char kInvalidKioskEnabled[] =
476 "Invalid value for 'kiosk_enabled'."; 479 "Invalid value for 'kiosk_enabled'.";
477 const char kInvalidKioskOnly[] = 480 const char kInvalidKioskOnly[] =
478 "Invalid value for 'kiosk_only'."; 481 "Invalid value for 'kiosk_only'.";
479 const char kInvalidKioskOnlyButNotEnabled[] = 482 const char kInvalidKioskOnlyButNotEnabled[] =
480 "The 'kiosk_only' key is set, but 'kiosk_enabled' is not set."; 483 "The 'kiosk_only' key is set, but 'kiosk_enabled' is not set.";
481 const char kInvalidKioskRequiredPlatformVersion[] = 484 const char kInvalidKioskRequiredPlatformVersion[] =
482 "Invalid value for 'kiosk.required_platform_version'"; 485 "Invalid value for 'kiosk.required_platform_version'";
483 const char kInvalidKioskSecondaryApps[] = 486 const char kInvalidKioskSecondaryApps[] =
484 "Invalid value for 'kiosk_secondary_apps'"; 487 "Invalid value for 'kiosk_secondary_apps'";
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 "'file_system_provider_capabilities' section to be specified in the " 743 "'file_system_provider_capabilities' section to be specified in the "
741 "manifest."; 744 "manifest.";
742 const char kInvalidFileSystemProviderMissingPermission[] = 745 const char kInvalidFileSystemProviderMissingPermission[] =
743 "The 'file_system_provider_capabilities' section requires the " 746 "The 'file_system_provider_capabilities' section requires the "
744 "'fileSystemProvider' permission to be specified in the manifest."; 747 "'fileSystemProvider' permission to be specified in the manifest.";
745 #endif 748 #endif
746 749
747 } // namespace manifest_errors 750 } // namespace manifest_errors
748 751
749 } // namespace extensions 752 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/manifest_constants.h ('k') | extensions/common/manifest_handlers/kiosk_mode_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698