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

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

Issue 22986010: Add policy for fullscreen mode; disallow fullscreen in public sessions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/chromeos/policy/device_local_account_browsertest.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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 # templates and documentation. The policy definition list that Chrome sees 110 # templates and documentation. The policy definition list that Chrome sees
111 # will include policies marked with 'future'. If a WIP policy isn't meant to 111 # will include policies marked with 'future'. If a WIP policy isn't meant to
112 # be seen by the policy providers either, the 'supported_on' key should be set 112 # be seen by the policy providers either, the 'supported_on' key should be set
113 # to an empty list. 113 # to an empty list.
114 # 114 #
115 # IDs: 115 # IDs:
116 # Since a Protocol Buffer definition is generated from this file, unique and 116 # Since a Protocol Buffer definition is generated from this file, unique and
117 # persistent IDs for all fields (but not for groups!) are needed. These are 117 # persistent IDs for all fields (but not for groups!) are needed. These are
118 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs, 118 # specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
119 # because doing so would break the deployed wire format! 119 # because doing so would break the deployed wire format!
120 # For your editing convenience: highest ID currently used: 236 120 # For your editing convenience: highest ID currently used: 237
121 # 121 #
122 # Placeholders: 122 # Placeholders:
123 # The following placeholder strings are automatically substituted: 123 # The following placeholder strings are automatically substituted:
124 # $1 -> Google Chrome / Chromium 124 # $1 -> Google Chrome / Chromium
125 # $2 -> Google Chrome OS / Chromium OS 125 # $2 -> Google Chrome OS / Chromium OS
126 # $3 -> Google Chrome Frame / Chromium Frame 126 # $3 -> Google Chrome Frame / Chromium Frame
127 # $6 is reserved for doc_writer 127 # $6 is reserved for doc_writer
128 # 128 #
129 # Device Policy: 129 # Device Policy:
130 # An additional flag device_only (optional, defaults to False) indicates 130 # An additional flag device_only (optional, defaults to False) indicates
(...skipping 4062 matching lines...) Expand 10 before | Expand all | Expand 10 after
4193 4193
4194 When this policy is set, it specifies the length of time after which a use r is automatically logged out, terminating the session. The user is informed abo ut the remaining time by a countdown timer shown in the system tray. 4194 When this policy is set, it specifies the length of time after which a use r is automatically logged out, terminating the session. The user is informed abo ut the remaining time by a countdown timer shown in the system tray.
4195 4195
4196 When this policy is not set, the session length is not limited. 4196 When this policy is not set, the session length is not limited.
4197 4197
4198 If you set this policy, users cannot change or override it. 4198 If you set this policy, users cannot change or override it.
4199 4199
4200 The policy value should be specified in milliseconds. Values are clamped t o a range of 30 seconds to 24 hours.''', 4200 The policy value should be specified in milliseconds. Values are clamped t o a range of 30 seconds to 24 hours.''',
4201 }, 4201 },
4202 { 4202 {
4203 'name': 'AllowFullscreen',
4204 'type': 'main',
4205 'schema': { 'type': 'boolean' },
4206 'supported_on': ['chrome.*:31-', 'chrome_os:31-'],
4207 'features': {
4208 'dynamic_refresh': True,
4209 'per_profile': True,
4210 },
4211 'example_value': True,
4212 'id': 237,
4213 'caption': '''Allow fullscreen mode''',
4214 'desc': '''Allow fullscreen mode.
Mattias Nissler (ping if slow) 2013/08/19 13:29:50 Can you add a quick summary of what fullscreen mod
bartfab (slow) 2013/08/22 20:21:18 Done.
4215
4216 If this policy is set to true or not configured, the user and apps/extensi ons with appropriate permissions can enter fullscreen mode.
scheib 2013/08/19 16:24:08 This patch is not limiting apps from fullscreen. I
bartfab (slow) 2013/08/22 20:21:18 Thanks for the pointers. Re apps: I extended the
4217
4218 If this policy is set to false, neither the user nor any apps/extensions c an enter fullscreen mode.''',
4219 },
4220 {
4203 'name': 'PowerManagement', 4221 'name': 'PowerManagement',
4204 'type': 'group', 4222 'type': 'group',
4205 'caption': '''Power mangement''', 4223 'caption': '''Power mangement''',
4206 'desc': '''Configure power manegement in <ph name="PRODUCT_OS_NAME">$2<ex> Google Chrome OS</ex></ph>. 4224 'desc': '''Configure power manegement in <ph name="PRODUCT_OS_NAME">$2<ex> Google Chrome OS</ex></ph>.
4207 4225
4208 These policies let you configure how <ph name="PRODUCT_OS_NAME">$2<ex>Goog le Chrome OS</ex></ph> behaves when the user remains idle for some amount of tim e.''', 4226 These policies let you configure how <ph name="PRODUCT_OS_NAME">$2<ex>Goog le Chrome OS</ex></ph> behaves when the user remains idle for some amount of tim e.''',
4209 'policies': [ 4227 'policies': [
4210 { 4228 {
4211 'name': 'ScreenDimDelayAC', 4229 'name': 'ScreenDimDelayAC',
4212 'type': 'int', 4230 'type': 'int',
(...skipping 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after
5545 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 5563 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
5546 'text': 'deprecated', 5564 'text': 'deprecated',
5547 }, 5565 },
5548 'doc_recommended': { 5566 'doc_recommended': {
5549 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 5567 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
5550 'text': 'Default Settings (users can override)', 5568 'text': 'Default Settings (users can override)',
5551 }, 5569 },
5552 }, 5570 },
5553 'placeholders': [], 5571 'placeholders': [],
5554 } 5572 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/device_local_account_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698