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

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

Issue 10668009: UI refinement for left/right ash tray and bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 8 years, 5 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 | « ash/system/tray/system_tray.cc ('k') | ash/system/tray/tray_background_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_bubble.cc
diff --git a/ash/system/tray/system_tray_bubble.cc b/ash/system/tray/system_tray_bubble.cc
index a934a7b7e3166fced5c993a010cfb7b6a184c9f4..061a848d7761e152dcfc8c5e5900ffc28d2106a8 100644
--- a/ash/system/tray/system_tray_bubble.cc
+++ b/ash/system/tray/system_tray_bubble.cc
@@ -355,10 +355,10 @@ gfx::Rect SystemTrayBubble::GetAnchorRect() const {
0 : kPaddingFromRightEdgeOfScreenBottomAlignment,
kPaddingFromBottomOfScreenBottomAlignment);
} else if (tray_->shelf_alignment() == SHELF_ALIGNMENT_LEFT) {
- rect.Inset(0, 0, kPaddingFromEdgeOfLauncherVerticalAlignment,
+ rect.Inset(0, 0, kPaddingFromInnerEdgeOfLauncherVerticalAlignment,
kPaddingFromBottomOfScreenVerticalAlignment);
} else {
- rect.Inset(kPaddingFromEdgeOfLauncherVerticalAlignment + 4,
+ rect.Inset(kPaddingFromInnerEdgeOfLauncherVerticalAlignment,
0, 0, kPaddingFromBottomOfScreenVerticalAlignment);
}
} else if (anchor_type_ == ANCHOR_TYPE_BUBBLE) {
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/system/tray/tray_background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698