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

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: Fix browser test compilation after rebase. Created 7 years, 3 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 This policy controls the availability of fullscreen mode in which all <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> UI is hidden and only web cont ent is visible.
4260
4261 If this policy is set to true or not not configured, the user, apps and ex tensions with appropriate permissions can enter fullscreen mode.
4262
4263 If this policy is set to false, neither the user nor any apps or extension s can enter fullscreen mode.
4264
4265 On all platforms except <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS< /ex></ph>, kiosk mode is unvailable when fullscreen mode is disabled.''',
4266 },
4267 {
4246 'name': 'PowerManagement', 4268 'name': 'PowerManagement',
4247 'type': 'group', 4269 'type': 'group',
4248 'caption': '''Power mangement''', 4270 'caption': '''Power mangement''',
4249 'desc': '''Configure power manegement in <ph name="PRODUCT_OS_NAME">$2<ex> Google Chrome OS</ex></ph>. 4271 'desc': '''Configure power manegement in <ph name="PRODUCT_OS_NAME">$2<ex> Google Chrome OS</ex></ph>.
4250 4272
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.''', 4273 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': [ 4274 'policies': [
4253 { 4275 {
4254 'name': 'ScreenDimDelayAC', 4276 'name': 'ScreenDimDelayAC',
4255 'type': 'int', 4277 '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''', 5628 'desc': '''Text appended in parentheses to the policy name to indicate tha t it has been deprecated''',
5607 'text': 'deprecated', 5629 'text': 'deprecated',
5608 }, 5630 },
5609 'doc_recommended': { 5631 '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''', 5632 '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)', 5633 'text': 'Default Settings (users can override)',
5612 }, 5634 },
5613 }, 5635 },
5614 'placeholders': [], 5636 'placeholders': [],
5615 } 5637 }
OLDNEW
« no previous file with comments | « apps/shell_window.cc ('k') | chrome/browser/chromeos/policy/device_local_account_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698