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

Unified Diff: ash/shelf/shelf.cc

Issue 1742953002: Simplify ash shelf layout code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore ConvertRectToScreen calls. Created 4 years, 10 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.h ('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.cc
diff --git a/ash/shelf/shelf.cc b/ash/shelf/shelf.cc
index 5cae789bd432150270272a5c97163dd8166c2ce6..18dd34a8ed6f39c03d6af622f980a3e814a85cf5 100644
--- a/ash/shelf/shelf.cc
+++ b/ash/shelf/shelf.cc
@@ -177,14 +177,6 @@ void Shelf::LaunchAppIndexAt(int item_index) {
}
}
-void Shelf::SetShelfViewBounds(gfx::Rect bounds) {
- shelf_view_->SetBoundsRect(bounds);
-}
-
-gfx::Rect Shelf::GetShelfViewBounds() const {
- return shelf_view_->bounds();
-}
-
gfx::Rect Shelf::GetVisibleItemsBoundsInScreen() const {
return shelf_view_->GetVisibleItemsBoundsInScreen();
}
« no previous file with comments | « ash/shelf/shelf.h ('k') | ash/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698