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

Unified Diff: ash/system/user/tray_user.cc

Issue 1929023002: Refactors WindowResizers to use ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: ash/system/user/tray_user.cc
diff --git a/ash/system/user/tray_user.cc b/ash/system/user/tray_user.cc
index 9ec90db27ec6b030aca6fe7f0329aa3fbc90afd8..ac9691bf2c2c1117bcb99b486b56b94d8239cb07 100644
--- a/ash/system/user/tray_user.cc
+++ b/ash/system/user/tray_user.cc
@@ -18,6 +18,7 @@
#include "ash/system/tray/tray_utils.h"
#include "ash/system/user/rounded_image_view.h"
#include "ash/system/user/user_view.h"
+#include "ash/wm/common/shelf/wm_shelf_util.h"
#include "base/logging.h"
#include "base/strings/string16.h"
#include "components/signin/core/account_id/account_id.h"
@@ -192,7 +193,7 @@ void TrayUser::UpdateAfterShelfAlignmentChange(wm::ShelfAlignment alignment) {
// Inactive users won't have a layout.
if (!layout_view_)
return;
- if (IsHorizontalAlignment(alignment)) {
+ if (wm::IsHorizontalAlignment(alignment)) {
if (avatar_) {
avatar_->SetBorder(views::Border::NullBorder());
avatar_->SetCornerRadii(

Powered by Google App Engine
This is Rietveld 408576698