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

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

Issue 10823055: Improve policy documentation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'], 142 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
143 'features': { 143 'features': {
144 'dynamic_refresh': True, 144 'dynamic_refresh': True,
145 'can_be_recommended': True, 145 'can_be_recommended': True,
146 }, 146 },
147 'example_value': 'http://chromium.org', 147 'example_value': 'http://chromium.org',
148 'id': 1, 148 'id': 1,
149 'caption': '''Configure the home page URL''', 149 'caption': '''Configure the home page URL''',
150 'desc': '''Configures the default home page URL in <ph name="PRODUCT_N AME">$1<ex>Google Chrome</ex></ph> and prevents users from changing it. 150 'desc': '''Configures the default home page URL in <ph name="PRODUCT_N AME">$1<ex>Google Chrome</ex></ph> and prevents users from changing it.
151 151
152 The home page type can either be set to a URL you specify here or set to the New Tab Page. 152 The home page is the page opened by the Home button. The pages that op en on startup are controlled by the RestoreOnStartup policies.
153 153
154 If you select the New Tab Page, then this policy is ignored. 154 The home page type can either be set to a URL you specify here or set to the New Tab Page. If you select the New Tab Page, then this policy is ignored .
155 155
156 If you enable this setting, users cannot change their home page URL in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>, but they can still can c hoose the New Tab Page as their home page. 156 If you enable this setting, users cannot change their home page URL in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>, but they can still can c hoose the New Tab Page as their home page.
157 157
158 Leaving this policy not set will allow the user to choose his home pag e on his own if HomepageIsNewTabPage is not set too.''', 158 Leaving this policy not set will allow the user to choose his home pag e on his own if HomepageIsNewTabPage is not set too.''',
159 'label': '''Home page URL''', 159 'label': '''Home page URL''',
160 }, 160 },
161 { 161 {
162 'name': 'HomepageIsNewTabPage', 162 'name': 'HomepageIsNewTabPage',
163 'type': 'main', 163 'type': 'main',
164 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'], 164 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
(...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 'type': 'list', 1108 'type': 'list',
1109 'supported_on': ['chrome.*:21-', 'chrome_os:21-'], 1109 'supported_on': ['chrome.*:21-', 'chrome_os:21-'],
1110 'features': {'dynamic_refresh': True}, 1110 'features': {'dynamic_refresh': True},
1111 'example_value': ['https://corp.mycompany.com/*'], 1111 'example_value': ['https://corp.mycompany.com/*'],
1112 'id': 148, 1112 'id': 148,
1113 'caption': '''Configure extension, app, and user script install source s''', 1113 'caption': '''Configure extension, app, and user script install source s''',
1114 'desc': '''Allows you to specify which URLs are allowed to install ext ensions, apps, and themes. 1114 'desc': '''Allows you to specify which URLs are allowed to install ext ensions, apps, and themes.
1115 1115
1116 Starting in Chrome 21, it is more difficult to install extensions, app s, and user scripts from outside the Chrome Web Store. Previously, users could c lick on a link to a *.crx file, and Chrome would offer to install the file after a few warnings. After Chrome 21, such files must be downloaded and dragged onto the Chrome settings page. This setting allows specific URLs to have the old, ea sier installation flow. 1116 Starting in Chrome 21, it is more difficult to install extensions, app s, and user scripts from outside the Chrome Web Store. Previously, users could c lick on a link to a *.crx file, and Chrome would offer to install the file after a few warnings. After Chrome 21, such files must be downloaded and dragged onto the Chrome settings page. This setting allows specific URLs to have the old, ea sier installation flow.
1117 1117
1118 Each item in this list is an extension-style match pattern (see http:/ /code.google.com/chrome/extensions/match_patterns.html). Users will be able to e asily install items from any URL that matches an item in this list. 1118 Each item in this list is an extension-style match pattern (see http:/ /code.google.com/chrome/extensions/match_patterns.html). Users will be able to e asily install items from any URL that matches an item in this list. Both the loc ation of the *.crx file and the page where the download is started from (i.e. th e referrer) must be allowed by these patterns.
1119 1119
1120 ExtensionInstallBlacklist takes precedence over this policy. That is, an extension on the blacklist won't be installed, even if it happens from a site on this list.''', 1120 ExtensionInstallBlacklist takes precedence over this policy. That is, an extension on the blacklist won't be installed, even if it happens from a site on this list.''',
1121 'label': '''URL patterns to allow extension, app, and user script inst alls from''', 1121 'label': '''URL patterns to allow extension, app, and user script inst alls from''',
1122 }, 1122 },
1123 ], 1123 ],
1124 }, 1124 },
1125 { 1125 {
1126 'name': 'ShowHomeButton', 1126 'name': 'ShowHomeButton',
1127 'type': 'main', 1127 'type': 'main',
1128 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'], 1128 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
(...skipping 1734 matching lines...) Expand 10 before | Expand all | Expand 10 after
2863 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 2863 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
2864 'text': 'deprecated', 2864 'text': 'deprecated',
2865 }, 2865 },
2866 'doc_recommended': { 2866 'doc_recommended': {
2867 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 2867 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
2868 'text': 'Recommended', 2868 'text': 'Recommended',
2869 }, 2869 },
2870 }, 2870 },
2871 'placeholders': [], 2871 'placeholders': [],
2872 } 2872 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698