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

Unified Diff: ash/system/tray/system_tray.cc

Issue 11377133: Customize user details in ash system bubble for public account mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed "managed by" to "owned by" as requested offline. Created 8 years, 1 month 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
Index: ash/system/tray/system_tray.cc
diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc
index e1890daadac86ae353ebcd0020904e1f4415a70b..b48f1424ca261d3022332e3230fc20c95e4e6861 100644
--- a/ash/system/tray/system_tray.cc
+++ b/ash/system/tray/system_tray.cc
@@ -397,7 +397,8 @@ void SystemTray::ShowItems(const std::vector<SystemTrayItem*>& items,
} else {
TrayBubbleView::InitParams init_params(TrayBubbleView::ANCHOR_TYPE_TRAY,
GetAnchorAlignment(),
- kTrayPopupWidth);
+ kTrayPopupMinWidth,
+ kTrayPopupMaxWidth);
init_params.can_activate = can_activate;
if (detailed) {
// This is the case where a volume control or brightness control bubble
@@ -468,7 +469,8 @@ void SystemTray::UpdateNotificationBubble() {
}
TrayBubbleView::InitParams init_params(anchor_type,
GetAnchorAlignment(),
- kTrayPopupWidth);
+ kTrayPopupMinWidth,
+ kTrayPopupMaxWidth);
init_params.arrow_color = kBackgroundColor;
init_params.arrow_offset = GetTrayXOffset(notification_items_[0]);
notification_bubble_.reset(

Powered by Google App Engine
This is Rietveld 408576698