Split //chrome-specific parts of ToolbarModel into ChromeToolbarModel
commit8801c1d6a3b3ec8043278af5fb95e1cf16bd5c1e
authorblundell <blundell@chromium.org>
Fri, 31 Jul 2015 09:10:27 +0000 (31 02:10 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 31 Jul 2015 09:11:08 +0000 (31 09:11 +0000)
treea23d7cb1e0f6cce77bdb28c6da6593f989c08fc2
parent0d55b1a404fc6f254afa08eea51caf4b5263282c
Split //chrome-specific parts of ToolbarModel into ChromeToolbarModel

The ToolbarModel interface is used in omnibox code shared with iOS and thus
needs to be componentized. However, it has one //chrome-level method
(GetSecurityLevel()). As a precusor to componentization of ToolbarModel, this
CL moves that method into a ChromeToolbarController subclass.

BUG=511938

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

Cr-Commit-Position: refs/heads/master@{#341302}
13 files changed:
chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm
chrome/browser/ui/toolbar/chrome_toolbar_model.cc [new file with mode: 0644]
chrome/browser/ui/toolbar/chrome_toolbar_model.h [new file with mode: 0644]
chrome/browser/ui/toolbar/test_toolbar_model.cc
chrome/browser/ui/toolbar/test_toolbar_model.h
chrome/browser/ui/toolbar/toolbar_model.h
chrome/browser/ui/toolbar/toolbar_model_impl.h
chrome/browser/ui/views/location_bar/location_bar_view.cc
chrome/browser/ui/views/location_bar/location_bar_view.h
chrome/browser/ui/views/omnibox/omnibox_view_views.cc
chrome/browser/ui/views/omnibox/omnibox_view_views.h
chrome/chrome_browser_ui.gypi