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

Unified Diff: ash/shelf/shelf_layout_manager.h

Issue 1849623002: Remove unused ash::SHELF_ALIGNMENT_TOP (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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_button.cc ('k') | ash/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_layout_manager.h
diff --git a/ash/shelf/shelf_layout_manager.h b/ash/shelf/shelf_layout_manager.h
index 6c9bff965d5cc7e0d5cfaeb2ba58349062aae42f..7628b1340b4cd900670579955ef0de72fe5a3c83 100644
--- a/ash/shelf/shelf_layout_manager.h
+++ b/ash/shelf/shelf_layout_manager.h
@@ -185,8 +185,8 @@ class ASH_EXPORT ShelfLayoutManager
// new Shelf class.
// A helper function that provides a shortcut for choosing
// values specific to a shelf alignment.
- template<typename T>
- T SelectValueForShelfAlignment(T bottom, T left, T right, T top) const {
+ template <typename T>
+ T SelectValueForShelfAlignment(T bottom, T left, T right) const {
switch (GetAlignment()) {
case SHELF_ALIGNMENT_BOTTOM:
return bottom;
@@ -194,8 +194,6 @@ class ASH_EXPORT ShelfLayoutManager
return left;
case SHELF_ALIGNMENT_RIGHT:
return right;
- case SHELF_ALIGNMENT_TOP:
- return top;
}
NOTREACHED();
return right;
« no previous file with comments | « ash/shelf/shelf_button.cc ('k') | ash/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698