Index: components/policy/resources/policy_templates.json |
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json |
index 28d3c99f8ed01a249943ef9d8365f8cfc9b8bdba..9f7a8278eaf65afa8c8f1013bd5509ef690696b1 100644 |
--- a/components/policy/resources/policy_templates.json |
+++ b/components/policy/resources/policy_templates.json |
@@ -139,7 +139,7 @@ |
# persistent IDs for all fields (but not for groups!) are needed. These are |
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
# because doing so would break the deployed wire format! |
-# For your editing convenience: highest ID currently used: 360 |
+# For your editing convenience: highest ID currently used: 362 |
# And don't forget to also update the EnterprisePolicies enum of |
# histograms.xml. |
# |
@@ -9448,6 +9448,48 @@ |
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.''', |
}, |
+ { |
+ 'name': 'DeviceLoginScreenLocales', |
+ 'type': 'list', |
+ 'schema': { |
+ 'type': 'array', |
+ 'items': { 'type': 'string' }, |
+ }, |
+ 'supported_on': ['chrome_os:58-'], |
+ 'device_only': True, |
+ 'features': { |
+ 'dynamic_refresh': False, |
+ }, |
+ 'example_value': [ "en-US" ], |
+ 'max_size': 16777216, |
+ 'id': 361, |
+ 'caption': '''Device sign-in screen locale''', |
+ 'tags': [], |
+ 'desc': '''Configures the locale which is enforced on the <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> sign-in screen. |
+ |
+ If this policy is set, the sign-in screen will always be displayed in the locale which is given by the first value of this policy (the policy is defined as a list for forward compatibility). If this policy is not set or is set to an empty list, the sign-in screen will be displayed in the locale of the last user session. If this policy is set to a value which is not a valid locale, the sign-in screen will be displayed in a fallback locale (currently, en-US).''' |
+ }, |
+ { |
+ 'name': 'DeviceLoginScreenInputMethods', |
+ 'type': 'list', |
+ 'schema': { |
+ 'type': 'array', |
+ 'items': { 'type': 'string' }, |
+ }, |
+ 'supported_on': ['chrome_os:58-'], |
+ 'device_only': True, |
+ 'features': { |
+ 'dynamic_refresh': True, |
+ }, |
+ 'example_value': [ "xkb:us::en", "xkb:ch::ger" ], |
+ 'max_size': 16777216, |
+ 'id': 362, |
+ 'caption': '''Device sign-in screen keyboard layouts''', |
+ 'tags': [], |
+ 'desc': '''Configures which keyboard layouts are allowed on the <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> sign-in screen. |
+ |
+ If this policy is set to a list of input method identifiers, the given input methods will be available on the sign-in screen. The first given input method will be preselected. While a user pod is focused on the sign-in screen, the user's least recently used input method will be available in addition to the input methods given by this policy. If this policy is not set, the input methods on the sign-in screen will be derived from the locale in which the sign-in screen is displayed. Values which are not valid input method identifiers will be ignored.''', |
+ }, |
], |
'messages': { |
# Messages that are not associated to any policies. |