Hook up new easyUnlockPrivate API function for updating lock screen
commitc950a9b113c7bf10364cee6257f7976414e844af
authortbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 15 Aug 2014 04:40:54 +0000 (15 04:40 +0000)
committertbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 15 Aug 2014 04:42:10 +0000 (15 04:42 +0000)
tree344553c549adce05ec46ebdb05a95479e92bcc4c
parent659274e254140b6b832f58415da0a9f5485d6994
Hook up new easyUnlockPrivate API function for updating lock screen

This will replace screenlockPrivate methods for updating screenlock
icon, auth type, and message.

The cl starts migration of the Easy Unlocking logic from Chrome app
to native code. The new easyUnlockPrivate function should be removed once
the migration is complete (probably in M39). It moves resources used
on screen lock from Easy Unlock app to Chrome, and simplifies
generating icon URL to be used in the screenlock web ui.

Adds support for setting icon tooltip and animating the icon directly in
screenlock web ui (instead of calling showCustomIcon for each animation
frame, which can produce somewhat laggy animation).

BUG=393792,397366,397360,385719, 402106

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

Cr-Commit-Position: refs/heads/master@{#289784}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289784 0039d316-1c4b-4281-b951-d872f2087c98
21 files changed:
chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc
chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.h
chrome/browser/extensions/api/screenlock_private/screenlock_private_api.cc
chrome/browser/signin/easy_unlock_screenlock_state_handler.cc [new file with mode: 0644]
chrome/browser/signin/easy_unlock_screenlock_state_handler.h [new file with mode: 0644]
chrome/browser/signin/easy_unlock_service.cc
chrome/browser/signin/easy_unlock_service.h
chrome/browser/signin/screenlock_bridge.cc
chrome/browser/signin/screenlock_bridge.h
chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc
chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
chrome/browser/ui/webui/signin/user_manager_screen_handler.h
chrome/chrome_browser.gypi
chrome/common/extensions/api/easy_unlock_private.idl
extensions/browser/extension_function_histogram_value.h
tools/metrics/histograms/histograms.xml
ui/login/account_picker/screen_account_picker.js
ui/login/account_picker/user_pod_row.css
ui/login/account_picker/user_pod_row.js
ui/login/account_picker/user_pod_template.html