[CrOS MultiDevice] Update UiPageContainerBehavior's button code.
This CL provides two new pieces of functionality:
(1) UiPages can disable the forward button.
(2) UiPages can prevent forward navigation, even though the button is
enabled.
This functionality is needed for a future CL which adds a password page.
In that CL, the page's forward button needs to be disabled if no
password has been entered yet, and forward navigation needs to be
prevented if the password entered is incorrect.
Bug: 870098, 824568
Change-Id: Id887c97d4b336d6b44f4aaa567d81e0ed73f9d5d
Reviewed-on: https://chromium-review.googlesource.com/1179268
Commit-Queue: Kyle Horimoto <khorimoto@chromium.org>
Reviewed-by:
Tommy Li <tommycli@chromium.org>
Cr-Commit-Position: refs/heads/master@{#584902}
Showing
Please register or sign in to comment