Skip to content
  • bdakin@apple.com's avatar
    Fix for https://bugs.webkit.org/show_bug.cgi?id=52309 Expose · d53573ca
    bdakin@apple.com authored
    fixed layout through WebKit SPI
    -and corresponding-
    <rdar://problem/8844464>
    
    Reviewed by Anders Carlsson.
    
    Source/WebCore: 
    
    Export symbols for ScrollView::setUseFixedLayout() and 
    ScrollView::setFixedLayoutSize()
    * WebCore.exp.in:
    
    WebKit/mac: 
    
    * WebView/WebView.mm:
    (-[WebView _setUseFixedLayout:]):
    (-[WebView _setFixedLayoutSize:]):
    * WebView/WebViewPrivate.h:
    
    WebKit2: 
    
    Store useFixedLayout and fixedLayoutSize in the 
    WebPageCreationParameters and the WebPageProxy.
    * Shared/WebPageCreationParameters.cpp:
    (WebKit::WebPageCreationParameters::encode):
    (WebKit::WebPageCreationParameters::decode):
    * Shared/WebPageCreationParameters.h:
    * UIProcess/API/C/WKPage.cpp:
    (WKPageSetUseFixedLayout):
    (WKPageSetFixedLayoutSize):
    * UIProcess/API/C/WKPage.h:
    * UIProcess/WebPageProxy.cpp:
    (WebKit::WebPageProxy::WebPageProxy):
    (WebKit::WebPageProxy::setUseFixedLayout):
    (WebKit::WebPageProxy::setFixedLayoutSize):
    (WebKit::WebPageProxy::creationParameters):
    * UIProcess/WebPageProxy.h:
    * WebProcess/WebPage/WebPage.cpp:
    (WebKit::WebPage::setUseFixedLayout):
    (WebKit::WebPage::setFixedLayoutSize):
    * WebProcess/WebPage/WebPage.h:
    * WebProcess/WebPage/WebPage.messages.in:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75635 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d53573ca