diff options
author | markusheintz@chromium.org <markusheintz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-25 13:15:42 +0000 |
---|---|---|
committer | markusheintz@chromium.org <markusheintz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-25 13:15:42 +0000 |
commit | 42e12cf4a37d0da3ace3f0ef284f2f442147015c (patch) | |
tree | 484d159f5ca31f33cf4453858d7eb5949e0b4680 | |
parent | 3bce0de26985eda4ef7dd1fa778689d436b6f264 (diff) | |
download | chromium_src-42e12cf4a37d0da3ace3f0ef284f2f442147015c.zip chromium_src-42e12cf4a37d0da3ace3f0ef284f2f442147015c.tar.gz chromium_src-42e12cf4a37d0da3ace3f0ef284f2f442147015c.tar.bz2 |
Add 'DeveloperToolsDisabled' policy to the policy template.
BUG=49600
TEST=manual
Review URL: http://codereview.chromium.org/4005008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63725 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/app/policy/policy_templates.grd | 9 | ||||
-rw-r--r-- | chrome/app/policy/policy_templates.json | 10 |
2 files changed, 19 insertions, 0 deletions
diff --git a/chrome/app/policy/policy_templates.grd b/chrome/app/policy/policy_templates.grd index ba673a0..a60c525 100644 --- a/chrome/app/policy/policy_templates.grd +++ b/chrome/app/policy/policy_templates.grd @@ -242,6 +242,15 @@ templates and will be translated for each locale. --> </message> + <message name="IDS_POLICY_DEVELOPERTOOLSDISABLED_CAPTION" desc="Caption of the 'developer tools disabled' policy."> + Disable Developer Tools + </message> + <message name="IDS_POLICY_DEVELOPERTOOLSDISABLED_DESC" desc="Description of the 'developer tools disabled' policy."> + Disables the Developer Tools and the JavaScript console. + + If you enable this setting, the Developer Tools can not be accessed and web-site elements can not be inspected anymore. Any keyboard shortcuts and any menu or context menu entries to open the Developer Tools or the JavaScript Console will be disabled. + </message> + <message name="IDS_POLICY_SAFEBROWSINGENABLED_CAPTION" desc="Caption of the 'safe browsing' policy."> Enable Safe Browsing </message> diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json index 90ce7bb..ad90ba6 100644 --- a/chrome/app/policy/policy_templates.json +++ b/chrome/app/policy/policy_templates.json @@ -337,6 +337,16 @@ } }, { + 'name': 'DeveloperToolsDisabled', + 'type': 'main', + 'annotations': { + 'platforms': ['linux', 'mac', 'win'], + 'products': ['chrome'], + 'features': {'dynamic_refresh': 1}, + 'example_value': False, + } + }, + { 'name': 'RestoreOnStartupGroup', 'type': 'group', 'policies': [{ |