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

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

Issue 344693004: Add a policy to re-enable deprecated web platform features. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to ToT 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
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | tools/metrics/histograms/histograms.xml » ('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 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: 269 121 # For your editing convenience: highest ID currently used: 270
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 6351 matching lines...) Expand 10 before | Expand all | Expand 10 after
6483 } 6483 }
6484 } 6484 }
6485 } 6485 }
6486 6486
6487 If this policy is set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ ex></ph> will download and use the wallpaper image. 6487 If this policy is set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ ex></ph> will download and use the wallpaper image.
6488 6488
6489 If you set this policy, users cannot change or override it. 6489 If you set this policy, users cannot change or override it.
6490 6490
6491 If the policy is left not set, the user can choose an image to be shown on the desktop and on the login screen background.''', 6491 If the policy is left not set, the user can choose an image to be shown on the desktop and on the login screen background.''',
6492 }, 6492 },
6493 {
6494 'name': 'EnableDeprecatedWebPlatformFeatures',
6495 'type': 'list',
6496 'schema': {
6497 'type': 'array',
6498 'items': { 'type': 'string' },
6499 },
6500 'supported_on': ['chrome.*:37-', 'chrome_os:37-', 'android:37-'],
6501 'features': {
6502 'dynamic_refresh': True,
6503 'per_profile': True,
6504 },
6505 'example_value': [],
6506 'id': 270,
6507 'caption': '''Enable deprecated web platform features''',
6508 'desc': '''Specify a list of deprecated web platform features to re-enable .
6509
6510 This policy gives administrators the ability to re-enable deprecated web p latform features for a limited time. Features are identified by a string tag and the features corresponding to the tags included in the list specified by this p olicy will get re-enabled.
6511
6512 The following tags are currently defined:
6513 - ShowModalDialog_EffectiveUntil20150430
6514
6515 If this policy is left not set or the list is empty, all deprecated web pl atform features will remain disabled.''',
6516 },
6493 ], 6517 ],
6494 'messages': { 6518 'messages': {
6495 # Messages that are not associated to any policies. 6519 # Messages that are not associated to any policies.
6496 'win_supported_winxpsp2': { 6520 'win_supported_winxpsp2': {
6497 '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:'.''', 6521 '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:'.''',
6498 'text': '''Microsoft Windows XP SP2 or later''' 6522 'text': '''Microsoft Windows XP SP2 or later'''
6499 }, 6523 },
6500 'mac_chrome_preferences': { 6524 'mac_chrome_preferences': {
6501 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''', 6525 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chrome are being edited''',
6502 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 6526 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
6593 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 6617 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
6594 'text': 'deprecated', 6618 'text': 'deprecated',
6595 }, 6619 },
6596 'doc_recommended': { 6620 'doc_recommended': {
6597 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 6621 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
6598 'text': 'Default Settings (users can override)', 6622 'text': 'Default Settings (users can override)',
6599 }, 6623 },
6600 }, 6624 },
6601 'placeholders': [], 6625 'placeholders': [],
6602 } 6626 }
OLDNEW
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698