[ToolbarMVC] Move some focus logic into LocationBarMediator
This changes moves dispatchKeyEvent, onConfigurationChanged, showUrlBarCursorWithoutFocusAnimations, and updateStatusIcon to LocationBarMediator. To enable this, it adds a getter and setter for mUrlFocusedWithoutAnimations. Some unused methods are removed. Since onKey logic has changed structure, unit tests are added for this. Bug: 1147581, 746660 Change-Id: I4715a156d02b8e9c3a4c63109c0cc521251f5cbd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2585444 Commit-Queue: Patrick Noland <pnoland@chromium.org> Reviewed-by:Filip Gorski <fgorski@chromium.org> Cr-Commit-Position: refs/heads/master@{#836293}
Showing
Please register or sign in to comment