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

Unified Diff: ash/common/shelf/shelf_widget.h

Issue 2293183002: ash: Remove ash::Shelf in favor of ash::WmShelf (Closed)
Patch Set: rebase again Created 4 years, 4 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/common/shelf/shelf_layout_manager.cc ('k') | ash/common/shelf/shelf_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_widget.h
diff --git a/ash/common/shelf/shelf_widget.h b/ash/common/shelf/shelf_widget.h
index e2e5c8c9e3ed40e68b33b5b5d080034774cd0953..1db458c9cf41e5d034b98bf46f9d2e52d9fef2c3 100644
--- a/ash/common/shelf/shelf_widget.h
+++ b/ash/common/shelf/shelf_widget.h
@@ -23,7 +23,6 @@ class ApplicationDragAndDropHost;
namespace ash {
class AppListButton;
class FocusCycler;
-class Shelf;
class ShelfLayoutManager;
class ShelfView;
class StatusAreaWidget;
@@ -63,10 +62,6 @@ class ASH_EXPORT ShelfWidget : public views::Widget,
void SetDimsShelf(bool dimming);
bool GetDimsShelf() const;
- // TODO(jamescook): Eliminate these.
- Shelf* shelf() { return shelf_; }
- void set_shelf(Shelf* shelf) { shelf_ = shelf; }
-
ShelfLayoutManager* shelf_layout_manager() { return shelf_layout_manager_; }
StatusAreaWidget* status_area_widget() const { return status_area_widget_; }
@@ -135,8 +130,6 @@ class ASH_EXPORT ShelfWidget : public views::Widget,
// Owned by the shelf container's window.
ShelfLayoutManager* shelf_layout_manager_;
- // Owned by the root window controller.
- Shelf* shelf_;
StatusAreaWidget* status_area_widget_;
// |delegate_view_| is the contents view of this widget and is cleaned up
« no previous file with comments | « ash/common/shelf/shelf_layout_manager.cc ('k') | ash/common/shelf/shelf_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698