| Index: views/widget/native_widget_aura.cc
|
| diff --git a/views/widget/native_widget_aura.cc b/views/widget/native_widget_aura.cc
|
| index 8da5452a3bda5237fb9ef22eab9ea92d92fbd19f..e261df8d157c442f626f4302a05e0e745825902a 100644
|
| --- a/views/widget/native_widget_aura.cc
|
| +++ b/views/widget/native_widget_aura.cc
|
| @@ -143,6 +143,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.
|
| @@ -410,8 +412,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() {
|
|
|