cros: Kiosk apps settings UI.
commit94c30ca27a105548898b46d4d9ff07c998b92282
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 16 Feb 2013 18:15:32 +0000 (16 18:15 +0000)
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 16 Feb 2013 18:15:32 +0000 (16 18:15 +0000)
tree21fc151b8e9eb913e40791e66d7ec692d3595b2b
parentbde6bc5d302dba589b8e9a20dea48e98e25c47e3
cros: Kiosk apps settings UI.

- Add a kiosk section in browser options when app mode is
  enabled and current user is owner (or running on dev box);
- Click on the manage button brings up a kiosk app settings
  overlay;
- The overlay allows user to add, remove and set app to be
  auto launched. And a simple error handling by showing
  bad app in an error banner for 5 seconds;

BUG=173749
TEST=Verify kiosk apps could be added, removed and set as
     auto launch. Only one could be auto launched. Invalid
     app should show up in an error banner.

R=zelidrag@chromium.org,dbeam@chromium.org
TBR=sky@chromium.org for gyp changes

Review URL: https://chromiumcodereview.appspot.com/12213033

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182985 0039d316-1c4b-4281-b951-d872f2087c98
16 files changed:
chrome/browser/resources/options/browser_options.html
chrome/browser/resources/options/browser_options.js
chrome/browser/resources/options/chromeos/kiosk_app_list.js [new file with mode: 0644]
chrome/browser/resources/options/chromeos/kiosk_apps.css [new file with mode: 0644]
chrome/browser/resources/options/chromeos/kiosk_apps.html [new file with mode: 0644]
chrome/browser/resources/options/chromeos/kiosk_apps.js [new file with mode: 0644]
chrome/browser/resources/options/options.html
chrome/browser/resources/options/options.js
chrome/browser/resources/options/options_bundle.js
chrome/browser/ui/webui/options/browser_options_handler.cc
chrome/browser/ui/webui/options/chromeos/kiosk_apps_browsertest.js [new file with mode: 0644]
chrome/browser/ui/webui/options/chromeos/kiosk_apps_handler.cc [new file with mode: 0644]
chrome/browser/ui/webui/options/chromeos/kiosk_apps_handler.h [new file with mode: 0644]
chrome/browser/ui/webui/options/options_ui.cc
chrome/chrome_browser_ui.gypi
chrome/chrome_tests.gypi