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 2473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2484 'caption': '''Default JavaScript setting''', | 2484 'caption': '''Default JavaScript setting''', |
| 2485 'desc': '''Allows you to set whether websites are allowed to run JavaS cript. Running JavaScript can be either allowed for all websites or denied for a ll websites. | 2485 'desc': '''Allows you to set whether websites are allowed to run JavaS cript. Running JavaScript can be either allowed for all websites or denied for a ll websites. |
| 2486 | 2486 |
| 2487 If this policy is left not set, 'AllowJavaScript' will be used and the user will be able to change it.''', | 2487 If this policy is left not set, 'AllowJavaScript' will be used and the user will be able to change it.''', |
| 2488 }, | 2488 }, |
| 2489 { | 2489 { |
| 2490 'name': 'DefaultPluginsSetting', | 2490 'name': 'DefaultPluginsSetting', |
| 2491 'type': 'int-enum', | 2491 'type': 'int-enum', |
| 2492 'schema': { | 2492 'schema': { |
| 2493 'type': 'integer', | 2493 'type': 'integer', |
| 2494 'enum': [ 1, 2, 3 ], | 2494 'enum': [ 1, 2, 3, 5 ], |
| 2495 }, | 2495 }, |
| 2496 'items': [ | 2496 'items': [ |
| 2497 { | 2497 { |
| 2498 'name': 'AllowPlugins', | 2498 'name': 'AllowPlugins', |
| 2499 'value': 1, | 2499 'value': 1, |
| 2500 'caption': '''Allow all sites to automatically run plugins''', | 2500 'caption': '''Allow all sites to automatically run plugins''', |
| 2501 }, | 2501 }, |
| 2502 { | 2502 { |
| 2503 'name': 'BlockPlugins', | 2503 'name': 'BlockPlugins', |
| 2504 'value': 2, | 2504 'value': 2, |
| 2505 'caption': '''Block all plugins''', | 2505 'caption': '''Block all plugins''', |
| 2506 }, | 2506 }, |
| 2507 { | 2507 { |
| 2508 'name': 'ClickToPlay', | 2508 'name': 'ClickToPlay', |
| 2509 'value': 3, | 2509 'value': 3, |
| 2510 'caption': '''Click to play''', | 2510 'caption': '''Click to play''', |
| 2511 }, | 2511 }, |
| 2512 { | |
| 2513 'name': 'DetectImportantContent', | |
| 2514 'value': 5, | |
|
Andrew T Wilson (Slow)
2014/12/16 09:48:09
Why is this 5 and not 4?
I would just not add thi
tommycli
2014/12/16 19:55:47
Done. I reverted this. It was '5' because it's an
| |
| 2515 'caption': '''Detect important content''', | |
| 2516 }, | |
| 2512 ], | 2517 ], |
| 2513 'supported_on': ['chrome.*:10-', 'chrome_os:11-'], | 2518 'supported_on': ['chrome.*:10-', 'chrome_os:11-'], |
| 2514 'features': { | 2519 'features': { |
| 2515 'dynamic_refresh': True, | 2520 'dynamic_refresh': True, |
| 2516 'per_profile': True, | 2521 'per_profile': True, |
| 2517 }, | 2522 }, |
| 2518 'example_value': 1, | 2523 'example_value': 1, |
| 2519 'id': 51, | 2524 'id': 51, |
| 2520 'caption': '''Default plugins setting''', | 2525 'caption': '''Default plugins setting''', |
| 2521 'desc': '''Allows you to set whether websites are allowed to automatic ally run plugins. Automatically running plugins can be either allowed for all we bsites or denied for all websites. | 2526 'desc': '''Allows you to set whether websites are allowed to automatic ally run plugins. Automatically running plugins can be either allowed for all we bsites or denied for all websites. |
| (...skipping 4624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 7146 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 7151 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
| 7147 'text': 'Default Settings (users can override)', | 7152 'text': 'Default Settings (users can override)', |
| 7148 }, | 7153 }, |
| 7149 'doc_complex_policies_on_windows': { | 7154 'doc_complex_policies_on_windows': { |
| 7150 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', | 7155 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', |
| 7151 '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>''' , | 7156 '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>''' , |
| 7152 }, | 7157 }, |
| 7153 }, | 7158 }, |
| 7154 'placeholders': [], | 7159 'placeholders': [], |
| 7155 } | 7160 } |
| OLD | NEW |