Modernize layout of toolbar items for ChromeWebView shell
The manual layout of the toolbar items for ios_web_view_shell is outdated and no longer works with iOS 11. Update the UIButtons to UIBarButtonItems and automatically lay them out with setItems: instead of adding items as subviews to the UIToolbar. Bug: None Change-Id: I800ade863253ac244cb8705a4afec0b09a0a2198 Reviewed-on: https://chromium-review.googlesource.com/578239Reviewed-by:Eugene But <eugenebut@chromium.org> Commit-Queue: Mike Dougherty <michaeldo@chromium.org> Cr-Commit-Position: refs/heads/master@{#488607}
Showing
Please register or sign in to comment