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

Side by Side Diff: chrome/test/data/policy/policy_test_cases.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, 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 "-- 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 1890 matching lines...) Expand 10 before | Expand all | Expand 10 after
1901 1901
1902 "ContentPackManualBehaviorHosts": { 1902 "ContentPackManualBehaviorHosts": {
1903 }, 1903 },
1904 1904
1905 "ContentPackManualBehaviorURLs": { 1905 "ContentPackManualBehaviorURLs": {
1906 }, 1906 },
1907 1907
1908 "ManagedBookmarks": { 1908 "ManagedBookmarks": {
1909 }, 1909 },
1910 1910
1911 "FullscreenAllowed": {
1912 "os": ["win", "linux", "chromeos"],
1913 "test_policy": { "FullscreenAllowed": false },
1914 "pref_mappings": [
1915 { "pref": "fullscreen.allowed" },
1916 { "pref": "apps.fullscreen.allowed" }
1917 ]
1918 },
1919
1911 "----- Chrome OS device policies ---------------------------------------": {}, 1920 "----- Chrome OS device policies ---------------------------------------": {},
1912 1921
1913 "DevicePolicyRefreshRate": { 1922 "DevicePolicyRefreshRate": {
1914 "os": ["chromeos"], 1923 "os": ["chromeos"],
1915 "test_policy": { "DevicePolicyRefreshRate": 300000 }, 1924 "test_policy": { "DevicePolicyRefreshRate": 300000 },
1916 "pref_mappings": [ 1925 "pref_mappings": [
1917 { "pref": "policy.device_refresh_rate", 1926 { "pref": "policy.device_refresh_rate",
1918 "local_state": true } 1927 "local_state": true }
1919 ] 1928 ]
1920 }, 1929 },
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
2086 2095
2087 "AdditionalLaunchParameters": { 2096 "AdditionalLaunchParameters": {
2088 }, 2097 },
2089 2098
2090 "SuppressChromeFrameTurndownPrompt": { 2099 "SuppressChromeFrameTurndownPrompt": {
2091 }, 2100 },
2092 2101
2093 "SkipMetadataCheck": { 2102 "SkipMetadataCheck": {
2094 } 2103 }
2095 } 2104 }
OLDNEW
« chrome/browser/ui/fullscreen/fullscreen_controller.cc ('K') | « chrome/common/pref_names.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698