Hide the media device dropdown if the device usage is disabled by policy.
commit3e768e37635242319d11671bf1ef4c64415f5805
authormsramek <msramek@chromium.org>
Thu, 6 Aug 2015 14:31:06 +0000 (6 07:31 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 6 Aug 2015 14:31:50 +0000 (6 14:31 +0000)
tree1df941997e2b108bb6f973dfa18353d09b5d7f0e
parent527bac0d662ed076d7bc7ad9e6fcf95ba45c73f3
Hide the media device dropdown if the device usage is disabled by policy.

We listen to [Audio|Video]CaptureAllowed policies and hide the camera/mic selection dropdowns if the respective policies are set to true.

BUG=517287,510875

Review URL: https://codereview.chromium.org/1278733002

Cr-Commit-Position: refs/heads/master@{#342112}
chrome/browser/resources/options/content_settings.js
chrome/browser/ui/webui/options/content_settings_handler.cc
chrome/browser/ui/webui/options/content_settings_handler.h