Hoist {Get,Set}InputInProgress() to ToolbarModel from subclasses, and make them
commit136e3c9b8ecddefb0aa66127817374005b8651fb
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 21 Aug 2013 17:17:43 +0000 (21 17:17 +0000)
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 21 Aug 2013 17:17:43 +0000 (21 17:17 +0000)
tree6b2533f766e34239eb213e3e0ee095e5b6dc220a
parent36fa4059983f8763b08dd50da7bb679a1ab6b8ce
Hoist {Get,Set}InputInProgress() to ToolbarModel from subclasses, and make them
cheap inline accessors.

Every subclass implements these the same simple way (member bool and simple
accessors), so there's no reason they need to be virtual.

BUG=none
TEST=none
R=msw@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218766 0039d316-1c4b-4281-b951-d872f2087c98
14 files changed:
chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
chrome/browser/ui/cocoa/location_bar/zoom_decoration.mm
chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm
chrome/browser/ui/gtk/location_bar_view_gtk.cc
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.cc
chrome/browser/ui/toolbar/toolbar_model_impl.h
chrome/browser/ui/toolbar/toolbar_model_unittest.cc
chrome/browser/ui/views/location_bar/generated_credit_card_view.cc
chrome/browser/ui/views/location_bar/location_bar_view.cc
chrome/browser/ui/views/location_bar/zoom_view.cc
chrome/browser/ui/views/toolbar_view.cc