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

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: Re-uploading to try and unstuck the CQ. Created 8 years 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 | « ash/system/chromeos/network/tray_sms.cc ('k') | ash/system/tray/system_tray_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray.cc
diff --git a/ash/system/tray/system_tray.cc b/ash/system/tray/system_tray.cc
index 6ec834604d52f36a3d6c24695fddfc7bc1969e81..15f29cc81746010ffec58cfbbfd34eeeff759f94 100644
--- a/ash/system/tray/system_tray.cc
+++ b/ash/system/tray/system_tray.cc
@@ -398,7 +398,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
@@ -469,7 +470,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(
« no previous file with comments | « ash/system/chromeos/network/tray_sms.cc ('k') | ash/system/tray/system_tray_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698