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

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

Issue 964503002: Implemented ForceMaximizeBrowserWindowOnFirstRun policy, added unit test and browser test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 # templates and documentation. The policy definition list that Chrome sees 116 # templates and documentation. The policy definition list that Chrome sees
117 # will include policies marked with 'future'. If a WIP policy isn't meant to 117 # will include policies marked with 'future'. If a WIP policy isn't meant to
118 # be seen by the policy providers either, the 'supported_on' key should be set 118 # be seen by the policy providers either, the 'supported_on' key should be set
119 # to an empty list. 119 # to an empty list.
120 # 120 #
121 # IDs: 121 # IDs:
122 # Since a Protocol Buffer definition is generated from this file, unique and 122 # Since a Protocol Buffer definition is generated from this file, unique and
123 # persistent IDs for all fields (but not for groups!) are needed. These are 123 # persistent IDs for all fields (but not for groups!) are needed. These are
124 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 124 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
125 # because doing so would break the deployed wire format! 125 # because doing so would break the deployed wire format!
126 # For your editing convenience: highest ID currently used: 297 126 # For your editing convenience: highest ID currently used: 298
127 # 127 #
128 # Placeholders: 128 # Placeholders:
129 # The following placeholder strings are automatically substituted: 129 # The following placeholder strings are automatically substituted:
130 # $1 -> Google Chrome / Chromium 130 # $1 -> Google Chrome / Chromium
131 # $2 -> Google Chrome OS / Chromium OS 131 # $2 -> Google Chrome OS / Chromium OS
132 # $3 -> Google Chrome Frame / Chromium Frame 132 # $3 -> Google Chrome Frame / Chromium Frame
133 # $6 is reserved for doc_writer 133 # $6 is reserved for doc_writer
134 # 134 #
135 # Device Policy: 135 # Device Policy:
136 # An additional flag device_only (optional, defaults to False) indicates 136 # An additional flag device_only (optional, defaults to False) indicates
(...skipping 7162 matching lines...) Expand 10 before | Expand all | Expand 10 after
7299 'device_only': True, 7299 'device_only': True,
7300 'features': { 7300 'features': {
7301 'dynamic_refresh': True, 7301 'dynamic_refresh': True,
7302 }, 7302 },
7303 'example_value': 'students.school.edu', 7303 'example_value': 'students.school.edu',
7304 'id': 297, 7304 'id': 297,
7305 'caption': '''Enable domain name autocomplete during user sign in''', 7305 'caption': '''Enable domain name autocomplete during user sign in''',
7306 'desc': '''If this policy is set to a blank string or not configured, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will not show an autocom plete option during user sign-in flow. 7306 'desc': '''If this policy is set to a blank string or not configured, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will not show an autocom plete option during user sign-in flow.
7307 If this policy is set to a string representing a domain name, <ph name="PR ODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will show an autocomplete option during user sign-in allowing the user to type in only his user name without the domain name extension. The user will be able to overwrite this domain name ext ension.''', 7307 If this policy is set to a string representing a domain name, <ph name="PR ODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> will show an autocomplete option during user sign-in allowing the user to type in only his user name without the domain name extension. The user will be able to overwrite this domain name ext ension.''',
7308 }, 7308 },
7309 {
7310 'name': 'ForceMaximizeOnFirstRun',
7311 'type': 'main',
7312 'schema': { 'type': 'boolean' },
7313 'supported_on': ['chrome_os:43-'],
7314 'features': {
7315 'dynamic_refresh': False,
7316 'per_profile': True,
7317 },
7318 'example_value': True,
7319 'id': 298,
7320 'caption': '''Maximize the first browser window on first run''',
7321 'desc': '''If this policy is set to true, <ph name="PRODUCT_NAME">$1<ex>Go ogle Chrome</ex></ph> will unconditionally maximize the the first window shown o n first run.
7322 If this policy is set to false or not configured, a heuristic will decide whether to maximize the first window shown, based on the screen size.''',
7323 },
7309 ], 7324 ],
7310 'messages': { 7325 'messages': {
7311 # Messages that are not associated to any policies. 7326 # Messages that are not associated to any policies.
7312 'win_supported_winxpsp2': { 7327 'win_supported_winxpsp2': {
7313 '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:'.''', 7328 '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:'.''',
7314 'text': '''Microsoft Windows XP SP2 or later''' 7329 'text': '''Microsoft Windows XP SP2 or later'''
7315 }, 7330 },
7316 'mac_chrome_preferences': { 7331 'mac_chrome_preferences': {
7317 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 7332 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
7318 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 7333 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
7424 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 7439 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
7425 'text': 'Default Settings (users can override)', 7440 'text': 'Default Settings (users can override)',
7426 }, 7441 },
7427 'doc_complex_policies_on_windows': { 7442 'doc_complex_policies_on_windows': {
7428 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 7443 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
7429 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">http://www.chromium.org/administrators/complex-policies-on-windows<ex >http://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>''' , 7444 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">http://www.chromium.org/administrators/complex-policies-on-windows<ex >http://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>''' ,
7430 }, 7445 },
7431 }, 7446 },
7432 'placeholders': [], 7447 'placeholders': [],
7433 } 7448 }
OLDNEW
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698