Chromium Code Reviews| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 87 # policy configuration files. 'dynamic_refresh' controls if the generated | 87 # policy configuration files. 'dynamic_refresh' controls if the generated |
| 88 # documentation should state that the policy supports dynamic refresh or not. | 88 # documentation should state that the policy supports dynamic refresh or not. |
| 89 # Supporting dynamic refresh means that Chrome respects the changes to the | 89 # Supporting dynamic refresh means that Chrome respects the changes to the |
| 90 # policy immediately, without the need for restart. | 90 # policy immediately, without the need for restart. |
| 91 # | 91 # |
| 92 # IDs: | 92 # IDs: |
| 93 # Since a Protocol Buffer definition is generated from this file, unique and | 93 # Since a Protocol Buffer definition is generated from this file, unique and |
| 94 # persistent IDs for all fields (but not for groups!) are needed. These are | 94 # persistent IDs for all fields (but not for groups!) are needed. These are |
| 95 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 95 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
| 96 # because doing so would break the deployed wire format! | 96 # because doing so would break the deployed wire format! |
| 97 # For your editing convenience: highest ID currently used: 87 | 97 # For your editing convenience: highest ID currently used: 88 |
| 98 # | 98 # |
| 99 # Placeholders: | 99 # Placeholders: |
| 100 # The following placeholder strings are automatically substituted: | 100 # The following placeholder strings are automatically substituted: |
| 101 # $1 -> Google Chrome / Chromium | 101 # $1 -> Google Chrome / Chromium |
| 102 # $2 -> Google Chrome OS / Chromium OS | 102 # $2 -> Google Chrome OS / Chromium OS |
| 103 # $3 -> Google Chrome Frame / Chromium Frame | 103 # $3 -> Google Chrome Frame / Chromium Frame |
| 104 # $6 is reserved for doc_writer | 104 # $6 is reserved for doc_writer |
| 105 # | 105 # |
| 106 'policy_definitions': [ | 106 'policy_definitions': [ |
| 107 { | 107 { |
| (...skipping 1187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1295 | 1295 |
| 1296 Disabling this setting potentially allows web pages to use the WebGL API a nd plugins to use the Pepper 3D API. The default settings of the browser may sti ll require command line arguments to be passed in order to use these APIs.''', | 1296 Disabling this setting potentially allows web pages to use the WebGL API a nd plugins to use the Pepper 3D API. The default settings of the browser may sti ll require command line arguments to be passed in order to use these APIs.''', |
| 1297 }, | 1297 }, |
| 1298 { | 1298 { |
| 1299 'name': 'PolicyRefreshRate', | 1299 'name': 'PolicyRefreshRate', |
| 1300 'type': 'int', | 1300 'type': 'int', |
| 1301 'supported_on': ['chrome_os:1.0-'], | 1301 'supported_on': ['chrome_os:1.0-'], |
| 1302 'features': {'dynamic_refresh': 1}, | 1302 'features': {'dynamic_refresh': 1}, |
| 1303 'example_value': 3600000, | 1303 'example_value': 3600000, |
| 1304 'id': 56, | 1304 'id': 56, |
| 1305 'caption': '''Policy refresh rate''', | 1305 'caption': '''Refresh rate for user policy''', |
| 1306 'desc': '''Specifies the period in milliseconds at which the device manage ment service is queried for policy information. | 1306 'desc': '''Specifies the period in milliseconds at which the device manage ment service is queried for user policy information. |
| 1307 | 1307 |
| 1308 Setting this policy overrides the default value of 3 hours. Valid values f or this policy are in the range from 30 minutes to 1 day. Any values not in this range will be clamped to the respective boundary.''', | 1308 Setting this policy overrides the default value of 3 hours. Valid values f or this policy are in the range from 30 minutes to 1 day. Any values not in this range will be clamped to the respective boundary.''', |
| 1309 }, | 1309 }, |
| 1310 { | 1310 { |
| 1311 'name': 'ChromeFrameRendererSettings', | 1311 'name': 'ChromeFrameRendererSettings', |
| 1312 'type': 'group', | 1312 'type': 'group', |
| 1313 'caption': '''Default HTML renderer for <ph name="PRODUCT_FRAME_NAME">$3<e x>Google Chrome Frame</ex></ph>''', | 1313 'caption': '''Default HTML renderer for <ph name="PRODUCT_FRAME_NAME">$3<e x>Google Chrome Frame</ex></ph>''', |
| 1314 'desc': '''Allows you to configure the default HTML renderer when <ph name ="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex> | 1314 'desc': '''Allows you to configure the default HTML renderer when <ph name ="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex> |
| 1315 </ph> is installed. | 1315 </ph> is installed. |
| 1316 The default setting is to allow the host browser do the rendering, but you | 1316 The default setting is to allow the host browser do the rendering, but you |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1516 'supported_on': ['chrome_frame:12-'], | 1516 'supported_on': ['chrome_frame:12-'], |
| 1517 'features': {'dynamic_refresh': 0}, | 1517 'features': {'dynamic_refresh': 0}, |
| 1518 'example_value': '${user_home}/Chrome Frame', | 1518 'example_value': '${user_home}/Chrome Frame', |
| 1519 'id': 87, | 1519 'id': 87, |
| 1520 'caption': '''Set <ph name="PRODUCT_NAME">$3<ex>Google Chrome Frame</ex></ ph> user data directory''', | 1520 'caption': '''Set <ph name="PRODUCT_NAME">$3<ex>Google Chrome Frame</ex></ ph> user data directory''', |
| 1521 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$3<ex>Goo gle Chrome Frame</ex></ph> will use for storing user data. | 1521 'desc': '''Configures the directory that <ph name="PRODUCT_NAME">$3<ex>Goo gle Chrome Frame</ex></ph> will use for storing user data. |
| 1522 | 1522 |
| 1523 If you set this policy, <ph name="PRODUCT_NAME">$3<ex>Google Chrome Frame< /ex></ph> will use the provided directory.''', | 1523 If you set this policy, <ph name="PRODUCT_NAME">$3<ex>Google Chrome Frame< /ex></ph> will use the provided directory.''', |
| 1524 'label': '''Set user data directory''', | 1524 'label': '''Set user data directory''', |
| 1525 }, | 1525 }, |
| 1526 { | |
| 1527 'name': 'DevicePolicyRefreshRate', | |
| 1528 'type': 'int', | |
| 1529 'supported_on': ['chrome_os:1.0-'], | |
| 1530 'features': {'dynamic_refresh': 1}, | |
| 1531 'example_value': 3600000, | |
| 1532 'id': 88, | |
| 1533 'caption': '''Refresh rate for Device Policy''', | |
| 1534 'desc': '''Specifies the period in milliseconds at which the device manage ment service is queried for device policy information. | |
| 1535 | |
| 1536 Setting this policy overrides the default value of 3 hours. Valid values f or this policy are in the range from 30 minutes to 1 day. Any values not in this range will be clamped to the respective boundary.''', | |
|
pastarmovj
2011/05/16 14:22:33
It might be helpful to do the math here for the po
sfeuz
2011/05/17 14:27:42
Done.
| |
| 1537 }, | |
| 1538 | |
| 1526 ], | 1539 ], |
| 1527 'messages': { | 1540 'messages': { |
| 1528 # Messages that are not associated to any policies. | 1541 # Messages that are not associated to any policies. |
| 1529 'win_supported_winxpsp2': { | 1542 'win_supported_winxpsp2': { |
| 1530 '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:'.''', | 1543 '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:'.''', |
| 1531 'text': '''Microsoft Windows XP SP2 or later''' | 1544 'text': '''Microsoft Windows XP SP2 or later''' |
| 1532 }, | 1545 }, |
| 1533 'mac_chrome_preferences': { | 1546 'mac_chrome_preferences': { |
| 1534 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', | 1547 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', |
| 1535 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' | 1548 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1606 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''', | 1619 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''', |
| 1607 'text': '''Dynamic Policy Refresh''' | 1620 'text': '''Dynamic Policy Refresh''' |
| 1608 }, | 1621 }, |
| 1609 'doc_deprecated': { | 1622 'doc_deprecated': { |
| 1610 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''', | 1623 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''', |
| 1611 'text': 'deprecated', | 1624 'text': 'deprecated', |
| 1612 } | 1625 } |
| 1613 }, | 1626 }, |
| 1614 'placeholders': [], | 1627 'placeholders': [], |
| 1615 } | 1628 } |
| OLD | NEW |