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

Unified Diff: ash/shelf/shelf.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/overflow_bubble_view.cc ('k') | ash/shelf/shelf.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf.h
diff --git a/ash/shelf/shelf.h b/ash/shelf/shelf.h
index f8844586a7a6ad57df53539942186cf705abcfbd..374534ce041e2a34acce995b5f6e9c5423f583b4 100644
--- a/ash/shelf/shelf.h
+++ b/ash/shelf/shelf.h
@@ -66,7 +66,7 @@ class ASH_EXPORT Shelf {
// A helper functions that chooses values specific to a shelf alignment.
template <typename T>
- T SelectValueForShelfAlignment(T bottom, T left, T right, T top) const {
+ T SelectValueForShelfAlignment(T bottom, T left, T right) const {
switch (alignment_) {
case SHELF_ALIGNMENT_BOTTOM:
return bottom;
@@ -74,8 +74,6 @@ class ASH_EXPORT Shelf {
return left;
case SHELF_ALIGNMENT_RIGHT:
return right;
- case SHELF_ALIGNMENT_TOP:
- return top;
}
NOTREACHED();
return right;
« no previous file with comments | « ash/shelf/overflow_bubble_view.cc ('k') | ash/shelf/shelf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698