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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
111 # templates and documentation. The policy definition list that Chrome sees | 111 # templates and documentation. The policy definition list that Chrome sees |
112 # will include policies marked with 'future'. If a WIP policy isn't meant to | 112 # will include policies marked with 'future'. If a WIP policy isn't meant to |
113 # be seen by the policy providers either, the 'supported_on' key should be set | 113 # be seen by the policy providers either, the 'supported_on' key should be set |
114 # to an empty list. | 114 # to an empty list. |
115 # | 115 # |
116 # IDs: | 116 # IDs: |
117 # Since a Protocol Buffer definition is generated from this file, unique and | 117 # Since a Protocol Buffer definition is generated from this file, unique and |
118 # persistent IDs for all fields (but not for groups!) are needed. These are | 118 # persistent IDs for all fields (but not for groups!) are needed. These are |
119 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, | 119 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, |
120 # because doing so would break the deployed wire format! | 120 # because doing so would break the deployed wire format! |
121 # For your editing convenience: highest ID currently used: 267 | 121 # For your editing convenience: highest ID currently used: 268 |
122 # | 122 # |
123 # Placeholders: | 123 # Placeholders: |
124 # The following placeholder strings are automatically substituted: | 124 # The following placeholder strings are automatically substituted: |
125 # $1 -> Google Chrome / Chromium | 125 # $1 -> Google Chrome / Chromium |
126 # $2 -> Google Chrome OS / Chromium OS | 126 # $2 -> Google Chrome OS / Chromium OS |
127 # $3 -> Google Chrome Frame / Chromium Frame | 127 # $3 -> Google Chrome Frame / Chromium Frame |
128 # $6 is reserved for doc_writer | 128 # $6 is reserved for doc_writer |
129 # | 129 # |
130 # Device Policy: | 130 # Device Policy: |
131 # An additional flag device_only (optional, defaults to False) indicates | 131 # An additional flag device_only (optional, defaults to False) indicates |
(...skipping 2529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2661 'per_profile': True, | 2661 'per_profile': True, |
2662 }, | 2662 }, |
2663 'example_value': ['http://www.example.com', '[*.]example.edu'], | 2663 'example_value': ['http://www.example.com', '[*.]example.edu'], |
2664 'id': 75, | 2664 'id': 75, |
2665 'caption': '''Allow popups on these sites''', | 2665 'caption': '''Allow popups on these sites''', |
2666 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to open popups. | 2666 'desc': '''Allows you to set a list of url patterns that specify sites which are allowed to open popups. |
2667 | 2667 |
2668 If this policy is left not set the global default value will be used f or all sites either from the 'DefaultPopupsSetting' policy if it is set, or the user's personal configuration otherwise.''', | 2668 If this policy is left not set the global default value will be used f or all sites either from the 'DefaultPopupsSetting' policy if it is set, or the user's personal configuration otherwise.''', |
2669 }, | 2669 }, |
2670 { | 2670 { |
2671 'name': 'RegisteredProtocolHandlers', | |
2672 'type': 'list', | |
2673 'schema': { | |
2674 'type': 'array', | |
2675 'items': { | |
2676 'type': 'object', | |
2677 'properties': { | |
2678 'default': { | |
2679 'description': 'A boolean flag indicating if the protocol hand ler should be set as the default.', | |
2680 'type': 'boolean' | |
2681 }, | |
2682 'protocol': { | |
2683 'description': 'The protocol for the protocol handler.', | |
2684 'type': 'string' | |
2685 }, | |
2686 'url': { | |
2687 'description': 'The URL of the protocol handler.', | |
2688 'type': 'string' | |
2689 } | |
2690 }, | |
2691 'required': ['protocol', 'url'] | |
2692 } | |
2693 }, | |
2694 'supported_on': ['chrome.*:37-', 'chrome_os:37-'], | |
2695 'features': { | |
2696 'dynamic_refresh': False, | |
2697 'per_profile': True, | |
2698 }, | |
2699 'example_value': [{'protocol': 'mailto', 'url': 'https://mail.google.c om/mail/?extsrc=mailto&url=%s'}], | |
2700 'id': 268, | |
2701 'caption': '''Register protocol handlers''', | |
2702 'desc': '''Allows you to register a list of protocol handlers. This ca n only be a recommended policy. The field |protocol| should be set to the scheme such as 'mailto' and the field |url| should be set to the URL pattern of the ap plication that handles the scheme. The pattern should include a '%s' as a placeh older for data. | |
2703 | |
2704 The protocol handlers registered by policy are merged with the ones re gistered by the user via settings and both available for use. The user can overr ide the protocol handlers installed by policy by installing a new default handle r, but is not allowed to remove a protocol handler registered by policy.''', | |
bartfab (slow)
2014/06/11 10:08:44
s/both/both are/
kaliamoorthi
2014/06/13 13:22:28
Done.
| |
2705 }, | |
2706 { | |
2671 'name': 'PopupsBlockedForUrls', | 2707 'name': 'PopupsBlockedForUrls', |
2672 'type': 'list', | 2708 'type': 'list', |
2673 'schema': { | 2709 'schema': { |
2674 'type': 'array', | 2710 'type': 'array', |
2675 'items': { 'type': 'string' }, | 2711 'items': { 'type': 'string' }, |
2676 }, | 2712 }, |
2677 'supported_on': [ | 2713 'supported_on': [ |
2678 'chrome.*:11-', | 2714 'chrome.*:11-', |
2679 'chrome_os:11-', | 2715 'chrome_os:11-', |
2680 'ios:34-', | 2716 'ios:34-', |
(...skipping 3854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6535 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', | 6571 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', |
6536 'text': 'deprecated', | 6572 'text': 'deprecated', |
6537 }, | 6573 }, |
6538 'doc_recommended': { | 6574 'doc_recommended': { |
6539 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', | 6575 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', |
6540 'text': 'Default Settings (users can override)', | 6576 'text': 'Default Settings (users can override)', |
6541 }, | 6577 }, |
6542 }, | 6578 }, |
6543 'placeholders': [], | 6579 'placeholders': [], |
6544 } | 6580 } |
OLD | NEW |