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

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

Issue 11859029: Add a policy to hide the Web Store on new tabs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: filter app from c++ Created 7 years, 10 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: 187 115 # For your editing convenience: highest ID currently used: 188
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 4136 matching lines...) Expand 10 before | Expand all | Expand 10 after
4262 'id': 186, 4262 'id': 186,
4263 'caption': '''Set the Terms of Service for a device-local account''', 4263 'caption': '''Set the Terms of Service for a device-local account''',
4264 'desc': '''Sets the Terms of Service that the user must accept before star ting a device-local account session. 4264 'desc': '''Sets the Terms of Service that the user must accept before star ting a device-local account session.
4265 4265
4266 If this policy is set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ ex></ph> will download the Terms of Service and present them to the user wheneve r a device-local account session is starting. The user will only be allowed into the session after accepting the Terms of Service. 4266 If this policy is set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ ex></ph> will download the Terms of Service and present them to the user wheneve r a device-local account session is starting. The user will only be allowed into the session after accepting the Terms of Service.
4267 4267
4268 If this policy is not set, no Terms of Service are shown. 4268 If this policy is not set, no Terms of Service are shown.
4269 4269
4270 The policy should be set to a URL from which <ph name="PRODUCT_OS_NAME">$2 <ex>Google Chrome OS</ex></ph> can download the Terms of Service. The Terms of S ervice must be plain text, served as MIME type text/plain. No markup is allowed. ''', 4270 The policy should be set to a URL from which <ph name="PRODUCT_OS_NAME">$2 <ex>Google Chrome OS</ex></ph> can download the Terms of Service. The Terms of S ervice must be plain text, served as MIME type text/plain. No markup is allowed. ''',
4271 }, 4271 },
4272 {
4273 'name': 'HideWebStoreIcon',
4274 'type': 'main',
4275 'schema': { 'type': 'boolean' },
4276 'supported_on': ['chrome.*:26-'],
4277 'features': {
4278 'dynamic_refresh': True,
4279 'per_profile': True,
4280 },
4281 'example_value': True,
4282 'id': 188,
4283 'caption': '''Hide the web store from the new tab page''',
4284 'desc': '''Hide the Chrome Web Store icons from the New Tab Page.
Dan Beam 2013/02/14 21:46:43 s/icons/Chrome Web Store app and footer link/?
dconnelly 2013/02/15 08:44:45 Done.
4285
4286 When this policy is set to true, the icons are hidden.
4287
4288 When this policy is set to false or is not configured, the icons are visib le.''',
4289 },
4272 ], 4290 ],
4273 'messages': { 4291 'messages': {
4274 # Messages that are not associated to any policies. 4292 # Messages that are not associated to any policies.
4275 'win_supported_winxpsp2': { 4293 'win_supported_winxpsp2': {
4276 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''', 4294 'desc': '''A label specifying the oldest possible compatible version of Wi ndows. This text will appear right next to a label containing the text 'Supporte d on:'.''',
4277 'text': '''Microsoft Windows XP SP2 or later''' 4295 'text': '''Microsoft Windows XP SP2 or later'''
4278 }, 4296 },
4279 'mac_chrome_preferences': { 4297 'mac_chrome_preferences': {
4280 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', 4298 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''',
4281 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 4299 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
4364 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 4382 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
4365 'text': 'deprecated', 4383 'text': 'deprecated',
4366 }, 4384 },
4367 'doc_recommended': { 4385 'doc_recommended': {
4368 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 4386 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
4369 'text': 'Default Settings (users can override)', 4387 'text': 'Default Settings (users can override)',
4370 }, 4388 },
4371 }, 4389 },
4372 'placeholders': [], 4390 'placeholders': [],
4373 } 4391 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/policy/configuration_policy_handler_list.cc » ('j') | chrome/common/pref_names.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698