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

Unified Diff: ash/shelf/shelf_util.cc

Issue 1929023002: Refactors WindowResizers to use ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move forward declaration 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
« no previous file with comments | « ash/shelf/shelf_util.h ('k') | ash/shelf/shelf_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_util.cc
diff --git a/ash/shelf/shelf_util.cc b/ash/shelf/shelf_util.cc
index 41c50007fe180168941b1b840bd68e95187ea039..70fa02b23ca17402fae4907284ef128904445cbf 100644
--- a/ash/shelf/shelf_util.cc
+++ b/ash/shelf/shelf_util.cc
@@ -58,9 +58,4 @@ const ShelfItemDetails* GetShelfItemDetailsForWindow(
return window->GetProperty(kShelfItemDetailsKey);
}
-bool IsHorizontalAlignment(wm::ShelfAlignment alignment) {
- return alignment == wm::SHELF_ALIGNMENT_BOTTOM ||
- alignment == wm::SHELF_ALIGNMENT_BOTTOM_LOCKED;
-}
-
} // namespace ash
« no previous file with comments | « ash/shelf/shelf_util.h ('k') | ash/shelf/shelf_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698