| Index: ash/wm/shelf_layout_manager.cc
|
| diff --git a/ash/wm/shelf_layout_manager.cc b/ash/wm/shelf_layout_manager.cc
|
| index a04a05f52020af5b53cb1b0b85442de7d8a0bbdb..81b239c504796c990a6fc70a999c520a1a40beb1 100644
|
| --- a/ash/wm/shelf_layout_manager.cc
|
| +++ b/ash/wm/shelf_layout_manager.cc
|
| @@ -257,6 +257,10 @@ void ShelfLayoutManager::UpdateVisibilityState() {
|
| SetState(SHELF_VISIBLE);
|
| } else if (gesture_drag_status_ == GESTURE_DRAG_COMPLETE_IN_PROGRESS) {
|
| SetState(SHELF_AUTO_HIDE);
|
| + } else if (delegate && delegate->IsImmersiveMode()) {
|
| + // The user choosing immersive mode indicates he or she wants to maximize
|
| + // screen real-estate for content, so always auto-hide the shelf.
|
| + SetState(SHELF_AUTO_HIDE);
|
| } else {
|
| WorkspaceWindowState window_state(workspace_controller_->GetWindowState());
|
| switch (window_state) {
|
|
|