| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "ash/common/shelf/wm_shelf.h" | |
| 6 | |
| 7 #include "ash/common/wm_root_window_controller.h" | |
| 8 #include "ash/common/wm_shell.h" | |
| 9 #include "ash/common/wm_window.h" | |
| 10 | |
| 11 namespace ash { | |
| 12 | |
| 13 // static | |
| 14 WmShelf* WmShelf::ForPrimaryDisplay() { | |
| 15 return WmShell::Get() | |
| 16 ->GetPrimaryRootWindow() | |
| 17 ->GetRootWindowController() | |
| 18 ->GetShelf(); | |
| 19 } | |
| 20 | |
| 21 } // namespace ash | |
| OLD | NEW |