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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
105 # templates and documentation. The policy definition list that Chrome sees | 105 # templates and documentation. The policy definition list that Chrome sees |
106 # will include policies marked with 'future'. If a WIP policy isn't meant to | 106 # will include policies marked with 'future'. If a WIP policy isn't meant to |
107 # be seen by the policy providers either, the 'supported_on' key should be set | 107 # be seen by the policy providers either, the 'supported_on' key should be set |
108 # to an empty list. | 108 # to an empty list. |
109 # | 109 # |
110 # IDs: | 110 # IDs: |
111 # Since a Protocol Buffer definition is generated from this file, unique and | 111 # Since a Protocol Buffer definition is generated from this file, unique and |
112 # persistent IDs for all fields (but not for groups!) are needed. These are | 112 # persistent IDs for all fields (but not for groups!) are needed. These are |
113 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 113 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
114 # because doing so would break the deployed wire format! | 114 # because doing so would break the deployed wire format! |
115 # For your editing convenience: highest ID currently used: 165 | 115 # For your editing convenience: highest ID currently used: 166 |
116 # | 116 # |
117 # Placeholders: | 117 # Placeholders: |
118 # The following placeholder strings are automatically substituted: | 118 # The following placeholder strings are automatically substituted: |
119 # $1 -> Google Chrome / Chromium | 119 # $1 -> Google Chrome / Chromium |
120 # $2 -> Google Chrome OS / Chromium OS | 120 # $2 -> Google Chrome OS / Chromium OS |
121 # $3 -> Google Chrome Frame / Chromium Frame | 121 # $3 -> Google Chrome Frame / Chromium Frame |
122 # $6 is reserved for doc_writer | 122 # $6 is reserved for doc_writer |
123 # | 123 # |
124 # Device Policy: | 124 # Device Policy: |
125 # An additional flag device_only (optional, defaults to False) indicates | 125 # An additional flag device_only (optional, defaults to False) indicates |
(...skipping 3187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3313 'id': 165, | 3313 'id': 165, |
3314 'caption': '''Use built-in DNS client''', | 3314 'caption': '''Use built-in DNS client''', |
3315 'desc': '''Controls whether the built-in DNS client is used in <ph name="P RODUCT_NAME">$1<ex>Google Chrome</ex></ph>. | 3315 'desc': '''Controls whether the built-in DNS client is used in <ph name="P RODUCT_NAME">$1<ex>Google Chrome</ex></ph>. |
3316 | 3316 |
3317 If this policy is set to true, the built-in DNS client will be used, if av ailable. | 3317 If this policy is set to true, the built-in DNS client will be used, if av ailable. |
3318 | 3318 |
3319 If this policy is set to false, the built-in DNS client will never be used . | 3319 If this policy is set to false, the built-in DNS client will never be used . |
3320 | 3320 |
3321 If this policy is left not set, the users will be able to change whether t he built-in DNS client is used by editing chrome://flags or specifying a command -line flag.''', | 3321 If this policy is left not set, the users will be able to change whether t he built-in DNS client is used by editing chrome://flags or specifying a command -line flag.''', |
3322 }, | 3322 }, |
3323 { | |
3324 'name': 'ShelfAutoHideBehavior', | |
3325 'type': 'string-enum', | |
Mattias Nissler (ping if slow)
2012/11/30 12:07:15
Is there a good reason not to make this a boolean?
bartfab (slow)
2012/11/30 12:13:47
The reason is that it can be trivially added to co
Mattias Nissler (ping if slow)
2012/11/30 12:17:40
I would prefer the bool unless we have indication
sky
2012/11/30 17:37:37
Originally we had three values hence the enum, now
Mattias Nissler (ping if slow)
2012/11/30 17:39:04
Thanks Scott for the background information. We ha
| |
3326 'schema': { | |
3327 'type': 'string', | |
3328 'enum': [ | |
3329 'Always', | |
3330 'Never' | |
3331 ], | |
3332 }, | |
3333 'items': [ | |
3334 { | |
3335 'name': 'AlwaysAutoHideShelf', | |
3336 'value': 'Always', | |
3337 'caption': '''Always auto-hide the shelf''', | |
3338 }, | |
3339 { | |
3340 'name': 'NeverAutoHideShelf', | |
3341 'value': 'Never', | |
3342 'caption': '''Never auto-hide the shelf''', | |
3343 }, | |
3344 ], | |
3345 'supported_on': ['chrome_os:25-'], | |
3346 'features': { | |
3347 'dynamic_refresh': True, | |
3348 'can_be_recommended': True, | |
3349 }, | |
3350 'example_value': 'Always', | |
3351 'id': 166, | |
3352 'caption': '''Control shelf auto-hiding''', | |
3353 'desc': '''Control auto-hiding of the <ph name="PRODUCT_OS_NAME">$2<ex>Goo gle Chrome OS</ex></ph> shelf. | |
3354 | |
3355 If this policy is set to 'AlwaysAutoHideShelf', the shelf will always auto -hide. | |
3356 | |
3357 If this policy is set to 'NeverAutoHideShelf', the shelf never auto-hide. | |
3358 | |
3359 If you set this policy, users cannot change or override it. | |
3360 | |
3361 If the policy is left not set, users can choose whether the shelf should a uto-hide.''', | |
3362 }, | |
3323 ], | 3363 ], |
3324 'messages': { | 3364 'messages': { |
3325 # Messages that are not associated to any policies. | 3365 # Messages that are not associated to any policies. |
3326 'win_supported_winxpsp2': { | 3366 'win_supported_winxpsp2': { |
3327 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', | 3367 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', |
3328 'text': '''Microsoft Windows XP SP2 or later''' | 3368 'text': '''Microsoft Windows XP SP2 or later''' |
3329 }, | 3369 }, |
3330 'mac_chrome_preferences': { | 3370 'mac_chrome_preferences': { |
3331 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', | 3371 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', |
3332 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' | 3372 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3411 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', | 3451 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', |
3412 'text': 'deprecated', | 3452 'text': 'deprecated', |
3413 }, | 3453 }, |
3414 'doc_recommended': { | 3454 'doc_recommended': { |
3415 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 3455 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
3416 'text': 'Default Settings (users can override)', | 3456 'text': 'Default Settings (users can override)', |
3417 }, | 3457 }, |
3418 }, | 3458 }, |
3419 'placeholders': [], | 3459 'placeholders': [], |
3420 } | 3460 } |
OLD | NEW |