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

Unified Diff: ash/system/status_area_widget_delegate.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/status_area_widget_delegate.cc
diff --git a/ash/system/status_area_widget_delegate.cc b/ash/system/status_area_widget_delegate.cc
index c87869a631a5689293090339d77641f38bd82f35..322e68dea4c9d20860b2db655afdf1a82b32a7a6 100644
--- a/ash/system/status_area_widget_delegate.cc
+++ b/ash/system/status_area_widget_delegate.cc
@@ -11,6 +11,7 @@
#include "ash/shell.h"
#include "ash/shell_window_ids.h"
#include "ash/system/tray/tray_constants.h"
+#include "ash/wm/common/shelf/wm_shelf_util.h"
#include "base/strings/utf_string_conversions.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/compositor/layer.h"
@@ -113,7 +114,7 @@ void StatusAreaWidgetDelegate::UpdateLayout() {
SetLayoutManager(layout);
views::ColumnSet* columns = layout->AddColumnSet(0);
- if (IsHorizontalAlignment(alignment_)) {
+ if (wm::IsHorizontalAlignment(alignment_)) {
bool is_first_visible_child = true;
for (int c = 0; c < child_count(); ++c) {
views::View* child = child_at(c);

Powered by Google App Engine
This is Rietveld 408576698