Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2737)

Unified Diff: ash/shelf/overflow_bubble_view.cc

Issue 1875033004: Fix tooltips for Chrome OS shelf overflow icons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/shelf/shelf_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/overflow_bubble_view.cc
diff --git a/ash/shelf/overflow_bubble_view.cc b/ash/shelf/overflow_bubble_view.cc
index ef288eb278e4bdaccdd316eaa86446b51ac735aa..55bd4ce227137b6b9a904ac4af686b45e4997085 100644
--- a/ash/shelf/overflow_bubble_view.cc
+++ b/ash/shelf/overflow_bubble_view.cc
@@ -39,7 +39,6 @@ OverflowBubbleView::~OverflowBubbleView() {}
void OverflowBubbleView::InitOverflowBubble(views::View* anchor,
ShelfView* shelf_view) {
shelf_view_ = shelf_view;
- AddChildView(shelf_view_);
SetAnchorView(anchor);
set_arrow(GetBubbleArrow());
@@ -59,6 +58,7 @@ void OverflowBubbleView::InitOverflowBubble(views::View* anchor,
anchor->GetWidget()->GetNativeWindow()->GetRootWindow(),
kShellWindowId_ShelfBubbleContainer));
views::BubbleDelegateView::CreateBubble(this);
+ AddChildView(shelf_view_);
}
bool OverflowBubbleView::IsHorizontalAlignment() const {
« no previous file with comments | « no previous file | ash/shelf/shelf_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698