OOBE: Refactor DeviceDisabledScreen/Handler API
1) Rename SetDelegate to Bind in accordance with other handlers. 2) Remove unnecessary page_is_ready()/show_on_init_ logic: calls to ShowScreen / JSCall are automatically deferred until JS side is initialized. 3) Pass screen parameters as the part of the Show method. Bug: 1084928 Change-Id: I9c33b8b7330a04db430ead770eae8c347c95a5cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2210440 Commit-Queue: Denis Kuznetsov [CET] <antrim@chromium.org> Reviewed-by:Roman Sorokin [CET] <rsorokin@chromium.org> Cr-Commit-Position: refs/heads/master@{#771000}
Showing
Please register or sign in to comment