| Index: ash/common/wm_shell.cc
|
| diff --git a/ash/common/wm_shell.cc b/ash/common/wm_shell.cc
|
| index 7477fa7178ad625ca97c380d9f0cedf9545336fa..c7137bc9571675f739e58e326cf6c9cbd3cf5ccc 100644
|
| --- a/ash/common/wm_shell.cc
|
| +++ b/ash/common/wm_shell.cc
|
| @@ -117,6 +117,16 @@ void WmShell::ShowContextMenu(const gfx::Point& location_in_screen,
|
| source_type);
|
| }
|
|
|
| +void WmShell::CreateShelf() {
|
| + // Must occur after SessionStateDelegate creation and user login.
|
| + DCHECK(GetSessionStateDelegate());
|
| + DCHECK_GT(GetSessionStateDelegate()->NumberOfLoggedInUsers(), 0);
|
| + CreateShelfDelegate();
|
| +
|
| + for (WmWindow* root_window : GetAllRootWindows())
|
| + root_window->GetRootWindowController()->CreateShelf();
|
| +}
|
| +
|
| void WmShell::ShowShelf() {
|
| for (WmWindow* root_window : GetAllRootWindows())
|
| root_window->GetRootWindowController()->ShowShelf();
|
|
|