Skip to content
  • hyatt@apple.com's avatar
    2008-10-07 David Hyatt <hyatt@apple.com> · b2ec5139
    hyatt@apple.com authored
            Make viewless WebKit update focused and active state when the window becomes and loses key.
            The focus controller has been patched to understand that in viewless mode it can recur down and
            update all of the frames, which is why this code works now when placed just on the WebView.
    
            Reviewed by Adam Roben
    
            * WebView/WebView.mm:
            (-[WebView addWindowObservers]):
            (-[WebView removeWindowObservers]):
            (-[WebView viewWillMoveToWindow:]):
            (-[WebView viewDidMoveToWindow]):
            (-[WebView _updateFocusedAndActiveState]):
            (-[WebView _windowDidBecomeKey:]):
            (-[WebView _windowDidResignKey:]):
            (-[WebView _windowWillOrderOnScreen:]):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37384 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b2ec5139