summaryrefslogtreecommitdiffstats
path: root/chrome/app/policy/policy_templates.json
Commit message (Collapse)AuthorAgeFilesLines
* Added DisabledSchemes policy.joaodasilva@chromium.org2011-04-181-1/+14
| | | | | | | | | | | | | | | | | | This is a list of strings. Any protocol scheme listed in this policy is disabled, and URLs using that scheme won't load (either from the Omnibar, links, bookmarks, or when requested from the renderer to the browser). Also introduced ListPrefMember, to track a ListValue preference. "Virtual" or "pseudo" protocol schemes such as "about" and "view-source" are also handled. BUG=57477 TEST=unit_tests, use a policy to disable specific schemes (e.g. "file", "ftp") Review URL: http://codereview.chromium.org/6712065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82013 0039d316-1c4b-4281-b951-d872f2087c98
* Policy to manage file selection dialogs.pastarmovj@chromium.org2011-04-151-1/+17
| | | | | | | | | | | | | | | | Adds a policy to allow/disallow file selection dialogs from wherever they can be launched (Save Link As, Import Bookmarks, etc.). In case file selection dialogs are disallowed by policy a InfoBar informs the user whenever he triggers a file selection dialog. BUG=73174 TEST=Manually set the policy and check if the corresponding file selection are not shown and the InfoBar appears. Review URL: http://codereview.chromium.org/6814011 Patch from Sandro Feuz <sfeuz@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81804 0039d316-1c4b-4281-b951-d872f2087c98
* Added EditBookmarksEnabled policy.joaodasilva@chromium.org2011-04-121-1/+15
| | | | | | | | | | | This just adds the policy and the preference, and some utility functions. BUG=49604 TEST=None Review URL: http://codereview.chromium.org/6825071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81246 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented policy for disabling the bookmark bar.pastarmovj@chromium.org2011-04-111-1/+17
| | | | | | | | | BUG=49604 TEST=unit_tests ConfigurationPolicy* Review URL: http://codereview.chromium.org/6718039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81102 0039d316-1c4b-4281-b951-d872f2087c98
* Change text of DNS prefetch option to Network prediction option.cbentzel@chromium.org2011-04-071-2/+2
| | | | | | | | | | | | | | | | | | The "DNS Prefetch" option currently controls DNS prefetching, TCP preconnection, and prerendering of pages. This modifies the text string to replace this, and changes variable names to reflect it. The underlying preference name remains the same so settings are not lost. However, I changed the policy name to make name changes consistent. If this does not migrate well, I will retain the old policy name. BUG=77783 TEST=Existing tests, make sure text is correct in browser. Review URL: http://codereview.chromium.org/6793045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80768 0039d316-1c4b-4281-b951-d872f2087c98
* Correction in the caption and label of a policy in the policy template.sunandt@google.com2011-03-311-2/+2
| | | | | | | | BUG=77826 TEST=none Review URL: http://codereview.chromium.org/6749042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80095 0039d316-1c4b-4281-b951-d872f2087c98
* AllowOutdatedPlugins policy.joaodasilva@chromium.org2011-03-311-1/+17
| | | | | | | | | | BUG=74435 TEST=unit_tests, set the AllowOutdatedPlugins policy and open a page running an outdated plugin. Review URL: http://codereview.chromium.org/6676113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79964 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed the wording of the "Actions on Startup" policy.pastarmovj@chromium.org2011-03-281-1/+3
| | | | | | | | | BUG=67190 TEST=The admins should stop complaining that when they disable this setting the users are still able to change it. Review URL: http://codereview.chromium.org/6735011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79547 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed a typo in the Default Search Provider policy.pastarmovj@chromium.org2011-03-281-1/+1
| | | | | | | | | | | s/diable/disable/ BUG=77109 TEST=None Review URL: http://codereview.chromium.org/6759004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79534 0039d316-1c4b-4281-b951-d872f2087c98
* EnableTranslate policy.joaodasilva@chromium.org2011-03-231-1/+17
| | | | | | | | | BUG=59767 TEST=Set the policy, and users can't change the Translate preference anymore. Review URL: http://codereview.chromium.org/6722024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79138 0039d316-1c4b-4281-b951-d872f2087c98
* Add ChromeOS as product name to the policy template generatorgfeher@chromium.org2011-03-161-24/+16
| | | | | | | | | | | And clean up other obsolate placeholders. BUG=none TEST=python:PolicyTemplateGenearator.* Review URL: http://codereview.chromium.org/6341007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78357 0039d316-1c4b-4281-b951-d872f2087c98
* Add ChromeOS supported_on flags to policy_templates.jsongfeher@chromium.org2011-03-071-51/+54
| | | | | | | | | BUG=73640 TEST=none Review URL: http://codereview.chromium.org/6594046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77129 0039d316-1c4b-4281-b951-d872f2087c98
* Added EnabledPlugins policy.pastarmovj@chromium.org2011-03-011-2/+36
| | | | | | | | | | | | | | | | | | | | | | | | | The EnabledPlugins policy is linked to the plugins.plugins_whitelist preference. Renamed some methods to clarify that policies can both disable and enable plugins. Updated plugins.html (about:plugins) to display policy-enabled plugins. Lots of tweaks in PluginGroup and PluginList (webkit/plugins/npapi) to preserve the user's preference across policy changes. Removing a policy on a plugin restores the state that the user had configured before. TODO: The interaction of "EnabledPlugins" and "DisabledPlugins" when overlapping isn't very well addressed yet. Currently, any plugin matching the "disabled" list will be disabled, regardless of matching or not the "enabled" list. Small fixes: Added missing "noPlugins" string to the jstemplate strings for plugins.html. BUG=55022 TEST=Create a policy enabling a specific plugin and check about:plugins. Also test_shell_test PluginGroupTest.ManagedByPolicy, and unit_tests. Review URL: http://codereview.chromium.org/6469068 Patch from Joao da Silva <joaodasilva@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76373 0039d316-1c4b-4281-b951-d872f2087c98
* Add content_settings::PolicyProvider and a set of new policies to managed ↵markusheintz@chromium.org2011-02-281-1/+111
| | | | | | | | | | | content settings. BUG=63656,63182 TEST=content_settings_policy_provider_unittest.cc,host_content_settings_map_unittests.cc Review URL: http://codereview.chromium.org/6542048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76224 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented policy to disable plugin finder.pastarmovj@chromium.org2011-02-251-1/+12
| | | | | | | | | BUG=49597 TEST=Set the policy to true and the default plugin should not offer to install missing plugins. Review URL: http://codereview.chromium.org/6475011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76043 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented a policy to match the ClearSiteDataOnExit pref.pastarmovj@chromium.org2011-02-181-1/+14
| | | | | | | | | | | | | When set this policy overrides the user settings for that pref. No UI changes have been made to ContentSettings.xib only wired the enabled flag to the managed property of the underlaying pref. BUG=59775 TEST=Manually set the policy and check if the corresponding UI element is disabled and correspond to the policy state. Review URL: http://codereview.chromium.org/6534021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75383 0039d316-1c4b-4281-b951-d872f2087c98
* New policy protobuf protocol.jkummerow@chromium.org2011-02-171-13/+85
| | | | | | | | | | | | | | | (Third attempt to land http://codereview.chromium.org/6409040/ -- now without memory leaks) - cloud_policy.proto autogenerated from policy_templates.json - C++ method decoding the protobuf also autogenerated from policy_templates.json - changed policy fetching mechanism to fetch new-style policy protobufs BUG=68309, chromium-os:11253, chromium-os:11255 TEST=CloudPolicyCacheTest.*; also manual test against python testserver Review URL: http://codereview.chromium.org/6532019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75259 0039d316-1c4b-4281-b951-d872f2087c98
* Implement the DownloadDirectory policy.pastarmovj@chromium.org2011-02-171-0/+12
| | | | | | | | | | | | | | | This policy allows for locking the user to download files only to the specified location. When the policy is set the UI elements should be inactive and the save dialog should never appear. Changes in the Preferences.xib file only wire the enabled status of the download location and save prompt checkbox elements to a variable that tracks the managed state of the DefaultDownloadDir pref. No UI elements were harmed in this change. BUG=59768 TEST=All old download manager tests shouldn't break. UI should behave correctly when policy is set. Review URL: http://codereview.chromium.org/6525054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75255 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 75106 - New policy protobuf protocol.jkummerow@chromium.org2011-02-161-84/+13
| | | | | | | | | | | | | | | | | (Second attempt to land http://codereview.chromium.org/6409040/) - cloud_policy.proto autogenerated from policy_templats.json - C++ method decoding the protobuf also autogenerated from policy_templates.json - changed policy fetching mechanism to fetch new-style policy protobufs BUG=68309, chromium-os:11253, chromium-os:11255 TEST=CloudPolicyCacheTest.*; also manual test against python testserver Review URL: http://codereview.chromium.org/6523058 TBR=jkummerow@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75115 0039d316-1c4b-4281-b951-d872f2087c98
* New policy protobuf protocol.jkummerow@chromium.org2011-02-161-13/+84
| | | | | | | | | | | | | | | (Second attempt to land http://codereview.chromium.org/6409040/) - cloud_policy.proto autogenerated from policy_templats.json - C++ method decoding the protobuf also autogenerated from policy_templates.json - changed policy fetching mechanism to fetch new-style policy protobufs BUG=68309, chromium-os:11253, chromium-os:11255 TEST=CloudPolicyCacheTest.*; also manual test against python testserver Review URL: http://codereview.chromium.org/6523058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75106 0039d316-1c4b-4281-b951-d872f2087c98
* Forgotten to extend the 'supported_on' list of UserDataDir for mac.pastarmovj@chromium.org2011-02-161-2/+2
| | | | | | | | | BUG=49601 TEST=None Review URL: http://codereview.chromium.org/6526045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75103 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 75082 - New policy protobuf protocol.jkummerow@chromium.org2011-02-161-84/+13
| | | | | | | | | | | | | | | - cloud_policy.proto autogenerated from policy_templates.json - C++ method decoding the protobuf autogenerated from policy_templates.json - changed policy fetching mechanism to fetch new-style policy protobufs BUG=68309, chromium-os:11253, chromium-os:11255 TEST=CloudPolicyCacheTest.*; also manual test against python testserver Review URL: http://codereview.chromium.org/6409040 TBR=jkummerow@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75084 0039d316-1c4b-4281-b951-d872f2087c98
* New policy protobuf protocol.jkummerow@chromium.org2011-02-161-13/+84
| | | | | | | | | | | | | - cloud_policy.proto autogenerated from policy_templates.json - C++ method decoding the protobuf autogenerated from policy_templates.json - changed policy fetching mechanism to fetch new-style policy protobufs BUG=68309, chromium-os:11253, chromium-os:11255 TEST=CloudPolicyCacheTest.*; also manual test against python testserver Review URL: http://codereview.chromium.org/6409040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75082 0039d316-1c4b-4281-b951-d872f2087c98
* Augment the comment for blacklisted extensions to make it clear they will ↵finnur@chromium.org2011-02-151-1/+1
| | | | | | | | | | | get removed if already installed. BUG=72445 TEST=None Review URL: http://codereview.chromium.org/6474036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74929 0039d316-1c4b-4281-b951-d872f2087c98
* This policy is directly read from the registry instead through the ↵pastarmovj@chromium.org2011-02-031-0/+12
| | | | | | | | | | | | | local_store because it is used much earlier in the life cycle of all chrome processes and local_store is only available in the browser process and loaded much later. The option is implemented with minimal intrusion on the existing start-up process and only overrides any command line parameter or default setting that might be in place. BUG=49601 TEST=Manual. Set the policy in windows and it should be equivalent to using the --user-data-dir option. Review URL: http://codereview.chromium.org/6286048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73623 0039d316-1c4b-4281-b951-d872f2087c98
* Cloud print proxy enablement under policy control.scottbyer@chromium.org2011-02-021-0/+14
| | | | | | | | | | | | Implement policy control of the cloud print policy, in just the UI part for now (in the service requires some refactoring). BUG=59769 TEST=Change the policy and verifying that the UI in Under the Hood gets disabled or enabled properly, with the policy notification at the top. Review URL: http://codereview.chromium.org/6344013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73523 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the ability for instant to be controlled by group policy.sky@chromium.org2011-02-021-0/+15
| | | | | | | | | BUG=64922 TEST=none Review URL: http://codereview.chromium.org/6312070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73483 0039d316-1c4b-4281-b951-d872f2087c98
* Introduced a new policy DefaultBrowserSettingEnabled.pastarmovj@chromium.org2011-02-011-0/+16
| | | | | | | | | | | | | | When set it either enforces Chrome's registration as default browser, or prevents the user from seeing the reminder about Chrome not being default as well as disabled the UI for setting it as default browser. When not set the old behavior is observed. BUG=65290 TEST=Manual. Set the policy and the UI should be disabled. If set to true the browser should become default browser immediately. Review URL: http://codereview.chromium.org/6348021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73280 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 72784danno@chromium.org2011-01-281-0/+13
| | | | | | | | | | | This is the first step to being able to re-constitute policy from a non-generic protobuf in a policy request in a fully automated way (i.e. the code for the process can be generated). The non-generic protobuf is required for automatic merging of policy on the server-side. BUG=68309 TEST=existing policy/provider tests Review URL: http://codereview.chromium.org/6357021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72956 0039d316-1c4b-4281-b951-d872f2087c98
* Implement pref policy for disabling incognito mode.finnur@chromium.org2011-01-271-0/+13
| | | | | | | | | | | 2nd attempt with shutdown crash fix (only difference is in browser.cc). BUG=66413 TEST=None Review URL: http://codereview.chromium.org/6279012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72791 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 72784 - Policy: generate boilerplate policy type and constant code.danno@chromium.org2011-01-271-13/+0
| | | | | | | | | | | | | This is the first step to being able to re-constitute policy from a non-generic protobuf in a policy request in a fully automated way (i.e. the code for the process can be generated). The non-generic protobuf is required for automatic merging of policy on the server-side. BUG=68309 TEST=existing policy/provider tests Review URL: http://codereview.chromium.org/6002015 TBR=danno@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72785 0039d316-1c4b-4281-b951-d872f2087c98
* Policy: generate boilerplate policy type and constant code.danno@chromium.org2011-01-271-0/+13
| | | | | | | | | | | This is the first step to being able to re-constitute policy from a non-generic protobuf in a policy request in a fully automated way (i.e. the code for the process can be generated). The non-generic protobuf is required for automatic merging of policy on the server-side. BUG=68309 TEST=existing policy/provider tests Review URL: http://codereview.chromium.org/6002015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72784 0039d316-1c4b-4281-b951-d872f2087c98
* Fix typo in DisableCNAMELookup policy descriptionjkummerow@chromium.org2011-01-261-1/+1
| | | | | | | | | BUG=66869 TEST=None Review URL: http://codereview.chromium.org/6274013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72643 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 72624 (due to crashes) - Implement pref policy for disabling ↵finnur@chromium.org2011-01-261-13/+0
| | | | | | | | | | | | | | incognito mode. BUG=66413 TEST=None Review URL: http://codereview.chromium.org/6313008 TBR=finnur@chromium.org Review URL: http://codereview.chromium.org/6399001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72630 0039d316-1c4b-4281-b951-d872f2087c98
* Implement pref policy for disabling incognito mode.finnur@chromium.org2011-01-261-0/+13
| | | | | | | | | BUG=66413 TEST=None Review URL: http://codereview.chromium.org/6313008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72624 0039d316-1c4b-4281-b951-d872f2087c98
* Remove newline from placeholder in policy_templates.jsongfeher@chromium.org2011-01-241-2/+1
| | | | | | | | | | | | | This fixes a 'Conflicting declarations of PRODUCT_NAME within message' crash when policy_templates.xmb is generated. TBR=joi BUG=none TEST=none Review URL: http://codereview.chromium.org/6366009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72317 0039d316-1c4b-4281-b951-d872f2087c98
* Allow policy refresh rate to be configured through policy.mnissler@chromium.org2011-01-191-0/+11
| | | | | | | | | BUG=64877 TEST=Existing unittests; manual testing. Review URL: http://codereview.chromium.org/6310012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71790 0039d316-1c4b-4281-b951-d872f2087c98
* Syntax checker for policy_templates.jsonjkummerow@chromium.org2011-01-191-1/+1
| | | | | | | | | | | To make sure that all policy definitions match the expected format. The checker is called as a presubmit hook, and can also be invoked manually. Run it without any parameters (or with --help) to get usage information. BUG=69527 TEST=manual: checker reports no errors for correct policy definitions, checker complains for malformed policy definitions, checker is invoked as presubmit hook when policy_templates.json has been changed Review URL: http://codereview.chromium.org/6299001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71778 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 71656 - Allow policy refresh rate to be configured through policymnissler@chromium.org2011-01-181-11/+0
| | | | | | | | BUG=none TEST=none TBR=mnissler git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71663 0039d316-1c4b-4281-b951-d872f2087c98
* Allow policy refresh rate to be configured through policy.mnissler@chromium.org2011-01-181-0/+11
| | | | | | | | | BUG=64877 TEST=Existing unittests; manual testing. Review URL: http://codereview.chromium.org/6079012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71656 0039d316-1c4b-4281-b951-d872f2087c98
* Remove 'annotations' dictionary in policy_definitions.json.jkummerow@chromium.org2011-01-181-314/+202
| | | | | | | | | | | The former members of the dict are now included directly in the policy definitions. BUG=64898 TEST=existing unit tests in tools/grit/grit/format/policy_templates/ Review URL: http://codereview.chromium.org/6360002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71635 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up threading model of external extension providersgfeher@chromium.org2011-01-141-1/+1
| | | | | | | | | | | Move blocking IO of loading the lists of external extensions from the UI thread to the FILE thread. Remove the ExternalPolicyExtensionProvider-specific parts from ExtensionsService. Side-effects: reduce the number of PostTask operations from 9 to 4. Trigger uninstall of external extensions immediately after they are removed from a policy. BUG=65107,63667 TEST=ExtensionManagementTest.ExternalPolicyRefresh for the new functionality, lot of other extension tests are updated Review URL: http://codereview.chromium.org/5742008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71427 0039d316-1c4b-4281-b951-d872f2087c98
* Integrate user strings into the JSON policy template filegfeher@chromium.org2011-01-141-192/+743
| | | | | | | | | | | The new concept is the following: policy_templates.json contains all the data necessary to generate templates: policy names, English captions, descriptions, etc. This gets translated the following GRIT gatherer: policy_json.py. The text of the translated JSON file is then picked up, parsed, and passed to the writers by template_formatter.py. BUG=64898 TEST=PolicyJsonUnittest.* Review URL: http://codereview.chromium.org/6134006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71421 0039d316-1c4b-4281-b951-d872f2087c98
* Support int-typed policies in policy template generatorjkummerow@chromium.org2011-01-131-0/+1
| | | | | | | | | | | Also fix bug 69054 (reg_writer erroneously outputs integers as decimal values). BUG=68843, 69054 TEST=tools/grit/grit/format/policy_templates/*_unittest.py Review URL: http://codereview.chromium.org/6176005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71316 0039d316-1c4b-4281-b951-d872f2087c98
* Policy: Add ProxyMode and deprecate ProxyServerMode.danno@chromium.org2011-01-131-38/+58
| | | | | | | | | | | | | - Add support for 'deprecated' attribute in template generator - Add support for both int- and string- based enums in the template generator - Add logic to handle ProxyMode and fall back to ProxyServerMode BUG=68134 TEST=ConfigurationPolicyPrefStore*, new policy template generator tests Review URL: http://codereview.chromium.org/5958014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71315 0039d316-1c4b-4281-b951-d872f2087c98
* Makes the instant url managed by group policy.sky@chromium.org2011-01-121-0/+9
| | | | | | | | | BUG=64870 64922 TEST=none Review URL: http://codereview.chromium.org/6174002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71172 0039d316-1c4b-4281-b951-d872f2087c98
* Fix setting a proxy configuration via policy that specifies a .pac file.danno@chromium.org2010-12-291-3/+0
| | | | | | | | | BUG=68099 TEST=manual testing of proxy policy Review URL: http://codereview.chromium.org/6021010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70259 0039d316-1c4b-4281-b951-d872f2087c98
* (Re-landing http://codereview.chromium.org/5991003 after Chromium OSkbr@chromium.org2010-12-211-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | build fix to browser_render_process_host.cc) Added group policy for disabling all client-side 3D APIs in Chromium (in particular, WebGL and Pepper 3D). This has been hooked up through a new command-line argument (--disable-3d-apis) orthogonal to the existing ones, so that further changes to those command line arguments will not accidentally regress the group policy support. Tested in the following ways: - Verified that --disable-3d-apis disables WebGL and Pepper 3D support on Mac OS X. - Verified that specifying the Disable3DAPIs policy via a JSON file disables WebGL on Linux. - Ran unit_tests and verified that there were no failures introduced. BUG=64806 TEST=ConfigurationPolicyPrefStoreBooleanTest Review URL: http://codereview.chromium.org/6045003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69791 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69753 - Added group policy for disabling all client-side 3D APIs in ↵chase@chromium.org2010-12-201-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Chromium (in particular, WebGL and Pepper 3D). This has been hooked up through a new command-line argument (--disable-3d-apis) orthogonal to the existing ones, so that further changes to those command line arguments will not accidentally regress the group policy support. Tested in the following ways: - Verified that --disable-3d-apis disables WebGL and Pepper 3D support on Mac OS X. - Verified that specifying the Disable3DAPIs policy via a JSON file disables WebGL on Linux. - Ran unit_tests and verified that there were no failures introduced. BUG=64806 TEST=ConfigurationPolicyPrefStoreBooleanTest Review URL: http://codereview.chromium.org/5991003 TBR=kbr@chromium.org Review URL: http://codereview.chromium.org/6027004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69759 0039d316-1c4b-4281-b951-d872f2087c98
* Added group policy for disabling all client-side 3D APIs in Chromiumkbr@chromium.org2010-12-201-0/+10
| | | | | | | | | | | | | | | | | | | | | (in particular, WebGL and Pepper 3D). This has been hooked up through a new command-line argument (--disable-3d-apis) orthogonal to the existing ones, so that further changes to those command line arguments will not accidentally regress the group policy support. Tested in the following ways: - Verified that --disable-3d-apis disables WebGL and Pepper 3D support on Mac OS X. - Verified that specifying the Disable3DAPIs policy via a JSON file disables WebGL on Linux. - Ran unit_tests and verified that there were no failures introduced. BUG=64806 TEST=ConfigurationPolicyPrefStoreBooleanTest Review URL: http://codereview.chromium.org/5991003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69753 0039d316-1c4b-4281-b951-d872f2087c98