Inject OmniboxClient instance into Omnibox core code
commit7cda124956524c8c49f10f8088be76aee40a1105
authorblundell <blundell@chromium.org>
Wed, 15 Jul 2015 09:58:20 +0000 (15 02:58 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Jul 2015 09:58:53 +0000 (15 09:58 +0000)
treebbfcf974b4a7223fa30f6a83271235ee4a658e77
parentd448b63c12863b61e38a8891636f6a081d5179b4
Inject OmniboxClient instance into Omnibox core code

Rather than having OmniboxEditModel construct a ChromeOmniboxClient, pass in
the OmniboxClient to Omnibox component-level code from //chrome-level code.

BUG=371536

Review URL: https://codereview.chromium.org/1230203002

Cr-Commit-Position: refs/heads/master@{#338835}
chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
chrome/browser/ui/cocoa/omnibox/omnibox_view_mac_unittest.mm
chrome/browser/ui/omnibox/omnibox_edit_model.cc
chrome/browser/ui/omnibox/omnibox_edit_model.h
chrome/browser/ui/omnibox/omnibox_edit_unittest.cc
chrome/browser/ui/omnibox/omnibox_view.cc
chrome/browser/ui/omnibox/omnibox_view.h
chrome/browser/ui/views/omnibox/omnibox_view_views.cc