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

Side by Side Diff: chrome/app/policy/policy_templates.json

Issue 9836037: Adding policy support to Chrome Frame's launcher so that additional parameters can be passed to Chr… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Handle XP as well and add tests Created 8 years, 9 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 | Annotate | Revision Log
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 # templates and documentation. The policy definition list that Chrome sees 105 # templates and documentation. The policy definition list that Chrome sees
106 # will include policies marked with 'future'. If a WIP policy isn't meant to 106 # will include policies marked with 'future'. If a WIP policy isn't meant to
107 # be seen by the policy providers either, the 'supported_on' key should be set 107 # be seen by the policy providers either, the 'supported_on' key should be set
108 # to an empty list. 108 # to an empty list.
109 # 109 #
110 # IDs: 110 # IDs:
111 # Since a Protocol Buffer definition is generated from this file, unique and 111 # Since a Protocol Buffer definition is generated from this file, unique and
112 # persistent IDs for all fields (but not for groups!) are needed. These are 112 # persistent IDs for all fields (but not for groups!) are needed. These are
113 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 113 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
114 # because doing so would break the deployed wire format! 114 # because doing so would break the deployed wire format!
115 # For your editing convenience: highest ID currently used: 140 115 # For your editing convenience: highest ID currently used: 141
116 # 116 #
117 # Placeholders: 117 # Placeholders:
118 # The following placeholder strings are automatically substituted: 118 # The following placeholder strings are automatically substituted:
119 # $1 -> Google Chrome / Chromium 119 # $1 -> Google Chrome / Chromium
120 # $2 -> Google Chrome OS / Chromium OS 120 # $2 -> Google Chrome OS / Chromium OS
121 # $3 -> Google Chrome Frame / Chromium Frame 121 # $3 -> Google Chrome Frame / Chromium Frame
122 # $6 is reserved for doc_writer 122 # $6 is reserved for doc_writer
123 # 123 #
124 # Device Policy: 124 # Device Policy:
125 # An additional flag device_only (optional, defaults to False) indicates 125 # An additional flag device_only (optional, defaults to False) indicates
(...skipping 1662 matching lines...) Expand 10 before | Expand all | Expand 10 after
1788 'features': {'dynamic_refresh': False}, 1788 'features': {'dynamic_refresh': False},
1789 'example_value': ['http://www.example.com', 'http://www.example.edu'], 1789 'example_value': ['http://www.example.com', 'http://www.example.edu'],
1790 'id': 59, 1790 'id': 59,
1791 'caption': '''Always render the following URL patterns in the host bro wser''', 1791 'caption': '''Always render the following URL patterns in the host bro wser''',
1792 'desc': '''Customize the list of URL patterns that should always be re ndered by the host browser. 1792 'desc': '''Customize the list of URL patterns that should always be re ndered by the host browser.
1793 1793
1794 If this policy is not set the default renderer will be used for all si tes as specified by the 'ChromeFrameRendererSettings' policy. 1794 If this policy is not set the default renderer will be used for all si tes as specified by the 'ChromeFrameRendererSettings' policy.
1795 1795
1796 For example patterns see http://www.chromium.org/developers/how-tos/ch rome-frame-getting-started.''', 1796 For example patterns see http://www.chromium.org/developers/how-tos/ch rome-frame-getting-started.''',
1797 }, 1797 },
1798 {
1799 'name': 'AdditionalLaunchParameters',
1800 'type': 'string',
1801 'supported_on': ['chrome_frame:19-'],
1802 'features': {'dynamic_refresh': False},
1803 'example_value': '--enable-media-stream --enable-media-source',
1804 'id': 141,
1805 'caption': '''Additional command line parameters for <ph name="PRODUCT _FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph>''',
1806 'desc': '''Allows you to specify additional parameters that are used w hen <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ex></ph> launches < ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
Mattias Nissler (ping if slow) 2012/03/26 11:04:41 Please add the additional pro-forma blurb on what
tommi (sloooow) - chröme 2012/03/26 11:24:37 Done.
1807 },
1798 ], 1808 ],
1799 }, 1809 },
1800 { 1810 {
1801 'name': 'ChromeFrameContentTypes', 1811 'name': 'ChromeFrameContentTypes',
1802 'type': 'group', 1812 'type': 'group',
1803 'caption': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Fram e</ex></ph> to handle the following content types.''', 1813 'caption': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Fram e</ex></ph> to handle the following content types.''',
1804 'desc': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ ex></ph> to handle the following content types.''', 1814 'desc': '''Allow <ph name="PRODUCT_FRAME_NAME">$3<ex>Google Chrome Frame</ ex></ph> to handle the following content types.''',
1805 'policies': [ 1815 'policies': [
1806 { 1816 {
1807 'name': 'ChromeFrameContentTypes', 1817 'name': 'ChromeFrameContentTypes',
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
2683 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 2693 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
2684 'text': 'deprecated', 2694 'text': 'deprecated',
2685 }, 2695 },
2686 'doc_recommended': { 2696 'doc_recommended': {
2687 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 2697 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
2688 'text': 'Recommended', 2698 'text': 'Recommended',
2689 }, 2699 },
2690 }, 2700 },
2691 'placeholders': [], 2701 'placeholders': [],
2692 } 2702 }
OLDNEW
« no previous file with comments | « no previous file | chrome/test/functional/policy_test_cases.py » ('j') | chrome_frame/chrome_launcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698