[iOS] Clean up ToolbarAccessoryPresenter to use ContainedPresenter
This makes things much cleaner because ContainedPresenter automatically comes with ContainedPresenterDelegate. This does require the addition of FindBarViewController to wrap FindBarView as ContainedPresenter only works with view controllers. This can also remove the |selectText| parameter from |-showFindBarWithAnimation| because it is only called with |selectText| as YES. Bug: 1028938 Change-Id: Ieadd8c24d8d55455a3d07aa91c4ab1f3d8742718 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1960275Reviewed-by:Gauthier Ambard <gambard@chromium.org> Reviewed-by:
Stepan Khapugin <stkhapugin@chromium.org> Commit-Queue: Robbie Gibson <rkgibson@google.com> Cr-Commit-Position: refs/heads/master@{#727973}
Showing
This diff is collapsed.
Please register or sign in to comment