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

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

Issue 512223002: Documented how to add bookmark folders with the ManagedBookmarks policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 6400 matching lines...) Expand 10 before | Expand all | Expand 10 after
6411 "name": "Youtube", 6411 "name": "Youtube",
6412 "url": "youtube.com" 6412 "url": "youtube.com"
6413 } 6413 }
6414 ], 6414 ],
6415 'id': 227, 6415 'id': 227,
6416 'caption': '''Managed Bookmarks''', 6416 'caption': '''Managed Bookmarks''',
6417 'desc': '''Configures a list of managed bookmarks. 6417 'desc': '''Configures a list of managed bookmarks.
6418 6418
6419 The policy is a list of bookmarks, and each bookmark is a dictionary conta ining the bookmark "name" and target "url". 6419 The policy is a list of bookmarks, and each bookmark is a dictionary conta ining the bookmark "name" and target "url".
6420 6420
6421 A bookmark can also be configured as a folder. In that case, define the fo lder "name" but don't define an "url"; instead, define the folder contents as an other list of bookmarks under the "children" key.
bartfab (slow) 2014/08/28 13:21:17 Nit: Is it possible to specify in JSON schema some
Joao da Silva 2014/08/28 13:38:09 It is but it's complicated :-) Basically, the "ty
6422
6421 These bookmarks are placed in a Managed bookmarks folder inside the Mobile bookmarks. These bookmarks can't be modified by the user. 6423 These bookmarks are placed in a Managed bookmarks folder inside the Mobile bookmarks. These bookmarks can't be modified by the user.
6422 6424
6423 When this policy is set then the Managed bookmarks are the default folder opened when the bookmarks view is opened in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>. 6425 When this policy is set then the Managed bookmarks are the default folder opened when the bookmarks view is opened in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.
6424 6426
6425 Managed bookmarks are not synced to the user account.''', 6427 Managed bookmarks are not synced to the user account.''',
6426 }, 6428 },
6427 { 6429 {
6428 'name': 'DataCompressionProxyEnabled', 6430 'name': 'DataCompressionProxyEnabled',
6429 'type': 'main', 6431 'type': 'main',
6430 'schema': { 'type': 'boolean' }, 6432 'schema': { 'type': 'boolean' },
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
6771 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 6773 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
6772 'text': 'deprecated', 6774 'text': 'deprecated',
6773 }, 6775 },
6774 'doc_recommended': { 6776 'doc_recommended': {
6775 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 6777 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
6776 'text': 'Default Settings (users can override)', 6778 'text': 'Default Settings (users can override)',
6777 }, 6779 },
6778 }, 6780 },
6779 'placeholders': [], 6781 'placeholders': [],
6780 } 6782 }
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