Chromium Code Reviews| Index: chrome/browser/ui/views/frame/browser_view.cc |
| diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc |
| index f0e4383ae15bd76c454c0d9a496ffc9c697c0f0d..81c672051755a40d2b96e773865646e45716b0bf 100644 |
| --- a/chrome/browser/ui/views/frame/browser_view.cc |
| +++ b/chrome/browser/ui/views/frame/browser_view.cc |
| @@ -2222,6 +2222,10 @@ void BrowserView::SetBookmarkBarParent(views::View* new_parent) { |
| AddChildViewAt(bookmark_bar_view_.get(), top_container_index); |
| else |
| AddChildView(bookmark_bar_view_.get()); |
| + } else if (new_parent == top_container_) { |
| + // Stack the |bookmark_bar_view_| behind the |toolbar_| surface so that |
| + // |toolbar_| ink drops are visible on top of the |bookmark_bar_view_|. |
| + new_parent->AddChildViewAt(bookmark_bar_view_.get(), 0); |
|
Peter Kasting
2016/03/30 21:15:28
This may be better for sky than me; I'm not famili
bruthig
2016/03/30 21:27:00
As far as I can tell a user cannot tab between the
Peter Kasting
2016/03/30 21:28:42
Is the taborder between the toolbar children and t
sky
2016/03/31 01:07:16
Tab does wrap within the bookmarkbar. You can cycl
bruthig
2016/03/31 21:12:29
I'm slightly confused here, are there outstanding
Peter Kasting
2016/03/31 21:20:41
As long as it's not possible to actually tab direc
bruthig
2016/03/31 22:04:23
That is correct. Tab's will stay within the same
|
| } else if (new_parent) { |
| // No special stacking is required for other parents. |
| new_parent->AddChildView(bookmark_bar_view_.get()); |