Skip to content
  • commit-queue@webkit.org's avatar
    [BlackBerry] Move about: URL handling out of WebCore · 13fd82c6
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=91541
    
    Patch by Yong Li <yoli@rim.com> on 2012-07-23
    Reviewed by Rob Buis.
    
    PR# 181304.
    Move about: URL handling to the right place (FrameLoaderClientBlackBerry::createDocumentLoader), so
    reload and history navigation can work.
    Other changes: Remove about:version which makes little sense. Make about:memory partially visible.
    
    * Api/WebPage.cpp:
    (BlackBerry::WebKit::WebPage::load): Remove the call to loadAbout()
    * Api/WebPage_p.h: Remove loadAbout()
    (WebPagePrivate):
    * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
    (WebCore::FrameLoaderClientBlackBerry::createDocumentLoader): Construct about: data here.
    * WebKitSupport/AboutData.cpp:
    (BlackBerry::WebKit::numberToHTMLTr): Make it static
    (BlackBerry::WebKit::configPage): Make it static
    (BlackBerry::WebKit::memoryPage): Make it static
    (BlackBerry::WebKit::cachePage):
    (BlackBerry::WebKit::buildPage):
    (BlackBerry::WebKit::creditsPage):
    (BlackBerry::WebKit::cookiePage):
    (BlackBerry::WebKit::aboutData): The only export function that returns HTML source for a given about: URL.
    (WebKit):
    * WebKitSupport/AboutData.h:
    (WebKit):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123391 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    13fd82c6