Skip to content
  • adele's avatar
    WebCore: · bac8761d
    adele authored
            Reviewed by Maciej.
    
            WebCore part of fix for <rdar://problem/4450613> need a means to attach user data to any menu that is popuped up in HTML
    
            Added private delegate method for clients that want access to a PopupMenu's NSMenu.
    
            * bridge/mac/FrameMac.h:
            * bridge/mac/FrameMac.mm: (WebCore::FrameMac::willPopupMenu):
            * bridge/mac/WebCoreFrameBridge.h:
    
            * platform/mac/PopupMenuMac.mm: (WebCore::PopupMenu::show): Calls willPopupMenu with the NSMenu about to be popped up.
    
    WebKit:
    
            Reviewed by Maciej.
    
            WebKit part of fix for <rdar://problem/4450613> need a means to attach user data to any menu that is popuped up in HTML
    
            Added private delegate method for clients that want access to a PopupMenu's NSMenu.
    
            * DefaultDelegates/WebDefaultUIDelegate.m: (-[NSApplication webView:willPopupMenu:]):
            * WebCoreSupport/WebFrameBridge.m: (-[WebFrameBridge willPopupMenu:]):
            * WebView/WebUIDelegatePrivate.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    bac8761d