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

Unified Diff: chrome/app/policy/policy_templates.json

Issue 11418114: Add policy for ash launcher auto-hide behavior (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 8 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/shelf_layout_manager.h ('k') | chrome/browser/policy/configuration_policy_handler_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/policy/policy_templates.json
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json
index c888dcbf4fc32656c048054ca149e245989281d5..7de3edae00f1e8ff5984be8f10091ee044655d8a 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -112,7 +112,7 @@
# persistent IDs for all fields (but not for groups!) are needed. These are
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
# because doing so would break the deployed wire format!
-# For your editing convenience: highest ID currently used: 165
+# For your editing convenience: highest ID currently used: 166
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -3320,6 +3320,46 @@
If this policy is left not set, the users will be able to change whether the built-in DNS client is used by editing chrome://flags or specifying a command-line flag.''',
},
+ {
+ 'name': 'ShelfAutoHideBehavior',
+ 'type': 'string-enum',
+ 'schema': {
+ 'type': 'string',
+ 'enum': [
+ 'Always',
+ 'Never'
+ ],
+ },
+ 'items': [
+ {
+ 'name': 'AlwaysAutoHideShelf',
+ 'value': 'Always',
+ 'caption': '''Always auto-hide the shelf''',
+ },
+ {
+ 'name': 'NeverAutoHideShelf',
+ 'value': 'Never',
+ 'caption': '''Never auto-hide the shelf''',
+ },
+ ],
+ 'supported_on': ['chrome_os:25-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'can_be_recommended': True,
+ },
+ 'example_value': 'Always',
+ 'id': 166,
+ 'caption': '''Control shelf auto-hiding''',
+ 'desc': '''Control auto-hiding of the <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex></ph> shelf.
+
+ If this policy is set to 'AlwaysAutoHideShelf', the shelf will always auto-hide.
+
+ If this policy is set to 'NeverAutoHideShelf', the shelf never auto-hide.
+
+ If you set this policy, users cannot change or override it.
+
+ If the policy is left not set, users can choose whether the shelf should auto-hide.''',
+ },
],
'messages': {
# Messages that are not associated to any policies.
« no previous file with comments | « ash/wm/shelf_layout_manager.h ('k') | chrome/browser/policy/configuration_policy_handler_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698