diff options
author | yoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-28 08:34:09 +0000 |
---|---|---|
committer | yoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-28 08:34:09 +0000 |
commit | ba8f1f9ae95f5fc9f545582a4405fefd6e107d57 (patch) | |
tree | b472629cec7fc233490aa8f732602de917ee873f /ui/webui | |
parent | 99563de2920805963e66323502fecf8e5123da01 (diff) | |
download | chromium_src-ba8f1f9ae95f5fc9f545582a4405fefd6e107d57.zip chromium_src-ba8f1f9ae95f5fc9f545582a4405fefd6e107d57.tar.gz chromium_src-ba8f1f9ae95f5fc9f545582a4405fefd6e107d57.tar.bz2 |
Remove the google drive option on the settings page for Supervized user
BUG=253660
TEST=manual
R=estade@chromium.org
Review URL: https://codereview.chromium.org/17845009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209125 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/webui')
-rw-r--r-- | ui/webui/resources/js/chromeos/ui_account_tweaks.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/webui/resources/js/chromeos/ui_account_tweaks.js b/ui/webui/resources/js/chromeos/ui_account_tweaks.js index 1ac79f4..ccfd357 100644 --- a/ui/webui/resources/js/chromeos/ui_account_tweaks.js +++ b/ui/webui/resources/js/chromeos/ui_account_tweaks.js @@ -39,6 +39,13 @@ cr.define('uiAccountTweaks', function() { }; /** + * @return {boolean} Whether we're currently in supervised user mode. + */ + UIAccountTweaks.loggedInAsLocallyManagedUser = function() { + return loadTimeData.getBoolean('loggedInAsLocallyManagedUser'); + }; + + /** * Disables or hides some elements in Guest mode in ChromeOS. * All elements within given document with guest-visibility * attribute are either hidden (for guest-visibility="hidden") |