Skip to content
  • weinig@apple.com's avatar
    WebPageGroup's should keep track of what processes they are being used by · 66c00d19
    weinig@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=124556
    
    Reviewed by Dan Bernstein.
    
    * Scripts/webkit2/messages.py:
    (struct_or_class):
    Mark WebPageGroupData as a struct.
    
    * Shared/UserMessageCoders.h:
    * Shared/mac/ObjCObjectGraphCoders.h:
    * Shared/mac/ObjCObjectGraphCoders.mm:
    * WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h:
    * UIProcess/WebConnectionToWebProcess.cpp:
    * UIProcess/WebContext.cpp:
    * UIProcess/WebContextUserMessageCoders.h:
    * UIProcess/WebPageProxy.cpp:
    * UIProcess/WebPageProxy.h:
    Pass the WebProcess/WebProcessProxy to both encode and decode.
    
    * Shared/WebPageCreationParameters.h:
    Pass the page group by ID when creating a page, as it will have had its own
    creation message sent already.
    
    * UIProcess/WebPageGroup.cpp:
    * UIProcess/WebPageGroup.h:
    Keep track of processes.
    
    * UIProcess/WebProcessProxy.cpp:
    * UIProcess/WebProcessProxy.h:
    Keep track of the page groups used by the process.
    
    * WebProcess/WebPage/WebPage.cpp:
    Get the already create page group on creation.
    
    * WebProcess/WebProcess.cpp:
    * WebProcess/WebProcess.h:
    * WebProcess/WebProcess.messages.in:
    Explicitly create page groups in the WebProcess.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159740 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    66c00d19