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

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: Created 7 years, 11 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: 171 115 # For your editing convenience: highest ID currently used: 172
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 3743 matching lines...) Expand 10 before | Expand all | Expand 10 after
3869 'desc': '''Limit the maximum length of a user session. 3869 'desc': '''Limit the maximum length of a user session.
3870 3870
3871 When this policy is set, it specifies the length of time after which a use r is automatically logged out, terminating the session. The user is informed abo ut the remaining time by a countdown timer shown in the system tray. 3871 When this policy is set, it specifies the length of time after which a use r is automatically logged out, terminating the session. The user is informed abo ut the remaining time by a countdown timer shown in the system tray.
3872 3872
3873 When this policy is not set, the session length is not limited. 3873 When this policy is not set, the session length is not limited.
3874 3874
3875 If you set this policy, users cannot change or override it. 3875 If you set this policy, users cannot change or override it.
3876 3876
3877 The policy value should be specified in milliseconds. Values are clamped t o a range of 30 seconds to 24 hours.''', 3877 The policy value should be specified in milliseconds. Values are clamped t o a range of 30 seconds to 24 hours.''',
3878 }, 3878 },
3879 {
3880 'name': 'HideWebStoreIcon',
3881 'type': 'main',
3882 'schema': { 'type': 'boolean' },
3883 'supported_on': ['chrome.*:26-'],
dconnelly 2013/01/18 13:11:55 Not sure what version to use here
Joao da Silva 2013/01/18 14:02:50 26 is fine. This also affects the NTP on chromeos,
3884 'features': {
3885 'dynamic_refresh': True,
3886 'per_profile': False,
Joao da Silva 2013/01/18 14:02:50 per_profile is True. This pref is stored per profi
3887 },
3888 'future': False,
Joao da Silva 2013/01/18 14:02:50 This can be removed
3889 'example_value': True,
3890 'id': 172,
3891 'caption': '''Hide the web store from the new tab page''',
3892 'desc': '''Hide the Chrome Web Store icons from the New Tab Page.
3893
3894 When this policy is set to true, the icons are hidden.
3895
3896 When this policy is set to false or is not configured, the icons are visib le.''',
3897 },
3879 ], 3898 ],
3880 'messages': { 3899 'messages': {
3881 # Messages that are not associated to any policies. 3900 # Messages that are not associated to any policies.
3882 'win_supported_winxpsp2': { 3901 'win_supported_winxpsp2': {
3883 '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:'.''', 3902 '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:'.''',
3884 'text': '''Microsoft Windows XP SP2 or later''' 3903 'text': '''Microsoft Windows XP SP2 or later'''
3885 }, 3904 },
3886 'mac_chrome_preferences': { 3905 'mac_chrome_preferences': {
3887 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', 3906 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''',
3888 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 3907 '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
3971 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 3990 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
3972 'text': 'deprecated', 3991 'text': 'deprecated',
3973 }, 3992 },
3974 'doc_recommended': { 3993 'doc_recommended': {
3975 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 3994 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
3976 'text': 'Default Settings (users can override)', 3995 'text': 'Default Settings (users can override)',
3977 }, 3996 },
3978 }, 3997 },
3979 'placeholders': [], 3998 'placeholders': [],
3980 } 3999 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/policy/configuration_policy_handler_list.cc » ('j') | chrome/browser/resources/ntp4/new_tab.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698