-
jer.noble@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=113006 Reviewed by Anders Carlsson. Add an observer for the NSWorkspaceActiveSpaceDidChangeNotification notification, and trigger a visibility update when that notification is observed. * UIProcess/API/mac/WKView.mm: (-[WKView dealloc]): Unregister the observer. (-[WKView _activeSpaceDidChange:]): Notify the view that its visibility may have changed. (-[WKView initWithFrame:contextRef:pageGroupRef:relatedToPage:]): Add the observer. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
051dc09b