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

Side by Side Diff: components/policy/resources/policy_templates.json

Issue 2652793003: Add login screen locale and input method device policies (Closed)
Patch Set: Cleanup, display IME Tray even for a single IME when managed. 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 { 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 # templates and documentation. The policy definition list that Chrome sees 132 # templates and documentation. The policy definition list that Chrome sees
133 # will include policies marked with 'future'. If a WIP policy isn't meant to 133 # will include policies marked with 'future'. If a WIP policy isn't meant to
134 # be seen by the policy providers either, the 'supported_on' key should be set 134 # be seen by the policy providers either, the 'supported_on' key should be set
135 # to an empty list. 135 # to an empty list.
136 # 136 #
137 # IDs: 137 # IDs:
138 # Since a Protocol Buffer definition is generated from this file, unique and 138 # Since a Protocol Buffer definition is generated from this file, unique and
139 # persistent IDs for all fields (but not for groups!) are needed. These are 139 # persistent IDs for all fields (but not for groups!) are needed. These are
140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 140 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
141 # because doing so would break the deployed wire format! 141 # because doing so would break the deployed wire format!
142 # For your editing convenience: highest ID currently used: 360 142 # For your editing convenience: highest ID currently used: 362
143 # And don't forget to also update the EnterprisePolicies enum of 143 # And don't forget to also update the EnterprisePolicies enum of
144 # histograms.xml. 144 # histograms.xml.
145 # 145 #
146 # Placeholders: 146 # Placeholders:
147 # The following placeholder strings are automatically substituted: 147 # The following placeholder strings are automatically substituted:
148 # $1 -> Google Chrome / Chromium 148 # $1 -> Google Chrome / Chromium
149 # $2 -> Google Chrome OS / Chromium OS 149 # $2 -> Google Chrome OS / Chromium OS
150 # $3 -> Google Chrome Frame / Chromium Frame 150 # $3 -> Google Chrome Frame / Chromium Frame
151 # $6 is reserved for doc_writer 151 # $6 is reserved for doc_writer
152 # 152 #
(...skipping 9288 matching lines...) Expand 10 before | Expand all | Expand 10 after
9441 The policy should be speicified as a string that expresses the URL and has h in JSON format, e.g., 9441 The policy should be speicified as a string that expresses the URL and has h in JSON format, e.g.,
9442 { 9442 {
9443 "url": "https://example.com/device_wallpaper.jpg", 9443 "url": "https://example.com/device_wallpaper.jpg",
9444 "hash": "examplewallpaperhash" 9444 "hash": "examplewallpaperhash"
9445 } 9445 }
9446 9446
9447 If the device wallpaper policy is set, the Chrome OS device will download and use the wallpaper image on the login screen if no user has yet signed in to the device. Once the user logs in, the user's wallpaper policy kicks in. 9447 If the device wallpaper policy is set, the Chrome OS device will download and use the wallpaper image on the login screen if no user has yet signed in to the device. Once the user logs in, the user's wallpaper policy kicks in.
9448 9448
9449 If the device wallpaper policy is left not set, it's the user's wallpaper policy to decide what to show if the user's wallpaper policy is set.''', 9449 If the device wallpaper policy is left not set, it's the user's wallpaper policy to decide what to show if the user's wallpaper policy is set.''',
9450 }, 9450 },
9451 {
9452 'name': 'DeviceLoginScreenLocales',
9453 'type': 'list',
9454 'schema': {
9455 'type': 'array',
9456 'items': { 'type': 'string' },
9457 },
9458 'supported_on': ['chrome_os:58-'],
9459 'device_only': True,
9460 'features': {
9461 'dynamic_refresh': False,
9462 },
9463 'example_value': [ "en-US" ],
9464 'max_size': 16777216,
9465 'id': 361,
9466 'caption': '''Device sign-in screen locale''',
9467 'tags': [],
9468 'desc': '''Configures the locale which is enforced on the sign-in screen.' '',
pastarmovj 2017/01/25 15:42:20 Please extend the documentation a little bit more.
pmarko 2017/01/26 12:32:58 Done.
9469 },
9470 {
9471 'name': 'DeviceLoginScreenInputMethods',
9472 'type': 'list',
9473 'schema': {
9474 'type': 'array',
9475 'items': { 'type': 'string' },
9476 },
9477 'supported_on': ['chrome_os:58-'],
9478 'device_only': True,
9479 'features': {
9480 'dynamic_refresh': True,
pastarmovj 2017/01/25 15:42:20 Is it correct that one is dynamic refresh and the
pmarko 2017/01/26 12:32:58 Yes, the reason is that changing locale dynamicall
9481 },
9482 'example_value': [ "xkb:us::en" ],
9483 'max_size': 16777216,
9484 'id': 362,
9485 'caption': '''Device sign-in screen keyboard layouts''',
9486 'tags': [],
9487 'desc': '''Configures which keyboard layouts are allowed on the sign-in sc reen.''',
pastarmovj 2017/01/25 15:42:20 Same as above.
pmarko 2017/01/26 12:32:58 Done.
9488 },
9451 ], 9489 ],
9452 'messages': { 9490 'messages': {
9453 # Messages that are not associated to any policies. 9491 # Messages that are not associated to any policies.
9454 'win_supported_winxpsp2': { 9492 'win_supported_winxpsp2': {
9455 '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:'.''', 9493 '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:'.''',
9456 'text': '''Microsoft Windows XP SP2 or later''' 9494 'text': '''Microsoft Windows XP SP2 or later'''
9457 }, 9495 },
9458 'mac_chrome_preferences': { 9496 'mac_chrome_preferences': {
9459 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 9497 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
9460 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 9498 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
9574 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 9612 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
9575 'text': 'Default Settings (users can override)', 9613 'text': 'Default Settings (users can override)',
9576 }, 9614 },
9577 'doc_complex_policies_on_windows': { 9615 'doc_complex_policies_on_windows': {
9578 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 9616 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
9579 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '', 9617 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">https://www.chromium.org/administrators/complex-policies-on-windows<e x>https://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>' '',
9580 }, 9618 },
9581 }, 9619 },
9582 'placeholders': [], 9620 'placeholders': [],
9583 } 9621 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698