MD Settings: Make PolicyControllable behavior for isControlled()
commit3a91c55c3110879032376122b9f0e8f06efe54a4
authormichaelpg <michaelpg@chromium.org>
Tue, 22 Sep 2015 04:16:04 +0000 (21 21:16 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 22 Sep 2015 04:16:41 +0000 (22 04:16 +0000)
treef95eaf57b2361c283d25f12ec7455f1adfc366f9
parente41e206081c2996cce1385efef219fa3fc0c2581
MD Settings: Make PolicyControllable behavior for isControlled()

This will let us add an isPolicyControlled() method to any
Polymer element with an associated pref.

BUG=521791
R=stevenjb@chromium.org,dbeam@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#350105}
chrome/browser/resources/settings/checkbox/checkbox.html
chrome/browser/resources/settings/checkbox/checkbox.js
chrome/browser/resources/settings/checkbox/compiled_resources.gyp
chrome/browser/resources/settings/policy_controllable/policy_controllable.html [new file with mode: 0644]
chrome/browser/resources/settings/policy_controllable/policy_controllable.js [new file with mode: 0644]
chrome/browser/resources/settings/settings_resources.grd
chrome/browser/web_dev_style/js_checker.py