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

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

Issue 5398001: Allow default desktop content settings to be managed via policy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove Cocoa UI-changes Created 10 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 | « chrome/app/policy/policy_templates.grd ('k') | chrome/browser/dom_ui/options/content_settings_handler.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 04e195c53233d752aec738da2afadbb37a9ebcbf..59a4e15f7abd0b53c9adb922c195235c978df5de 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -506,6 +506,105 @@
]
},
{
+ 'name': 'ContentSettings',
+ 'type': 'group',
+ 'policies': [
+ {
+ 'name': 'DefaultCookiesSetting',
+ 'type': 'enum',
+ 'items': [
+ {'name': 'AllowCookies', 'value': '0'},
+ {'name': 'BlockCookies', 'value': '1'},
+ ],
+ 'supported_on': ['chrome.*:10-'],
+ 'annotations': {
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': 0,
+ }
+ },
+ {
+ 'name': 'DefaultImagesSetting',
+ 'type': 'enum',
+ 'items': [
+ {'name': 'AllowImages', 'value': '0'},
+ {'name': 'BlockImages', 'value': '1'},
+ ],
+ 'supported_on': ['chrome.*:10-'],
+ 'annotations': {
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': 0,
+ }
+ },
+ {
+ 'name': 'DefaultJavaScriptSetting',
+ 'type': 'enum',
+ 'items': [
+ {'name': 'AllowJavaScript', 'value': '0'},
+ {'name': 'BlockJavaScript', 'value': '1'},
+ ],
+ 'supported_on': ['chrome.*:10-'],
+ 'annotations': {
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': 0,
+ }
+ },
+ {
+ 'name': 'DefaultPluginsSetting',
+ 'type': 'enum',
+ 'items': [
+ {'name': 'AllowPlugins', 'value': '0'},
+ {'name': 'BlockPlugins', 'value': '1'},
+ ],
+ 'supported_on': ['chrome.*:10-'],
+ 'annotations': {
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': 0,
+ }
+ },
+ {
+ 'name': 'DefaultPopupsSetting',
+ 'type': 'enum',
+ 'items': [
+ {'name': 'AllowPopups', 'value': '0'},
+ {'name': 'BlockPopups', 'value': '1'},
+ ],
+ 'supported_on': ['chrome.*:10-'],
+ 'annotations': {
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': 1,
+ }
+ },
+ {
+ 'name': 'DefaultNotificationSetting',
+ 'type': 'enum',
+ 'items': [
+ {'name': 'AllowNotifications', 'value': '0'},
+ {'name': 'BlockNotifications', 'value': '1'},
+ {'name': 'AskNotifications', 'value': '2'},
+ ],
+ 'supported_on': ['chrome.*:10-'],
+ 'annotations': {
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': 2,
+ }
+ },
+ {
+ 'name': 'DefaultGeolocationSetting',
+ 'type': 'enum',
+ 'items': [
+ {'name': 'AllowGeolocation', 'value': '0'},
+ {'name': 'BlockGeolocation', 'value': '1'},
+ {'name': 'AskGeolocation', 'value': '2'},
+ ],
+ 'supported_on': ['chrome.*:10-'],
+ 'annotations': {
+ 'features': {'dynamic_refresh': 1},
+ 'example_value': 0,
+ }
+ },
+ ]
+ },
+ {
'name': 'ChromeFrameRendererSettings',
'type': 'group',
'policies': [{
« no previous file with comments | « chrome/app/policy/policy_templates.grd ('k') | chrome/browser/dom_ui/options/content_settings_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698