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

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: 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
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 1459 matching lines...) Expand 10 before | Expand all | Expand 10 after
1470 1470
1471 "AudioCaptureAllowed": { 1471 "AudioCaptureAllowed": {
1472 "os": ["chromeos"], 1472 "os": ["chromeos"],
1473 "test_policy": { "AudioCaptureAllowed": true }, 1473 "test_policy": { "AudioCaptureAllowed": true },
1474 "pref_mappings": [ 1474 "pref_mappings": [
1475 { "pref": "hardware.audio_capture_enabled", 1475 { "pref": "hardware.audio_capture_enabled",
1476 "local_state": true } 1476 "local_state": true }
1477 ] 1477 ]
1478 }, 1478 },
1479 1479
1480 "ShelfAutoHideBehavior": {
1481 "os": ["chromeos"],
1482 "test_policy": { "ShelfAutoHideBehavior": "Always" },
1483 "pref_mappings": [
1484 { "pref": "auto_hide_behavior_local" }
1485 ]
1486 },
1487
1480 "----- Chrome OS device policies ---------------------------------------": {}, 1488 "----- Chrome OS device policies ---------------------------------------": {},
1481 1489
1482 "DevicePolicyRefreshRate": { 1490 "DevicePolicyRefreshRate": {
1483 "os": ["chromeos"], 1491 "os": ["chromeos"],
1484 "test_policy": { "DevicePolicyRefreshRate": 300000 }, 1492 "test_policy": { "DevicePolicyRefreshRate": 300000 },
1485 "pref_mappings": [ 1493 "pref_mappings": [
1486 { "pref": "policy.device_refresh_rate", 1494 { "pref": "policy.device_refresh_rate",
1487 "local_state": true } 1495 "local_state": true }
1488 ] 1496 ]
1489 }, 1497 },
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1592 1600
1593 "ChromeFrameContentTypes": { 1601 "ChromeFrameContentTypes": {
1594 }, 1602 },
1595 1603
1596 "GCFUserDataDir": { 1604 "GCFUserDataDir": {
1597 }, 1605 },
1598 1606
1599 "AdditionalLaunchParameters": { 1607 "AdditionalLaunchParameters": {
1600 } 1608 }
1601 } 1609 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698