Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 { | 1 { |
| 2 # policy_templates.json - Metafile for policy templates | 2 # policy_templates.json - Metafile for policy templates |
| 3 # | 3 # |
| 4 # The content of this file is evaluated as a Python expression. | 4 # The content of this file is evaluated as a Python expression. |
| 5 # | 5 # |
| 6 # This file is used as input to generate the following policy templates: | 6 # This file is used as input to generate the following policy templates: |
| 7 # ADM, ADMX+ADML, MCX/plist and html documentation. | 7 # ADM, ADMX+ADML, MCX/plist and html documentation. |
| 8 # | 8 # |
| 9 # Policy templates are user interface definitions or documents about the | 9 # Policy templates are user interface definitions or documents about the |
| 10 # policies that can be used to configure Chrome. Each policy is a name-value | 10 # policies that can be used to configure Chrome. Each policy is a name-value |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 111 # templates and documentation. The policy definition list that Chrome sees | 111 # templates and documentation. The policy definition list that Chrome sees |
| 112 # will include policies marked with 'future'. If a WIP policy isn't meant to | 112 # will include policies marked with 'future'. If a WIP policy isn't meant to |
| 113 # be seen by the policy providers either, the 'supported_on' key should be set | 113 # be seen by the policy providers either, the 'supported_on' key should be set |
| 114 # to an empty list. | 114 # to an empty list. |
| 115 # | 115 # |
| 116 # IDs: | 116 # IDs: |
| 117 # Since a Protocol Buffer definition is generated from this file, unique and | 117 # Since a Protocol Buffer definition is generated from this file, unique and |
| 118 # persistent IDs for all fields (but not for groups!) are needed. These are | 118 # persistent IDs for all fields (but not for groups!) are needed. These are |
| 119 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 119 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| 120 # because doing so would break the deployed wire format! | 120 # because doing so would break the deployed wire format! |
| 121 # For your editing convenience: highest ID currently used: 267 | 121 # For your editing convenience: highest ID currently used: 268 |
| 122 # | 122 # |
| 123 # Placeholders: | 123 # Placeholders: |
| 124 # The following placeholder strings are automatically substituted: | 124 # The following placeholder strings are automatically substituted: |
| 125 # $1 -> Google Chrome / Chromium | 125 # $1 -> Google Chrome / Chromium |
| 126 # $2 -> Google Chrome OS / Chromium OS | 126 # $2 -> Google Chrome OS / Chromium OS |
| 127 # $3 -> Google Chrome Frame / Chromium Frame | 127 # $3 -> Google Chrome Frame / Chromium Frame |
| 128 # $6 is reserved for doc_writer | 128 # $6 is reserved for doc_writer |
| 129 # | 129 # |
| 130 # Device Policy: | 130 # Device Policy: |
| 131 # An additional flag device_only (optional, defaults to False) indicates | 131 # An additional flag device_only (optional, defaults to False) indicates |
| (...skipping 4521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4653 'caption': '''Use 24 hour clock by default''', | 4653 'caption': '''Use 24 hour clock by default''', |
| 4654 'desc': '''Specifies the clock format be used for the device. | 4654 'desc': '''Specifies the clock format be used for the device. |
| 4655 | 4655 |
| 4656 This policy configures the clock format to use on the login screen and as a default for user sessions. Users can still override the clock format for their account. | 4656 This policy configures the clock format to use on the login screen and as a default for user sessions. Users can still override the clock format for their account. |
| 4657 | 4657 |
| 4658 If the policy is not set to true, the device will use a 24 hour clock form at. If the policy is set to false, the device will use 12 hour clock format. | 4658 If the policy is not set to true, the device will use a 24 hour clock form at. If the policy is set to false, the device will use 12 hour clock format. |
| 4659 | 4659 |
| 4660 If this policy is not set, the device will default to a 24 hour clock form at.''', | 4660 If this policy is not set, the device will default to a 24 hour clock form at.''', |
| 4661 }, | 4661 }, |
| 4662 { | 4662 { |
| 4663 'name': 'TouchVirtualKeyboardEnabled', | |
| 4664 'type': 'main', | |
| 4665 'schema': { 'type': 'boolean' }, | |
| 4666 'supported_on': ['chrome_os:37-' ], | |
| 4667 'features': { | |
| 4668 'dynamic_refresh': False, | |
|
bartfab (slow)
2014/06/13 12:15:53
Can you make the code honor pref changes on the fl
rsadam
2014/06/13 15:28:47
Done.
| |
| 4669 'per_profile': True | |
| 4670 }, | |
| 4671 'example_value': False, | |
| 4672 'id': 268, | |
| 4673 'caption': '''Enable Virtual Keyboard''', | |
|
bartfab (slow)
2014/06/13 12:15:53
Nit: s/Virtual Keyboard/virtual keyboard/
rsadam
2014/06/13 15:28:47
Done.
| |
| 4674 'desc': '''If unset this policy has no effect. If true, this enables the v irtual keyboard. If false, this disables the virtual keyboard. If the accessibil ity virtual keyboard policy is set to true, it takes precedence over this.''', | |
|
bartfab (slow)
2014/06/13 12:15:53
Take a look at the other policy descriptions. They
rsadam
2014/06/13 15:28:47
Done.
| |
| 4675 }, | |
| 4676 { | |
| 4663 'name': 'ShowLogoutButtonInTray', | 4677 'name': 'ShowLogoutButtonInTray', |
| 4664 'type': 'main', | 4678 'type': 'main', |
| 4665 'schema': { 'type': 'boolean' }, | 4679 'schema': { 'type': 'boolean' }, |
| 4666 'supported_on': ['chrome_os:25-'], | 4680 'supported_on': ['chrome_os:25-'], |
| 4667 'features': { | 4681 'features': { |
| 4668 'dynamic_refresh': True, | 4682 'dynamic_refresh': True, |
| 4669 'per_profile': True, | 4683 'per_profile': True, |
| 4670 }, | 4684 }, |
| 4671 'example_value': True, | 4685 'example_value': True, |
| 4672 'id': 164, | 4686 'id': 164, |
| (...skipping 1862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6535 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', | 6549 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', |
| 6536 'text': 'deprecated', | 6550 'text': 'deprecated', |
| 6537 }, | 6551 }, |
| 6538 'doc_recommended': { | 6552 'doc_recommended': { |
| 6539 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 6553 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 6540 'text': 'Default Settings (users can override)', | 6554 'text': 'Default Settings (users can override)', |
| 6541 }, | 6555 }, |
| 6542 }, | 6556 }, |
| 6543 'placeholders': [], | 6557 'placeholders': [], |
| 6544 } | 6558 } |
| OLD | NEW |