Chromium Code Reviews| 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 e57a4ff0bc0ecb56c12fba415058f0d60a13b85f..0aba3dce6759e431036b452bdafbcb75e56c7dde 100644 |
| --- a/ui/views/widget/native_widget_aura.cc |
| +++ b/ui/views/widget/native_widget_aura.cc |
| @@ -738,6 +738,13 @@ void NativeWidgetAura::OnBoundsChanged(const gfx::Rect& old_bounds, |
| delegate_->OnNativeWidgetSizeChanged(new_bounds.size()); |
| } |
| +void NativeWidgetAura::OnPropertyChanged(const void* key, intptr_t old) { |
| + if (key == aura::client::kShowStateKey) { |
| + delegate_->OnNativeWidgetWindowShowStateChanged( |
|
sky
2014/08/06 17:23:00
Won't this result in double the notifications if t
jackhou1
2014/08/11 05:41:06
Yeah, SaveWindowPlacement gets called twice. I thi
|
| + static_cast<ui::WindowShowState>(old)); |
| + } |
| +} |
| + |
| gfx::NativeCursor NativeWidgetAura::GetCursor(const gfx::Point& point) { |
| return cursor_; |
| } |