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

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

Issue 10692110: screenshot disabling policy (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressed comments (2), hooking into GrabWindowSnapshot instead of ChromeShellDelegate, rebased on … Created 8 years, 5 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
Index: chrome/app/policy/policy_templates.json
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json
index fd9e75e450e0df62b37363249cb2661bdc16e562..d09e8f91503a0f1a7a6cc970ae316dc4e9d8e114 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -112,7 +112,7 @@
# persistent IDs for all fields (but not for groups!) are needed. These are
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
# because doing so would break the deployed wire format!
-# For your editing convenience: highest ID currently used: 149
+# For your editing convenience: highest ID currently used: 150
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -2740,6 +2740,22 @@
If this policy is left not set or blank, then any user can sign in to <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph>.''',
},
+ {
+ 'name': 'DisableScreenshots',
+ 'type': 'main',
+ 'supported_on': ['chrome_os:22-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ },
+ 'example_value': True,
+ 'id': 150,
+ 'caption': '''Disable taking screenshots''',
+ 'desc': '''Disables taking screenshots.
+
+ If enabled screenshots cannot be taken using keyboard shortcuts or extension APIs.
+
+ If disabled or not specified, taking screenshots is allowed.'''
+ },
],
'messages': {
# Messages that are not associated to any policies.
« no previous file with comments | « no previous file | chrome/browser/extensions/api/tabs/tabs.h » ('j') | chrome/browser/extensions/api/tabs/tabs.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698