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

Side by Side Diff: chrome/test/data/policy/policy_test_cases.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/ash/launcher/launcher_context_menu.cc ('k') | no next file » | 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 "-- Template --": { 2 "-- Template --": {
3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below.", 3 "intro": "Top-level entries map a policy name to its test parameters, descri bed below.",
4 4
5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "Defaults to empty if not specified."], 5 "os": ["List of operating systems that support this policy. Valid values:", "win", "linux", "mac", "chromeos", "Defaults to empty if not specified."],
6 "official_only": "Whether this policy exists in official builds only. Defaul ts to |false| if not specified.", 6 "official_only": "Whether this policy exists in official builds only. Defaul ts to |false| if not specified.",
7 "can_be_recommended": "Whether a recommended value may be set for the policy . Defaults to |false| if not specified.", 7 "can_be_recommended": "Whether a recommended value may be set for the policy . Defaults to |false| if not specified.",
8 "test_policy": "A policy dictionary that should make the preferences affecte d by this policy become policy-controlled. Usually just sets the current policy. Defaults to an empty dictionary if not specified.", 8 "test_policy": "A policy dictionary that should make the preferences affecte d by this policy become policy-controlled. Usually just sets the current policy. Defaults to an empty dictionary if not specified.",
9 "note": "If the policy affects any preferences, the following array should b e specified with one entry per such preference.", 9 "note": "If the policy affects any preferences, the following array should b e specified with one entry per such preference.",
10 "pref_mappings": [ 10 "pref_mappings": [
(...skipping 1477 matching lines...) Expand 10 before | Expand all | Expand 10 after
1488 }, 1488 },
1489 1489
1490 "ShowLogoutButtonInTray": { 1490 "ShowLogoutButtonInTray": {
1491 "os": ["chromeos"], 1491 "os": ["chromeos"],
1492 "test_policy": { "ShowLogoutButtonInTray": true }, 1492 "test_policy": { "ShowLogoutButtonInTray": true },
1493 "pref_mappings": [ 1493 "pref_mappings": [
1494 { "pref": "show_logout_button_in_tray" } 1494 { "pref": "show_logout_button_in_tray" }
1495 ] 1495 ]
1496 }, 1496 },
1497 1497
1498 "ShelfAutoHideBehavior": {
1499 "os": ["chromeos"],
1500 "test_policy": { "ShelfAutoHideBehavior": "Always" },
1501 "pref_mappings": [
1502 { "pref": "auto_hide_behavior_local" }
1503 ]
1504 },
1505
1498 "----- Chrome OS device policies ---------------------------------------": {}, 1506 "----- Chrome OS device policies ---------------------------------------": {},
1499 1507
1500 "DevicePolicyRefreshRate": { 1508 "DevicePolicyRefreshRate": {
1501 "os": ["chromeos"], 1509 "os": ["chromeos"],
1502 "test_policy": { "DevicePolicyRefreshRate": 300000 }, 1510 "test_policy": { "DevicePolicyRefreshRate": 300000 },
1503 "pref_mappings": [ 1511 "pref_mappings": [
1504 { "pref": "policy.device_refresh_rate", 1512 { "pref": "policy.device_refresh_rate",
1505 "local_state": true } 1513 "local_state": true }
1506 ] 1514 ]
1507 }, 1515 },
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1610 1618
1611 "ChromeFrameContentTypes": { 1619 "ChromeFrameContentTypes": {
1612 }, 1620 },
1613 1621
1614 "GCFUserDataDir": { 1622 "GCFUserDataDir": {
1615 }, 1623 },
1616 1624
1617 "AdditionalLaunchParameters": { 1625 "AdditionalLaunchParameters": {
1618 } 1626 }
1619 } 1627 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/launcher/launcher_context_menu.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698