Implement the majority of the Users page, shown when clicking "manage other users...
commit0f7839441669b9f2993eb1a7909034e606ccfea9
authororenb <orenb@chromium.org>
Thu, 4 Jun 2015 19:27:06 +0000 (4 12:27 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 4 Jun 2015 19:28:48 +0000 (4 19:28 +0000)
treef501b89d15bb179ab9d3a259421cbf3d1de96ff5
parent0ba15defa7aeb2ae64a3b25fdbe1a0c10bca69b5
Implement the majority of the Users page, shown when clicking "manage other users" in Chrome OS' People settings.

Still TODO:
1. Do client side / JS validation of the user name / email entered in the "Add users" field.
2. Add the desired prefs to the whitelist in prefs_util.cc.
3. Use an inverted pref (we need to make this first in a separate cl) for the 'restrict sign-in to the following users' checkbox.
4. Gray out checkboxes / fields when user isn't the owner, and hide the user list when the settings isn't managed.
5. Prevent the owner from deleting herself/himself.
6. Verify that everything works right with the fully implemented usersPrivate API.
7. Make the Users page a subpage rather than a top level page. I'm making it a top level page for now since otherwise there's no way to access it. Once we add the top level People page we'll move this underneath it.

BUG=495858

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

Cr-Commit-Position: refs/heads/master@{#332876}
13 files changed:
chrome/app/settings_strings.grdp
chrome/browser/resources/settings/checkbox/checkbox.css
chrome/browser/resources/settings/routes.html
chrome/browser/resources/settings/settings_main/settings_main.html
chrome/browser/resources/settings/settings_page/settings_page.css
chrome/browser/resources/settings/settings_resources.grd
chrome/browser/resources/settings/users_page/user_list.css [new file with mode: 0644]
chrome/browser/resources/settings/users_page/user_list.html [new file with mode: 0644]
chrome/browser/resources/settings/users_page/user_list.js [new file with mode: 0644]
chrome/browser/resources/settings/users_page/users_page.css [new file with mode: 0644]
chrome/browser/resources/settings/users_page/users_page.html [new file with mode: 0644]
chrome/browser/resources/settings/users_page/users_page.js [new file with mode: 0644]
chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc