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

Unified Diff: ash/wm/status_area_layout_manager.cc

Issue 10384217: Add left/right layout support for uber tray. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
« ash/system/tray/system_tray_bubble.cc ('K') | « ash/wm/shelf_layout_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/status_area_layout_manager.cc
diff --git a/ash/wm/status_area_layout_manager.cc b/ash/wm/status_area_layout_manager.cc
index cbc28337fcbcef53796b38d76f62aff8519270f8..84b4aa3824e735506f9072a36e0abe00c781ff59 100644
--- a/ash/wm/status_area_layout_manager.cc
+++ b/ash/wm/status_area_layout_manager.cc
@@ -56,7 +56,7 @@ void StatusAreaLayoutManager::SetChildBounds(
// If the size matches, no need to do anything. We don't check the location as
// that is managed by the shelf.
- if (requested_bounds.size() == child->bounds().size())
+ if (requested_bounds == child->bounds())
sadrul 2012/05/17 19:57:05 Is this change because the size doesn't change whe
jennyz 2012/05/17 22:13:30 Yes.
return;
SetChildBoundsDirect(child, requested_bounds);
« ash/system/tray/system_tray_bubble.cc ('K') | « ash/wm/shelf_layout_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698