[ToolbarMVC] Extract revertChanges to LocationBarMediator
This change moves the implementation of revertChanges to LocationBarMediator. It also passes the call to selectAll directly to the UrlBarCoordinator, and implements the OnKeyListener interface in LocationBarCoordinator instead of LocationBarLayout. The latter change is because this listener needs to be able to call revertChanges, which LocationBarLayout can no longer do. Bug: 1147581 Change-Id: I5df4ec31997ed072f0d6040b7d96e595471ec741 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2552758 Commit-Queue: Patrick Noland <pnoland@chromium.org> Reviewed-by:Filip Gorski <fgorski@chromium.org> Cr-Commit-Position: refs/heads/master@{#833781}
Showing
Please register or sign in to comment