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

Unified Diff: ash/shelf/shelf_layout_manager.cc

Issue 1743493002: Cleanup ash shelf accessor functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix ShelfBrowserTest. 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
Index: ash/shelf/shelf_layout_manager.cc
diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
index 110f38cfbb4badfc2f7e988323cd03562d1d5d87..c2e65a5a7ddf17b3916c6df84df506426c3c7c0d 100644
--- a/ash/shelf/shelf_layout_manager.cc
+++ b/ash/shelf/shelf_layout_manager.cc
@@ -544,12 +544,6 @@ void ShelfLayoutManager::SetChromeVoxPanelHeight(int height) {
LayoutShelf();
}
-// static
-ShelfLayoutManager* ShelfLayoutManager::ForShelf(aura::Window* window) {
- ShelfWidget* shelf = RootWindowController::ForShelf(window)->shelf();
- return shelf ? shelf->shelf_layout_manager() : NULL;
-}
-
////////////////////////////////////////////////////////////////////////////////
// ShelfLayoutManager, private:

Powered by Google App Engine
This is Rietveld 408576698