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

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

Issue 1217333002: Add a group policy for hardware acceleration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 # templates and documentation. The policy definition list that Chrome sees 116 # templates and documentation. The policy definition list that Chrome sees
117 # will include policies marked with 'future'. If a WIP policy isn't meant to 117 # will include policies marked with 'future'. If a WIP policy isn't meant to
118 # be seen by the policy providers either, the 'supported_on' key should be set 118 # be seen by the policy providers either, the 'supported_on' key should be set
119 # to an empty list. 119 # to an empty list.
120 # 120 #
121 # IDs: 121 # IDs:
122 # Since a Protocol Buffer definition is generated from this file, unique and 122 # Since a Protocol Buffer definition is generated from this file, unique and
123 # persistent IDs for all fields (but not for groups!) are needed. These are 123 # persistent IDs for all fields (but not for groups!) are needed. These are
124 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 124 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
125 # because doing so would break the deployed wire format! 125 # because doing so would break the deployed wire format!
126 # For your editing convenience: highest ID currently used: 303 126 # For your editing convenience: highest ID currently used: 304
127 # 127 #
128 # Placeholders: 128 # Placeholders:
129 # The following placeholder strings are automatically substituted: 129 # The following placeholder strings are automatically substituted:
130 # $1 -> Google Chrome / Chromium 130 # $1 -> Google Chrome / Chromium
131 # $2 -> Google Chrome OS / Chromium OS 131 # $2 -> Google Chrome OS / Chromium OS
132 # $3 -> Google Chrome Frame / Chromium Frame 132 # $3 -> Google Chrome Frame / Chromium Frame
133 # $6 is reserved for doc_writer 133 # $6 is reserved for doc_writer
134 # 134 #
135 # Device Policy: 135 # Device Policy:
136 # An additional flag device_only (optional, defaults to False) indicates 136 # An additional flag device_only (optional, defaults to False) indicates
(...skipping 3093 matching lines...) Expand 10 before | Expand all | Expand 10 after
3230 'dynamic_refresh': True, 3230 'dynamic_refresh': True,
3231 'per_profile': True, 3231 'per_profile': True,
3232 }, 3232 },
3233 'example_value': False, 3233 'example_value': False,
3234 'id': 55, 3234 'id': 55,
3235 'caption': '''Disable support for 3D graphics APIs''', 3235 'caption': '''Disable support for 3D graphics APIs''',
3236 'desc': '''Disable support for 3D graphics APIs. 3236 'desc': '''Disable support for 3D graphics APIs.
3237 3237
3238 Enabling this setting prevents web pages from accessing the graphics proce ssing unit (GPU). Specifically, web pages can not access the WebGL API and plugi ns can not use the Pepper 3D API. 3238 Enabling this setting prevents web pages from accessing the graphics proce ssing unit (GPU). Specifically, web pages can not access the WebGL API and plugi ns can not use the Pepper 3D API.
3239 3239
3240 Disabling this setting or leaving it not set potentially allows web pages to use the WebGL API and plugins to use the Pepper 3D API. The default settings of the browser may still require command line arguments to be passed in order to use these APIs.''', 3240 Disabling this setting or leaving it not set potentially allows web pages to use the WebGL API and plugins to use the Pepper 3D API. The default settings of the browser may still require command line arguments to be passed in order to use these APIs.
3241
3242 If HardwareAccelerationModeEnabled is set to false, Disable3DAPIs is ignor ed and it is equivalent to Disable3DAPIs being set to true.''',
3241 }, 3243 },
3242 { 3244 {
3243 'name': 'PolicyRefreshRate', 3245 'name': 'PolicyRefreshRate',
3244 'type': 'int', 3246 'type': 'int',
3245 'schema': { 'type': 'integer' }, 3247 'schema': { 'type': 'integer' },
3246 'supported_on': ['chrome_os:11-'], 3248 'supported_on': ['chrome_os:11-'],
3247 'features': { 3249 'features': {
3248 'dynamic_refresh': True, 3250 'dynamic_refresh': True,
3249 'per_profile': True, 3251 'per_profile': True,
3250 }, 3252 },
(...skipping 4156 matching lines...) Expand 10 before | Expand all | Expand 10 after
7407 'desc': '''Enable showing the welcome page on the first browser launch fol lowing OS upgrade. 7409 'desc': '''Enable showing the welcome page on the first browser launch fol lowing OS upgrade.
7408 7410
7409 If this policy is set to true or not configured, the browser will re-show the welcome page on the first launch following an OS upgrade. 7411 If this policy is set to true or not configured, the browser will re-show the welcome page on the first launch following an OS upgrade.
7410 7412
7411 If this policy is set to false, the browser will not re-show the welcome p age on the first launch following an OS upgrade.''', 7413 If this policy is set to false, the browser will not re-show the welcome p age on the first launch following an OS upgrade.''',
7412 'features': { 7414 'features': {
7413 'dynamic_refresh': False, 7415 'dynamic_refresh': False,
7414 'per_profile': False 7416 'per_profile': False
7415 }, 7417 },
7416 'example_value': False 7418 'example_value': False
7417 } 7419 },
7420 {
7421 'name': 'HardwareAccelerationModeEnabled',
7422 'type': 'main',
7423 'schema': { 'type': 'boolean' },
7424 'supported_on': ['chrome.*:45-'],
7425 'features': {
7426 'dynamic_refresh': False,
7427 'per_profile': False,
7428 },
7429 'example_value': True,
7430 'id': 304,
7431 'caption': '''Use hardware acceleration when available''',
7432 'desc': '''Use hardware acceleration when available.
7433
7434 If this policy is set to true or left unset, hardware acceleration will be enabled unless a certain GPU feature is blacklisted.
7435
7436 If this policy is set to false, hardware acceleration will be disabled.''' ,
7437 },
7418 ], 7438 ],
7419 'messages': { 7439 'messages': {
7420 # Messages that are not associated to any policies. 7440 # Messages that are not associated to any policies.
7421 'win_supported_winxpsp2': { 7441 'win_supported_winxpsp2': {
7422 '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:'.''', 7442 '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:'.''',
7423 'text': '''Microsoft Windows XP SP2 or later''' 7443 'text': '''Microsoft Windows XP SP2 or later'''
7424 }, 7444 },
7425 'mac_chrome_preferences': { 7445 'mac_chrome_preferences': {
7426 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''', 7446 'desc': '''A text indicating in Mac OS X Workgroup Manager, that currently the preferences of Chromium are being edited''',
7427 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es''' 7447 'text': '''<ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> preferenc es'''
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
7533 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 7553 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
7534 'text': 'Default Settings (users can override)', 7554 'text': 'Default Settings (users can override)',
7535 }, 7555 },
7536 'doc_complex_policies_on_windows': { 7556 'doc_complex_policies_on_windows': {
7537 'desc': '''Text pointing the user to a help article for complex policies o n Windows''', 7557 'desc': '''Text pointing the user to a help article for complex policies o n Windows''',
7538 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">http://www.chromium.org/administrators/complex-policies-on-windows<ex >http://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>''' , 7558 'text': '''encoded as a JSON string, for details see <ph name="COMPLEX_POL ICIES_URL">http://www.chromium.org/administrators/complex-policies-on-windows<ex >http://www.chromium.org/administrators/complex-policies-on-windows</ex></ph>''' ,
7539 }, 7559 },
7540 }, 7560 },
7541 'placeholders': [], 7561 'placeholders': [],
7542 } 7562 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698