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

Unified Diff: ash/shelf/shelf_layout_manager.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/shelf/shelf_layout_manager.cc
diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
index efb1a9349bd1d251c08d31fe361ec2314758efe3..76b8241657ead6a64ed34bb72e4acb7d226c697c 100644
--- a/ash/shelf/shelf_layout_manager.cc
+++ b/ash/shelf/shelf_layout_manager.cc
@@ -25,6 +25,7 @@
#include "ash/shell_window_ids.h"
#include "ash/system/status_area_widget.h"
#include "ash/wm/aura/wm_window_aura.h"
+#include "ash/wm/common/shelf/wm_shelf_util.h"
#include "ash/wm/common/window_state.h"
#include "ash/wm/common/wm_root_window_controller.h"
#include "ash/wm/common/wm_root_window_controller_observer.h"
@@ -528,7 +529,7 @@ void ShelfLayoutManager::OnWindowActivated(
}
bool ShelfLayoutManager::IsHorizontalAlignment() const {
- return ash::IsHorizontalAlignment(GetAlignment());
+ return wm::IsHorizontalAlignment(GetAlignment());
}
void ShelfLayoutManager::SetChromeVoxPanelHeight(int height) {
« no previous file with comments | « ash/shelf/shelf.cc ('k') | ash/shelf/shelf_types.h » ('j') | ash/wm/common/wm_globals.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698