Commit 656faf5c authored by jennyz@chromium.org's avatar jennyz@chromium.org

Fix the volume and brightness bubble color issue.

BUG=140144

Review URL: https://chromiumcodereview.appspot.com/10825146

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149637 0039d316-1c4b-4281-b951-d872f2087c98
parent c31d0e6a
......@@ -417,8 +417,12 @@ void SystemTray::ShowItems(const std::vector<SystemTrayItem*>& items,
TrayBubbleView::InitParams init_params(TrayBubbleView::ANCHOR_TYPE_TRAY,
shelf_alignment());
init_params.can_activate = can_activate;
if (detailed)
if (detailed) {
// This is the case where a volume control or brightness control bubble
// is created.
init_params.max_height = default_bubble_height_;
init_params.arrow_color = kBackgroundColor;
}
init_params.arrow_offset = arrow_offset;
bubble_->InitView(anchor, init_params, delegate->GetUserLoginStatus());
}
......
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