| Index: ui/aura_shell/shell.cc
|
| diff --git a/ui/aura_shell/shell.cc b/ui/aura_shell/shell.cc
|
| index b0fe26069fae32736f43cedcd1e3b94ca1decadb..03212af131f97e996ff8b575d169a296b90e84f1 100644
|
| --- a/ui/aura_shell/shell.cc
|
| +++ b/ui/aura_shell/shell.cc
|
| @@ -163,7 +163,10 @@ void Shell::AddChildToDefaultParent(aura::Window* window) {
|
| case Widget::InitParams::TYPE_CONTROL:
|
| case Widget::InitParams::TYPE_BUBBLE:
|
| case Widget::InitParams::TYPE_POPUP:
|
| - parent = GetContainer(internal::kShellWindowId_DefaultContainer);
|
| + if (!!window->GetProperty(aura::Window::kPropAlwaysOnTop))
|
| + parent = GetContainer(internal::kShellWindowId_AlwaysOnTopContainer);
|
| + else
|
| + parent = GetContainer(internal::kShellWindowId_DefaultContainer);
|
| break;
|
| case Widget::InitParams::TYPE_MENU:
|
| case Widget::InitParams::TYPE_TOOLTIP:
|
|
|