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

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

Issue 6542048: Add content_settings::PolicyProvider and a set of new policies to managed content settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/content_settings/content_settings_base_provider.h » ('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 a832000bbfe910c453e1dc524356547aba83ae1b..fa2c1c57836ca1c3c72bb7d780392d7d89c706b1 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -1110,6 +1110,116 @@
'caption': '''Default geolocation setting''',
'desc': '''Allows you to set whether websites are allowed to track the users' physical location. Tracking the users' physical location can be allowed by default, denied by default or the user can be asked everytime a website requests the pysical location.''',
},
+ {
+ 'name': 'CookiesAllowedForUrls',
+ 'type': 'list',
+ 'supported_on': ['chrome_frame:11-'],
gfeher 2011/02/28 16:08:23 Are these chrome_frame only changes? If not, then
markusheintz_ 2011/02/28 16:32:29 Done.
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'id': 77,
+ 'caption': '''Allow cookies on these sites''',
+ 'desc': '''Allows you to set a list of url patterns, that specify sites which are allowed to set cookies.''',
+ },
+ {
+ 'name': 'CookiesBlockedForUrls',
+ 'type': 'list',
+ 'supported_on': ['chrome_frame:11-'],
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'id': 67,
+ 'caption': '''Block cookies on these sites''',
+ 'desc': '''Allows you to set a list of url patterns, that specify sites which are not allowed to set cookies.''',
+ },
+ {
+ 'name': 'CookiesSessionOnlyForUrls',
+ 'type': 'list',
+ 'supported_on': ['chrome_frame:11-'],
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'id': 68,
+ 'caption': '''Allow session only cookies on these sites''',
+ 'desc': '''Allows you to set a list of url patterns, that specify sites which are allowed to set session only cookies.''',
+ },
+ {
+ 'name': 'ImagesAllowedForUrls',
+ 'type': 'list',
+ 'supported_on': ['chrome_frame:11-'],
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'id': 69,
+ 'caption': '''Allow images on these sites''',
+ 'desc': '''Allows you to set a list of url patterns, that specify sites which are allowed to display images.''',
+ },
+ {
+ 'name': 'ImagesBlockedForUrls',
+ 'type': 'list',
+ 'supported_on': ['chrome_frame:11-'],
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'id': 70,
+ 'caption': '''Block images on these sites''',
+ 'desc': '''Allows you to set a list of url patterns, that specify sites which are not allowed to display images.''',
+ },
+ {
+ 'name': 'JavaScriptAllowedForUrls',
+ 'type': 'list',
+ 'supported_on': ['chrome_frame:11-'],
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'id': 71,
+ 'caption': '''Allow JavaScript on these sites''',
+ 'desc': '''Allows you to set a list of url patterns, that specify sites which are allowed to run JavaScript.''',
+ },
+ {
+ 'name': 'JavaScriptBlockedForUrls',
+ 'type': 'list',
+ 'supported_on': ['chrome_frame:11-'],
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'id': 72,
+ 'caption': '''Block JavaScript on these sites''',
+ 'desc': '''Allows you to set a list of url patterns, that specify sites which are not allowed to run JavaScript.''',
+ },
+ {
+ 'name': 'PluginsAllowedForUrls',
+ 'type': 'list',
+ 'supported_on': ['chrome_frame:11-'],
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'id': 73,
+ 'caption': '''Allow plugins on these sites''',
+ 'desc': '''Allows you to set a list of url patterns, that specify sites which are allowed to run plugins.''',
+ },
+ {
+ 'name': 'PluginsBlockedForUrls',
+ 'type': 'list',
+ 'supported_on': ['chrome_frame:11-'],
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'id': 74,
+ 'caption': '''Block plugins on these sites''',
+ 'desc': '''Allows you to set a list of url patterns, that specify sites which are not allowed to run plugins.''',
+ },
+ {
+ 'name': 'PopupsAllowedForUrls',
+ 'type': 'list',
+ 'supported_on': ['chrome_frame:11-'],
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'id': 75,
+ 'caption': '''Allow popups on these sites''',
+ 'desc': '''Allows you to set a list of url patterns, that specify sites which are allowed to open popups.''',
+ },
+ {
+ 'name': 'PopupsBlockedForUrls',
+ 'type': 'list',
+ 'supported_on': ['chrome_frame:11-'],
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': ['http://www.example.com', '[*.]example.edu'],
+ 'id': 76,
+ 'caption': '''Block popups on these sites''',
+ 'desc': '''Allows you to set a list of url patterns, that specify sites which are not allowed to open popups.''',
+ }
],
},
{
« no previous file with comments | « no previous file | chrome/browser/content_settings/content_settings_base_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698