Adding application name message in kiosk mode after user timeout
commit6622c4a8a39835eac6aedd89fefbf9552c26d6da
authorskuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 9 Feb 2014 11:00:41 +0000 (9 11:00 +0000)
committerskuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 9 Feb 2014 11:00:41 +0000 (9 11:00 +0000)
tree15179c5c574a832d7f5183a5afaada213f22429d
parent85320fd1dc4fb770ac6f68d00ede47b0c5781639
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

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249921

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250000 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