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

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

Issue 10809008: Make spacing between uber tray items consistent with UI spec. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactor UpdateAfterShelfAlignment from CreateTrayView to SystemTrayItem. 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
Index: ash/system/tray/tray_image_item.cc
diff --git a/ash/system/tray/tray_image_item.cc b/ash/system/tray/tray_image_item.cc
index 449cbd72c7a8d46d3171745b2c1b91be05fc6f59..f0caae1c070b849d2b2fc1d1fd70eaffa6a26e86 100644
--- a/ash/system/tray/tray_image_item.cc
+++ b/ash/system/tray/tray_image_item.cc
@@ -45,6 +45,10 @@ views::View* TrayImageItem::CreateDetailedView(user::LoginStatus status) {
void TrayImageItem::UpdateAfterLoginStatusChange(user::LoginStatus status) {
}
+void TrayImageItem::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) {
+ SetTrayImageItemBorder(tray_view_, alignment);
+}
+
void TrayImageItem::DestroyTrayView() {
tray_view_ = NULL;
}

Powered by Google App Engine
This is Rietveld 408576698