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

Side by Side Diff: components/policy/resources/policy_templates.json

Issue 312673006: Added a policy to control the visibility of the apps shortcut. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nits, skip test on chromeos Created 6 years, 6 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 # templates and documentation. The policy definition list that Chrome sees 111 # templates and documentation. The policy definition list that Chrome sees
112 # will include policies marked with 'future'. If a WIP policy isn't meant to 112 # will include policies marked with 'future'. If a WIP policy isn't meant to
113 # be seen by the policy providers either, the 'supported_on' key should be set 113 # be seen by the policy providers either, the 'supported_on' key should be set
114 # to an empty list. 114 # to an empty list.
115 # 115 #
116 # IDs: 116 # IDs:
117 # Since a Protocol Buffer definition is generated from this file, unique and 117 # Since a Protocol Buffer definition is generated from this file, unique and
118 # persistent IDs for all fields (but not for groups!) are needed. These are 118 # persistent IDs for all fields (but not for groups!) are needed. These are
119 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 119 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
120 # because doing so would break the deployed wire format! 120 # because doing so would break the deployed wire format!
121 # For your editing convenience: highest ID currently used: 266 121 # For your editing convenience: highest ID currently used: 267
122 # 122 #
123 # Placeholders: 123 # Placeholders:
124 # The following placeholder strings are automatically substituted: 124 # The following placeholder strings are automatically substituted:
125 # $1 -> Google Chrome / Chromium 125 # $1 -> Google Chrome / Chromium
126 # $2 -> Google Chrome OS / Chromium OS 126 # $2 -> Google Chrome OS / Chromium OS
127 # $3 -> Google Chrome Frame / Chromium Frame 127 # $3 -> Google Chrome Frame / Chromium Frame
128 # $6 is reserved for doc_writer 128 # $6 is reserved for doc_writer
129 # 129 #
130 # Device Policy: 130 # Device Policy:
131 # An additional flag device_only (optional, defaults to False) indicates 131 # An additional flag device_only (optional, defaults to False) indicates
(...skipping 3074 matching lines...) Expand 10 before | Expand all | Expand 10 after
3206 'example_value': False, 3206 'example_value': False,
3207 'id': 83, 3207 'id': 83,
3208 'caption': '''Enables or disables bookmark editing''', 3208 'caption': '''Enables or disables bookmark editing''',
3209 'desc': '''Enables or disables editing bookmarks in <ph name="PRODUCT_NAME ">$1<ex>Google Chrome</ex></ph>. 3209 'desc': '''Enables or disables editing bookmarks in <ph name="PRODUCT_NAME ">$1<ex>Google Chrome</ex></ph>.
3210 3210
3211 If you enable this setting, bookmarks can be added, removed or modified. T his is the default also when this policy is not set. 3211 If you enable this setting, bookmarks can be added, removed or modified. T his is the default also when this policy is not set.
3212 3212
3213 If you disable this setting, bookmarks can not be added, removed or modifi ed. Existing bookmarks are still available.''', 3213 If you disable this setting, bookmarks can not be added, removed or modifi ed. Existing bookmarks are still available.''',
3214 }, 3214 },
3215 { 3215 {
3216 'name': 'ShowAppsShortcutInBookmarkBar',
3217 'type': 'main',
3218 'schema': { 'type': 'boolean' },
3219 'supported_on': ['chrome.*:37-'],
3220 'features': {
3221 'dynamic_refresh': True,
3222 'per_profile': True,
3223 },
3224 'example_value': False,
3225 'id': 267,
3226 'caption': '''Show the apps shortcut in the bookmark bar''',
3227 'desc': '''Enables or disables the apps shortcut in the bookmark bar.
3228
3229 If this setting is not set then the user can choose to show or hide the ap ps shortcut from the bookmark bar context menu.
bartfab (slow) 2014/06/04 10:55:20 Nit: The wording is inconsistent with what we norm
Joao da Silva 2014/06/04 11:13:42 Done.
3230
3231 If this setting is configured then the user can't change it, and the apps shortcut is always shown or never shown.''',
3232 },
3233 {
3216 'name': 'AllowFileSelectionDialogs', 3234 'name': 'AllowFileSelectionDialogs',
3217 'type': 'main', 3235 'type': 'main',
3218 'schema': { 'type': 'boolean' }, 3236 'schema': { 'type': 'boolean' },
3219 'supported_on': ['chrome.*:12-'], 3237 'supported_on': ['chrome.*:12-'],
3220 'features': { 3238 'features': {
3221 'dynamic_refresh': True, 3239 'dynamic_refresh': True,
3222 'per_profile': False, 3240 'per_profile': False,
3223 }, 3241 },
3224 'example_value': True, 3242 'example_value': True,
3225 'id': 84, 3243 'id': 84,
(...skipping 3291 matching lines...) Expand 10 before | Expand all | Expand 10 after
6517 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 6535 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
6518 'text': 'deprecated', 6536 'text': 'deprecated',
6519 }, 6537 },
6520 'doc_recommended': { 6538 'doc_recommended': {
6521 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 6539 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
6522 'text': 'Default Settings (users can override)', 6540 'text': 'Default Settings (users can override)',
6523 }, 6541 },
6524 }, 6542 },
6525 'placeholders': [], 6543 'placeholders': [],
6526 } 6544 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698