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

Unified Diff: ash/shelf/shelf.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.cc
diff --git a/ash/shelf/shelf.cc b/ash/shelf/shelf.cc
index b564286314e9fb20b3214d6a53e8069ae49c6a27..412498192f188cd8a0d514e19290132f76c4e6c7 100644
--- a/ash/shelf/shelf.cc
+++ b/ash/shelf/shelf.cc
@@ -22,6 +22,7 @@
#include "ash/shell_delegate.h"
#include "ash/shell_window_ids.h"
#include "ash/wm/aura/wm_shelf_aura.h"
+#include "ash/wm/common/shelf/wm_shelf_util.h"
#include "ash/wm/window_properties.h"
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
@@ -90,7 +91,7 @@ void Shelf::SetAlignment(wm::ShelfAlignment alignment) {
}
bool Shelf::IsHorizontalAlignment() const {
- return ash::IsHorizontalAlignment(alignment_);
+ return wm::IsHorizontalAlignment(alignment_);
}
void Shelf::SetAutoHideBehavior(ShelfAutoHideBehavior auto_hide_behavior) {

Powered by Google App Engine
This is Rietveld 408576698