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

Side by Side Diff: chrome/app/policy/policy_templates.json

Issue 11418114: Add policy for ash launcher auto-hide behavior (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | Annotate | Revision Log
OLDNEW
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
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: 163 115 # For your editing convenience: highest ID currently used: 164
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 3151 matching lines...) Expand 10 before | Expand all | Expand 10 after
3277 'id': 158, 3277 'id': 158,
3278 'caption': '''Timezone''', 3278 'caption': '''Timezone''',
3279 'desc': '''Specifies the timezone to be used for the device. Users can ove rride the specified timezone for the current session. However, on logout it is s et back to the specified timezone. If an invalid value is provided, the policy i s still activated using "GMT" instead. 3279 'desc': '''Specifies the timezone to be used for the device. Users can ove rride the specified timezone for the current session. However, on logout it is s et back to the specified timezone. If an invalid value is provided, the policy i s still activated using "GMT" instead.
3280 3280
3281 If this policy is not used, the currently active timezone will remain in u se however users can change the timezone and the change is persistent. Thus a ch ange by one user affects the login-screen and all other users. 3281 If this policy is not used, the currently active timezone will remain in u se however users can change the timezone and the change is persistent. Thus a ch ange by one user affects the login-screen and all other users.
3282 3282
3283 New devices start out with the timezone set to "US/Pacific". 3283 New devices start out with the timezone set to "US/Pacific".
3284 3284
3285 The format of the value follows the names of timezones in the "IANA Time Z one Database" (see "http://en.wikipedia.org/wiki/List_of_tz_database_time"). In particular, most timezones can be referred to by "continent/large_city" or "ocea n/large_city".''', 3285 The format of the value follows the names of timezones in the "IANA Time Z one Database" (see "http://en.wikipedia.org/wiki/List_of_tz_database_time"). In particular, most timezones can be referred to by "continent/large_city" or "ocea n/large_city".''',
3286 }, 3286 },
3287 {
3288 'name': 'ShelfAutoHideBehavior',
3289 'type': 'string-enum',
3290 'schema': {
3291 'type': 'string',
3292 'enum': [
3293 'Always',
3294 'Never'
3295 ],
3296 },
3297 'items': [
3298 {
3299 'name': 'AlwaysAutoHideShelf',
3300 'value': 'Always',
3301 'caption': '''Always auto-hide the shelf''',
3302 },
3303 {
3304 'name': 'NeverAutoHideShelf',
3305 'value': 'Never',
3306 'caption': '''Never auto-hide the shelf''',
3307 },
3308 ],
3309 'supported_on': ['chrome_os:25-'],
3310 'features': {
3311 'dynamic_refresh': True,
3312 'can_be_recommended': True,
3313 },
3314 'example_value': 'Always',
3315 'id': 164,
3316 'caption': '''Control shelf auto-hiding''',
3317 'desc': '''Control auto-hiding of the <ph name="PRODUCT_OS_NAME">$2<ex>Goo gle Chrome OS</ex></ph> shelf.
3318
3319 If this policy is set to 'AlwaysAutoHideShelf', the shelf will always auto -hide.
3320
3321 If this policy is set to 'NeverAutoHideShelf', the shelf never auto-hide.
3322
3323 If you set this policy, users cannot change or override it.
3324
3325 If the policy is left not set, users can choose whether the shelf should a uto-hide.''',
3326 },
3287 ], 3327 ],
3288 'messages': { 3328 'messages': {
3289 # Messages that are not associated to any policies. 3329 # Messages that are not associated to any policies.
3290 'win_supported_winxpsp2': { 3330 'win_supported_winxpsp2': {
3291 '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:'.''', 3331 '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:'.''',
3292 'text': '''Microsoft Windows XP SP2 or later''' 3332 'text': '''Microsoft Windows XP SP2 or later'''
3293 }, 3333 },
3294 'mac_chrome_preferences': { 3334 'mac_chrome_preferences': {
3295 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', 3335 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''',
3296 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 3336 '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
3375 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 3415 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
3376 'text': 'deprecated', 3416 'text': 'deprecated',
3377 }, 3417 },
3378 'doc_recommended': { 3418 'doc_recommended': {
3379 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 3419 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
3380 'text': 'Default Settings (users can override)', 3420 'text': 'Default Settings (users can override)',
3381 }, 3421 },
3382 }, 3422 },
3383 'placeholders': [], 3423 'placeholders': [],
3384 } 3424 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698