| Index: views/widget/native_widget_aura.cc
|
| diff --git a/views/widget/native_widget_aura.cc b/views/widget/native_widget_aura.cc
|
| index cb4eebafab360b2eb12f222ff2297c5b1f98a8f6..c3fa69b6d98f6d25e58245e068a6aee0ce92ac5b 100644
|
| --- a/views/widget/native_widget_aura.cc
|
| +++ b/views/widget/native_widget_aura.cc
|
| @@ -144,6 +144,8 @@ void NativeWidgetAura::InitNativeWidget(const Widget::InitParams& params) {
|
| gfx::NativeView parent = params.GetParent();
|
| if (parent)
|
| parent->AddTransientChild(window_);
|
| + // SetAlwaysOnTop before SetParent so that always-on-top container is used.
|
| + SetAlwaysOnTop(params.keep_on_top);
|
| window_->SetParent(NULL);
|
| }
|
| // TODO(beng): do this some other way.
|
| @@ -418,8 +420,7 @@ bool NativeWidgetAura::IsActive() const {
|
| }
|
|
|
| void NativeWidgetAura::SetAlwaysOnTop(bool on_top) {
|
| - // http://crbug.com/102582
|
| - NOTIMPLEMENTED();
|
| + window_->SetIntProperty(aura::kAlwaysOnTopKey, on_top);
|
| }
|
|
|
| void NativeWidgetAura::Maximize() {
|
|
|