| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 # Currently supported product names: | 72 # Currently supported product names: |
| 73 # 'chrome_frame', 'chrome_os' | 73 # 'chrome_frame', 'chrome_os' |
| 74 # 'chrome.win', 'chrome.linux', 'chrome.mac', 'chrome.*' | 74 # 'chrome.win', 'chrome.linux', 'chrome.mac', 'chrome.*' |
| 75 # For example if 'chrome.*:5-10' is specified for a policy, then it should | 75 # For example if 'chrome.*:5-10' is specified for a policy, then it should |
| 76 # be read as: | 76 # be read as: |
| 77 # 'chrome.linux:5-10', 'chrome.mac:5-10', 'chrome.win:5-10' | 77 # 'chrome.linux:5-10', 'chrome.mac:5-10', 'chrome.win:5-10' |
| 78 # The product name also affects in which templates will the policy be included
. | 78 # The product name also affects in which templates will the policy be included
. |
| 79 # chrome.*, chrome.win, chrome_frame -> ADM,ADMX,ADML,doc | 79 # chrome.*, chrome.win, chrome_frame -> ADM,ADMX,ADML,doc |
| 80 # chrome.*, chrome.linux -> JSON,doc | 80 # chrome.*, chrome.linux -> JSON,doc |
| 81 # chrome.*, chrome.mac -> plist, plist_strings,doc | 81 # chrome.*, chrome.mac -> plist, plist_strings,doc |
| 82 # chrome.* -> Chrome policy definition list |
| 83 # chrome_os -> Chrome policy definition list, when building OS_CHROMEOS |
| 82 # everything else -> doc | 84 # everything else -> doc |
| 83 # | 85 # |
| 84 # Annotations: | 86 # Annotations: |
| 85 # Additional information is specified under keys 'features' and | 87 # Additional information is specified under keys 'features' and |
| 86 # 'example_value'. These are used in the generated documentation and example | 88 # 'example_value'. These are used in the generated documentation and example |
| 87 # policy configuration files. 'dynamic_refresh' controls if the generated | 89 # policy configuration files. 'dynamic_refresh' controls if the generated |
| 88 # documentation should state that the policy supports dynamic refresh or not. | 90 # documentation should state that the policy supports dynamic refresh or not. |
| 89 # Supporting dynamic refresh means that Chrome respects the changes to the | 91 # Supporting dynamic refresh means that Chrome respects the changes to the |
| 90 # policy immediately, without the need for restart. | 92 # policy immediately, without the need for restart. |
| 91 # | 93 # |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 'caption': '''Enable printing''', | 379 'caption': '''Enable printing''', |
| 378 'desc': '''Enables printing in <ph name="PRODUCT_NAME">$1<ex>Google Chrome
</ex></ph> and prevents users from changing this setting. | 380 'desc': '''Enables printing in <ph name="PRODUCT_NAME">$1<ex>Google Chrome
</ex></ph> and prevents users from changing this setting. |
| 379 | 381 |
| 380 If this setting is enabled or not configured, users can print. | 382 If this setting is enabled or not configured, users can print. |
| 381 | 383 |
| 382 If this setting is disabled, users cannot print from <ph name="PRODUCT_NAM
E">$1<ex>Google Chrome</ex></ph>. Printing is disabled in the wrench menu, exten
sions, JavaScript applications, etc. It is still possible to print from plugins
that bypass <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> while printing
. For example certain Flash applications has the print option in their context m
enu, and that will not be disabled.''', | 384 If this setting is disabled, users cannot print from <ph name="PRODUCT_NAM
E">$1<ex>Google Chrome</ex></ph>. Printing is disabled in the wrench menu, exten
sions, JavaScript applications, etc. It is still possible to print from plugins
that bypass <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> while printing
. For example certain Flash applications has the print option in their context m
enu, and that will not be disabled.''', |
| 383 }, | 385 }, |
| 384 { | 386 { |
| 385 'name': 'CloudPrintProxyEnabled', | 387 'name': 'CloudPrintProxyEnabled', |
| 386 'type': 'main', | 388 'type': 'main', |
| 387 'supported_on': [], | 389 'supported_on': ['chrome.*:X-'], |
| 388 'features': {'dynamic_refresh': 1}, | 390 'features': {'dynamic_refresh': 1}, |
| 389 'future': True, | 391 'future': True, |
| 390 'example_value': True, | 392 'example_value': True, |
| 391 'id': 13, | 393 'id': 13, |
| 392 'caption': '''Enable <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> p
roxy''', | 394 'caption': '''Enable <ph name="CLOUD_PRINT_NAME">Google Cloud Print</ph> p
roxy''', |
| 393 'desc': ''' Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex><
/ph> to act as a proxy between <ph name="CLOUD_PRINT_NAME">Google Cloud Print</p
h> and legacy printers connected to the machine. | 395 'desc': ''' Enables <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex><
/ph> to act as a proxy between <ph name="CLOUD_PRINT_NAME">Google Cloud Print</p
h> and legacy printers connected to the machine. |
| 394 | 396 |
| 395 If this setting is enabled or not configured, users can enable the cloud p
rint proxy by authentication with their Google account. | 397 If this setting is enabled or not configured, users can enable the cloud p
rint proxy by authentication with their Google account. |
| 396 | 398 |
| 397 If this setting is disabled, users cannot enable the proxy, and the machin
e will not be allowed to share it's printers with <ph name="CLOUD_PRINT_NAME">Go
ogle Cloud Print</ph>.''', | 399 If this setting is disabled, users cannot enable the proxy, and the machin
e will not be allowed to share it's printers with <ph name="CLOUD_PRINT_NAME">Go
ogle Cloud Print</ph>.''', |
| (...skipping 1523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1921 'desc': '''The name of the feature that indicates for a given policy that
changes to it are respected by Chrome without a browser restart''', | 1923 'desc': '''The name of the feature that indicates for a given policy that
changes to it are respected by Chrome without a browser restart''', |
| 1922 'text': '''Dynamic Policy Refresh''' | 1924 'text': '''Dynamic Policy Refresh''' |
| 1923 }, | 1925 }, |
| 1924 'doc_deprecated': { | 1926 'doc_deprecated': { |
| 1925 'desc': '''Text appended in parentheses to the policy name to indicate t h
at it has been deprecated''', | 1927 'desc': '''Text appended in parentheses to the policy name to indicate t h
at it has been deprecated''', |
| 1926 'text': 'deprecated', | 1928 'text': 'deprecated', |
| 1927 } | 1929 } |
| 1928 }, | 1930 }, |
| 1929 'placeholders': [], | 1931 'placeholders': [], |
| 1930 } | 1932 } |
| OLD | NEW |