| Index: ui/views/widget/native_widget_aura.cc
|
| diff --git a/ui/views/widget/native_widget_aura.cc b/ui/views/widget/native_widget_aura.cc
|
| index 098eeaed904ba314b516efa0355ac5cc8ee5e6b7..4e94a2314a84e584d07807a2ad73cd2c83da2170 100644
|
| --- a/ui/views/widget/native_widget_aura.cc
|
| +++ b/ui/views/widget/native_widget_aura.cc
|
| @@ -415,6 +415,8 @@ gfx::Rect NativeWidgetAura::GetRestoredBounds() const {
|
| }
|
|
|
| void NativeWidgetAura::SetBounds(const gfx::Rect& bounds) {
|
| + if (GetRestoreBounds(window_))
|
| + SetRestoreBounds(window_, bounds);
|
| window_->SetBounds(bounds);
|
| }
|
|
|
| @@ -516,8 +518,9 @@ void NativeWidgetAura::Maximize() {
|
| }
|
|
|
| void NativeWidgetAura::Minimize() {
|
| - // No minimized window for aura. crbug.com/104571.
|
| - NOTREACHED();
|
| + // Note: This currently does not do anything except set the property,
|
| + // see crbug.com/104571.
|
| + window_->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_MINIMIZED);
|
| }
|
|
|
| bool NativeWidgetAura::IsMaximized() const {
|
|
|