Cleanup: Remove SearchTabHelperDelegate
Its one remaining member, GetOmniboxView, can be replaced easily by telling the SearchTabHelper when its tab gets attached to a new window (i.e. Browser::TabInsertedAt), at which point it can grab the OmniboxView* itself. This also correctly handles the case where a tab is dragged between windows. BUG=627747 Review-Url: https://codereview.chromium.org/2739943005 Cr-Commit-Position: refs/heads/master@{#456046}
Showing
Please register or sign in to comment