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

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: Add an explanation of fullscreen mode. 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
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: 239 120 # For your editing convenience: highest ID currently used: 240
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 4105 matching lines...) Expand 10 before | Expand all | Expand 10 after
4236 4236
4237 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. 4237 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.
4238 4238
4239 When this policy is not set, the session length is not limited. 4239 When this policy is not set, the session length is not limited.
4240 4240
4241 If you set this policy, users cannot change or override it. 4241 If you set this policy, users cannot change or override it.
4242 4242
4243 The policy value should be specified in milliseconds. Values are clamped t o a range of 30 seconds to 24 hours.''', 4243 The policy value should be specified in milliseconds. Values are clamped t o a range of 30 seconds to 24 hours.''',
4244 }, 4244 },
4245 { 4245 {
4246 'name': 'FullscreenAllowed',
4247 'type': 'main',
4248 'schema': { 'type': 'boolean' },
4249 'supported_on': ['chrome.win:31-', 'chrome.linux:31-', 'chrome_os:31-'],
4250 'features': {
4251 'dynamic_refresh': True,
4252 'per_profile': True,
4253 },
4254 'example_value': True,
4255 'id': 240,
4256 'caption': '''Allow fullscreen mode''',
4257 'desc': '''Allow fullscreen mode.
4258
4259 If this policy is set to true or not configured, the user and apps with ap propriate permissions can enter fullscreen mode where all browser UI is hidden a nd only the browser content is visible.
4260
4261 If this policy is set to false, neither the user nor any apps can enter fu llscreen mode.''',
scheib 2013/08/22 23:57:26 user, apps, and extensions (presuming extensions a
bartfab (slow) 2013/08/23 11:54:21 Done. I verified that "chrome.windows.update();"
4262 },
4263 {
4246 'name': 'PowerManagement', 4264 'name': 'PowerManagement',
4247 'type': 'group', 4265 'type': 'group',
4248 'caption': '''Power mangement''', 4266 'caption': '''Power mangement''',
4249 'desc': '''Configure power manegement in <ph name="PRODUCT_OS_NAME">$2<ex> Google Chrome OS</ex></ph>. 4267 'desc': '''Configure power manegement in <ph name="PRODUCT_OS_NAME">$2<ex> Google Chrome OS</ex></ph>.
4250 4268
4251 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.''', 4269 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.''',
4252 'policies': [ 4270 'policies': [
4253 { 4271 {
4254 'name': 'ScreenDimDelayAC', 4272 'name': 'ScreenDimDelayAC',
4255 'type': 'int', 4273 'type': 'int',
(...skipping 1350 matching lines...) Expand 10 before | Expand all | Expand 10 after
5606 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''', 5624 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
5607 'text': 'deprecated', 5625 'text': 'deprecated',
5608 }, 5626 },
5609 'doc_recommended': { 5627 'doc_recommended': {
5610 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''', 5628 'desc': '''Text appended in parentheses next to the policies top-level con tainer to indicate that those policies are of the Recommended level''',
5611 'text': 'Default Settings (users can override)', 5629 'text': 'Default Settings (users can override)',
5612 }, 5630 },
5613 }, 5631 },
5614 'placeholders': [], 5632 'placeholders': [],
5615 } 5633 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698