Adding application name message in kiosk mode after user timeout
commitefbd7fbe653f4567dc25abd982e58e1aea21ca5a
authorskuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 8 Feb 2014 03:36:08 +0000 (8 03:36 +0000)
committerskuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 8 Feb 2014 03:36:08 +0000 (8 03:36 +0000)
tree9aebff4a5588bf74f5109917f64e4441ebc0f149
parent6799e54273af9d2fb2b9fe3b850235438951e567
Adding application name message in kiosk mode after user timeout

This is a security feature for a user who interacts with a kiosk device - making sure that he/she knows which application is running.

When a user interacts with the device after 2 minutes of inactivity, a message shows which application is running and who was the author.

When spoken feedback is turned on, the device will also narrowate the content of the message.

The message itself will slide in from the top and - after a short timeout - will automatically slide out again.

BUG=268453
TEST=unit test & visual test

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249921 0039d316-1c4b-4281-b951-d872f2087c98
chrome/app/chromeos_strings.grdp
chrome/browser/chromeos/app_mode/app_session_lifetime.cc
chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.cc [new file with mode: 0644]
chrome/browser/chromeos/app_mode/kiosk_mode_idle_app_name_notification.h [new file with mode: 0644]
chrome/browser/chromeos/chrome_browser_main_chromeos.cc
chrome/browser/chromeos/ui/idle_app_name_notification_view.cc [new file with mode: 0644]
chrome/browser/chromeos/ui/idle_app_name_notification_view.h [new file with mode: 0644]
chrome/browser/chromeos/ui/idle_app_name_notification_view_unittest.cc [new file with mode: 0644]
chrome/chrome_browser_chromeos.gypi
chrome/chrome_tests_unit.gypi