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

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

Issue 7623006: Add preference for managed notifications setting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 4 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/content_settings/content_settings_notification_provider.cc » ('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 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after
1211 }, 1211 },
1212 ], 1212 ],
1213 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'], 1213 'supported_on': ['chrome.*:10-', 'chrome_os:0.11-'],
1214 'features': {'dynamic_refresh': 1}, 1214 'features': {'dynamic_refresh': 1},
1215 'example_value': 1, 1215 'example_value': 1,
1216 'id': 52, 1216 'id': 52,
1217 'caption': '''Default popups setting''', 1217 'caption': '''Default popups setting''',
1218 'desc': '''Allows you to set whether websites are allowed to show pop- ups. Showing popups can be either allowed for all websites or denied for all web sites.''', 1218 'desc': '''Allows you to set whether websites are allowed to show pop- ups. Showing popups can be either allowed for all websites or denied for all web sites.''',
1219 }, 1219 },
1220 { 1220 {
1221 'name': 'DefaultNotificationSetting', 1221 'name': 'DefaultNotificationsSetting',
1222 'type': 'int-enum', 1222 'type': 'int-enum',
1223 'items': [ 1223 'items': [
1224 { 1224 {
1225 'name': 'AllowNotifications', 1225 'name': 'AllowNotifications',
1226 'value': 1, 1226 'value': 1,
1227 'caption': '''Allow sites to show desktop notifications''' 1227 'caption': '''Allow sites to show desktop notifications'''
1228 }, 1228 },
1229 { 1229 {
1230 'name': 'BlockNotifications', 1230 'name': 'BlockNotifications',
1231 'value': 2, 1231 'value': 2,
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
1766 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''', 1766 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''',
1767 'text': '''Dynamic Policy Refresh''' 1767 'text': '''Dynamic Policy Refresh'''
1768 }, 1768 },
1769 'doc_deprecated': { 1769 'doc_deprecated': {
1770 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''', 1770 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''',
1771 'text': 'deprecated', 1771 'text': 'deprecated',
1772 } 1772 }
1773 }, 1773 },
1774 'placeholders': [], 1774 'placeholders': [],
1775 } 1775 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/content_settings/content_settings_notification_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698