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

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

Issue 10035043: Update RestoreOnStartupPolicyHandler to translate to the correct preferences (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: \n Created 8 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/policy/configuration_policy_handler.h » ('j') | 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 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after
1147 'caption': '''Startup pages''', 1147 'caption': '''Startup pages''',
1148 'desc': '''Allows you to configure the pages that are loaded on startup. 1148 'desc': '''Allows you to configure the pages that are loaded on startup.
1149 1149
1150 The contents of the list 'URLs to open at startup' are ignored unless you select 'Open a list of URLs' in 'Action on startup'.''', 1150 The contents of the list 'URLs to open at startup' are ignored unless you select 'Open a list of URLs' in 'Action on startup'.''',
1151 'policies': [ 1151 'policies': [
1152 { 1152 {
1153 'name': 'RestoreOnStartup', 1153 'name': 'RestoreOnStartup',
1154 'type': 'int-enum', 1154 'type': 'int-enum',
1155 'items': [ 1155 'items': [
1156 { 1156 {
1157 'name': 'RestoreOnStartupIsNone', 1157 'name': 'RestoreOnStartupIsNewTabPage',
1158 'value': 0, 1158 'value': 5,
1159 'caption': '''Open home page''' 1159 'caption': '''Open New Tab Page'''
1160 }, 1160 },
1161 { 1161 {
1162 'name': 'RestoreOnStartupIsLastSession', 1162 'name': 'RestoreOnStartupIsLastSession',
1163 'value': 1, 1163 'value': 1,
1164 'caption': '''Restore the last session''' 1164 'caption': '''Restore the last session'''
1165 }, 1165 },
1166 { 1166 {
1167 'name': 'RestoreOnStartupIsURLs', 1167 'name': 'RestoreOnStartupIsURLs',
1168 'value': 4, 1168 'value': 4,
1169 'caption': '''Open a list of URLs''' 1169 'caption': '''Open a list of URLs'''
1170 }, 1170 },
1171 ], 1171 ],
1172 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'], 1172 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
1173 'features': { 1173 'features': {
1174 'dynamic_refresh': True, 1174 'dynamic_refresh': True,
1175 'can_be_recommended': True, 1175 'can_be_recommended': True,
1176 }, 1176 },
1177 'example_value': 4, 1177 'example_value': 4,
1178 'id': 37, 1178 'id': 37,
1179 'caption': '''Action on startup''', 1179 'caption': '''Action on startup''',
1180 'desc': '''Allows you to specify the behavior on startup. 1180 'desc': '''Allows you to specify the behavior on startup.
1181 1181
1182 If you choose 'Open home page' the home page will always be opened whe n you start <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. 1182 If you choose 'Open New Tab Page' the New Tab Page will always be open ed when you start <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
1183 1183
1184 If you choose 'Restore the last session', the URLs that were open last time <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> was closed will be r eopened and the browsing session will be restored as it was left. 1184 If you choose 'Restore the last session', the URLs that were open last time <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> was closed will be r eopened and the browsing session will be restored as it was left.
1185 Choosing this option disables some settings that rely on sessions or t hat perform actions on exit (such as Clear browsing data on exit or session-only cookies). 1185 Choosing this option disables some settings that rely on sessions or t hat perform actions on exit (such as Clear browsing data on exit or session-only cookies).
1186 1186
1187 If you choose 'Open a list of URLs', the list of 'URLs to open on star tup' will be opened when a user starts <ph name="PRODUCT_NAME">$1<ex>Google Chro me</ex></ph>. 1187 If you choose 'Open a list of URLs', the list of 'URLs to open on star tup' will be opened when a user starts <ph name="PRODUCT_NAME">$1<ex>Google Chro me</ex></ph>.
1188 1188
1189 If you enable this setting, users cannot change or override it in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. 1189 If you enable this setting, users cannot change or override it in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
1190 1190
1191 Disabling this setting is equvalent to leaving it not configured. The user will still be able to change it in <ph name="PRODUCT_NAME">$1<ex>Google Chr ome</ex></ph>.''', 1191 Disabling this setting is equvalent to leaving it not configured. The user will still be able to change it in <ph name="PRODUCT_NAME">$1<ex>Google Chr ome</ex></ph>.''',
1192 }, 1192 },
(...skipping 1535 matching lines...) Expand 10 before | Expand all | Expand 10 after
2728 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 2728 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
2729 'text': 'deprecated', 2729 'text': 'deprecated',
2730 }, 2730 },
2731 'doc_recommended': { 2731 'doc_recommended': {
2732 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 2732 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
2733 'text': 'Recommended', 2733 'text': 'Recommended',
2734 }, 2734 },
2735 }, 2735 },
2736 'placeholders': [], 2736 'placeholders': [],
2737 } 2737 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/policy/configuration_policy_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698