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

Unified Diff: ash/system/status_area_widget_delegate.cc

Issue 2036353002: mash: Move ash/common/wm/shelf to ash/common/shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 4 years, 6 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/status_area_widget_delegate.h ('k') | ash/system/toast/toast_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d382917197d0e326c53ac151a32febd04a46dfce..703707a2e9cf7d1a288a758ec272e57fd535868c 100644
--- a/ash/system/status_area_widget_delegate.cc
+++ b/ash/system/status_area_widget_delegate.cc
@@ -6,8 +6,8 @@
#include "ash/ash_export.h"
#include "ash/ash_switches.h"
+#include "ash/common/shelf/wm_shelf_util.h"
#include "ash/common/shell_window_ids.h"
-#include "ash/common/wm/shelf/wm_shelf_util.h"
#include "ash/focus_cycler.h"
#include "ash/shelf/shelf_util.h"
#include "ash/shell.h"
@@ -50,8 +50,7 @@ class StatusAreaWidgetDelegateAnimationSettings
namespace ash {
StatusAreaWidgetDelegate::StatusAreaWidgetDelegate()
- : focus_cycler_for_testing_(nullptr),
- alignment_(wm::SHELF_ALIGNMENT_BOTTOM) {
+ : focus_cycler_for_testing_(nullptr), alignment_(SHELF_ALIGNMENT_BOTTOM) {
// Allow the launcher to surrender the focus to another window upon
// navigation completion by the user.
set_allow_deactivate_on_esc(true);
@@ -114,7 +113,7 @@ void StatusAreaWidgetDelegate::UpdateLayout() {
SetLayoutManager(layout);
views::ColumnSet* columns = layout->AddColumnSet(0);
- if (wm::IsHorizontalAlignment(alignment_)) {
+ if (IsHorizontalAlignment(alignment_)) {
bool is_first_visible_child = true;
for (int c = 0; c < child_count(); ++c) {
views::View* child = child_at(c);
« no previous file with comments | « ash/system/status_area_widget_delegate.h ('k') | ash/system/toast/toast_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698