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

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

Issue 1914093002: Refactors DockedWindowLayoutManager in terms of ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nuke_aura_window
Patch Set: comment Created 4 years, 8 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/tray_image_item.h ('k') | ash/system/tray/tray_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ba81d02b9a96017af51b267a3cf903028d15ff5c..fc5d750d65917c514931a5dee4b2ef00108e171d 100644
--- a/ash/system/tray/tray_image_item.cc
+++ b/ash/system/tray/tray_image_item.cc
@@ -57,7 +57,8 @@ views::View* TrayImageItem::CreateDetailedView(user::LoginStatus status) {
void TrayImageItem::UpdateAfterLoginStatusChange(user::LoginStatus status) {
}
-void TrayImageItem::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) {
+void TrayImageItem::UpdateAfterShelfAlignmentChange(
+ wm::ShelfAlignment alignment) {
SetTrayImageItemBorder(tray_view_, alignment);
SetItemAlignment(alignment);
}
@@ -72,7 +73,7 @@ void TrayImageItem::DestroyDefaultView() {
void TrayImageItem::DestroyDetailedView() {
}
-void TrayImageItem::SetItemAlignment(ShelfAlignment alignment) {
+void TrayImageItem::SetItemAlignment(wm::ShelfAlignment alignment) {
// Center the item dependent on the orientation of the shelf.
views::BoxLayout::Orientation layout = IsHorizontalAlignment(alignment)
? views::BoxLayout::kHorizontal
« no previous file with comments | « ash/system/tray/tray_image_item.h ('k') | ash/system/tray/tray_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698