| Index: ui/views/cocoa/views_nswindow_delegate.mm
|
| diff --git a/ui/views/cocoa/views_nswindow_delegate.mm b/ui/views/cocoa/views_nswindow_delegate.mm
|
| index 038a844a2713d280b5673eb20d5e610a6c211d81..53fd9207cb82c128668c20eb00e8b241cec579a0 100644
|
| --- a/ui/views/cocoa/views_nswindow_delegate.mm
|
| +++ b/ui/views/cocoa/views_nswindow_delegate.mm
|
| @@ -28,8 +28,9 @@
|
| [parent_->ns_view() setWillShow:YES];
|
| }
|
|
|
| -- (void)onWindowOrderChanged {
|
| +- (void)onWindowOrderChanged:(NSNotification*)notification {
|
| [parent_->ns_view() setWillShow:NO];
|
| + parent_->OnVisibilityChanged();
|
| }
|
|
|
| // NSWindowDelegate implementation.
|
| @@ -64,6 +65,14 @@
|
| parent_->OnWindowWillClose();
|
| }
|
|
|
| +- (void)windowDidMiniaturize:(NSNotification*)notification {
|
| + parent_->OnVisibilityChanged();
|
| +}
|
| +
|
| +- (void)windowDidDeminiaturize:(NSNotification*)notification {
|
| + parent_->OnVisibilityChanged();
|
| +}
|
| +
|
| - (void)windowWillEnterFullScreen:(NSNotification*)notification {
|
| parent_->OnFullscreenTransitionStart(true);
|
| }
|
|
|