[ToolbarMVC] Move url focus logic to LBMediator
This change moves setUrlFocusChangeInProgress, onUrlFocusChange, and finishUrlFocusChange to LocationBarMediator, consolidating phone- and tablet-specific logic as appropriate. Moving these together allows us to move several pieces of state into LocationBarMediator together, e.g. mUrlFocusedWithoutAnimations and mUrlFocusChangeListeners. Unit and instrumentation tests covering the migrated logic are also included, and some on-focus triggered accessibility logic has been moved to UrlBarCoordinator. Bug: 1147581 Change-Id: I4cab5b32402b86a953d22418eb94f375a21b9cc2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2598036Reviewed-by:Ted Choc <tedchoc@chromium.org> Reviewed-by:
Filip Gorski <fgorski@chromium.org> Commit-Queue: Patrick Noland <pnoland@chromium.org> Cr-Commit-Position: refs/heads/master@{#845273}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment