Commit cfcd590a authored by Tatsuhisa Yamaguchi's avatar Tatsuhisa Yamaguchi Committed by Commit Bot

Unified: Keep system tray bubble aligned to the bottom of the desktop.

Before this change the bubble was shown above the system tray icons
even when the shelf position was left or right.

Bug: 864929
Test: manual
Change-Id: I8258705be68a85af32aa7d46943ef32a46ee8c9a
Reviewed-on: https://chromium-review.googlesource.com/1141750Reviewed-by: default avatarYoshiki Iguchi <yoshiki@chromium.org>
Commit-Queue: Tatsuhisa Yamaguchi <yamaguchi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576382}
parent c9dcd5e9
...@@ -67,7 +67,7 @@ UnifiedSystemTrayBubble::UnifiedSystemTrayBubble(UnifiedSystemTray* tray, ...@@ -67,7 +67,7 @@ UnifiedSystemTrayBubble::UnifiedSystemTrayBubble(UnifiedSystemTray* tray,
time_shown_by_click_ = base::TimeTicks::Now(); time_shown_by_click_ = base::TimeTicks::Now();
views::TrayBubbleView::InitParams init_params; views::TrayBubbleView::InitParams init_params;
init_params.anchor_alignment = views::TrayBubbleView::ANCHOR_ALIGNMENT_BOTTOM; init_params.anchor_alignment = tray_->GetAnchorAlignment();
init_params.min_width = kTrayMenuWidth; init_params.min_width = kTrayMenuWidth;
init_params.max_width = kTrayMenuWidth; init_params.max_width = kTrayMenuWidth;
init_params.delegate = tray; init_params.delegate = tray;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment