| Index: ash/shell.cc
|
| diff --git a/ash/shell.cc b/ash/shell.cc
|
| index 213fa9bec5043968a251d9cce96b0cab17d47220..90c62c0b85af397d0abb5a33da500ac9527fdbff 100644
|
| --- a/ash/shell.cc
|
| +++ b/ash/shell.cc
|
| @@ -229,6 +229,15 @@ Shell::RootWindowControllerList Shell::GetAllRootWindowControllers() {
|
| }
|
|
|
| // static
|
| +RootWindowController* Shell::GetRootWindowControllerWithDisplayId(
|
| + int64_t display_id) {
|
| + CHECK(HasInstance());
|
| + WmWindow* root_window =
|
| + instance_->wm_shell_->GetRootWindowForDisplayId(display_id);
|
| + return root_window ? root_window->GetRootWindowController() : nullptr;
|
| +}
|
| +
|
| +// static
|
| aura::Window* Shell::GetPrimaryRootWindow() {
|
| CHECK(HasInstance());
|
| return instance_->wm_shell_->GetPrimaryRootWindow()->aura_window();
|
|
|