Index: ash/common/shelf/shelf_widget.h |
diff --git a/ash/common/shelf/shelf_widget.h b/ash/common/shelf/shelf_widget.h |
index 7225ccedaf08850275af592ab04d8e77003a7762..688a1c7898903566677105811b32ace0a3458195 100644 |
--- a/ash/common/shelf/shelf_widget.h |
+++ b/ash/common/shelf/shelf_widget.h |
@@ -29,9 +29,6 @@ |
class WmShelf; |
class WmWindow; |
-// The ShelfWidget manages the shelf view (which contains the shelf icons) and |
-// the status area widget. There is one ShelfWidget per display. It is created |
-// early during RootWindowController initialization. |
class ASH_EXPORT ShelfWidget : public views::Widget, |
public views::WidgetObserver, |
public ShelfBackgroundAnimatorObserver, |
@@ -60,11 +57,11 @@ |
ShelfLayoutManager* shelf_layout_manager() { return shelf_layout_manager_; } |
StatusAreaWidget* status_area_widget() const { return status_area_widget_; } |
- // Creates the shelf view and populates it with icons. Called after the user |
- // session is active (and hence the user profile is available). |
ShelfView* CreateShelfView(); |
void PostCreateShelf(); |
+ // Set visibility of the shelf. |
+ void SetShelfVisibility(bool visible); |
bool IsShelfVisible() const; |
bool IsShowingAppList() const; |
@@ -118,8 +115,7 @@ |
// |delegate_view_| is the contents view of this widget and is cleaned up |
// during CloseChildWindows of the associated RootWindowController. |
DelegateView* delegate_view_; |
- // View containing the shelf items. Owned by the views hierarchy. Null when |
- // at the login screen. |
+ // View containing the shelf items. Owned by the views hierarchy. |
ShelfView* shelf_view_; |
ShelfBackgroundAnimator background_animator_; |
bool activating_as_fallback_; |