diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-03 22:46:52 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-03 22:46:52 +0000 |
commit | db4ccd31523f692282867c1982443d06518c7d43 (patch) | |
tree | d5b4e49c045f57269ce68adaf6430049903fb97e /chrome/browser/views/detachable_toolbar_view.cc | |
parent | 9b64b4aec734d0e16d3523e9d82a8c9fac61017b (diff) | |
download | chromium_src-db4ccd31523f692282867c1982443d06518c7d43.zip chromium_src-db4ccd31523f692282867c1982443d06518c7d43.tar.gz chromium_src-db4ccd31523f692282867c1982443d06518c7d43.tar.bz2 |
Remove the "On top" display mode of the extension shelf, it is no longer used or supported.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/566035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38034 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/detachable_toolbar_view.cc')
-rw-r--r-- | chrome/browser/views/detachable_toolbar_view.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/views/detachable_toolbar_view.cc b/chrome/browser/views/detachable_toolbar_view.cc index fcf8f5c..924ecb0 100644 --- a/chrome/browser/views/detachable_toolbar_view.cc +++ b/chrome/browser/views/detachable_toolbar_view.cc @@ -56,9 +56,8 @@ void DetachableToolbarView::CalculateContentArea( void DetachableToolbarView::PaintHorizontalBorder(gfx::Canvas* canvas, DetachableToolbarView* view) { // Border can be at the top or at the bottom of the view depending on whether - // the view (bar/shelf) is at the top/at the bottom and whether it is attached - // or detached. - int y = view->IsOnTop() == !view->IsDetached() ? view->height() - 1 : 0; + // the view (bar/shelf) is attached or detached. + int y = !view->IsDetached() ? view->height() - 1 : 0; canvas->FillRectInt(ResourceBundle::toolbar_separator_color, 0, y, view->width(), 1); } |