[go: nahoru, domu]

cros: Make it possible to tab-focus from OOBE dialog to shelf widget.

This CL includes a few major changes:

OobeUIDialogDelegate is now a WebContentsDelegate for the OOBE WebDialogView, so
that it can be notified of focus reaching the end of the WebContents and move
the focus over to the shelf. Because of this change, HandleKeyboardEvent must
be implemented to send accelerators to the webui.

During login, AshFocusRules has a special case that allows the ShelfContainer to
be activated even when the LockSystemModalContainer is active.

Bug: 871184
Change-Id: Ia5437705304831dbf2f21e29a39f6bbcb3a15307
Reviewed-on: https://chromium-review.googlesource.com/1197785
Commit-Queue: Quan Nguyen <qnnguyen@chromium.org>
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Reviewed-by: Dominick Ng <dominickn@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588703}
17 files changed