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

Unified Diff: ash/wm/shelf_layout_manager.cc

Issue 9594011: ash uber tray: Make the tray background rounded. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/shelf_layout_manager.cc
diff --git a/ash/wm/shelf_layout_manager.cc b/ash/wm/shelf_layout_manager.cc
index 266af8f50edf561e6ffdf919d6e11fc71cf9acaa..6831246e41afb123bfae64effe15906b6da09522 100644
--- a/ash/wm/shelf_layout_manager.cc
+++ b/ash/wm/shelf_layout_manager.cc
@@ -134,7 +134,7 @@ void ShelfLayoutManager::CalculateTargetBounds(bool visible,
int y = available_bounds.bottom() - (visible ? max_height_ : 0);
gfx::Rect status_bounds(status_->GetWindowScreenBounds());
target_bounds->status_bounds = gfx::Rect(
- available_bounds.right() - status_bounds.width(),
+ available_bounds.right() - status_bounds.width() - 10,
Ben Goodger (Google) 2012/03/05 15:51:14 - what?
sadrul 2012/03/05 22:47:16 Using a const kVariable so it's easier to understa
y + (max_height_ - status_bounds.height()) / 2,
status_bounds.width(), status_bounds.height());
gfx::Rect launcher_bounds(launcher_->GetWindowScreenBounds());
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698