Skip to content
  • commit-queue@webkit.org's avatar
    [BlackBerry] Implement device metrics for blackberry. · 1e811c7f
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=90494
    RIM PR #159034
    
    Patch by Hanna Ma <Hanma@rim.com> on 2012-07-04
    Reviewed by Rob Buis.
    
    Implement calls to the application to change the device metrics for
    the web inspector.
    
    * Api/WebPage.cpp:
    (BlackBerry::WebKit::WebPagePrivate::applySizeOverride):
    (WebKit):
    (BlackBerry::WebKit::WebPagePrivate::setTextZoomFactor):
    * Api/WebPage_p.h:
    (WebPagePrivate):
    * WebCoreSupport/InspectorClientBlackBerry.cpp:
    (WebCore::InspectorClientBlackBerry::InspectorClientBlackBerry):
    (WebCore::InspectorClientBlackBerry::canOverrideDeviceMetrics):
    (WebCore):
    (WebCore::InspectorClientBlackBerry::overrideDeviceMetrics):
    (WebCore::InspectorClientBlackBerry::supportsFrameInstrumentation):
    * WebCoreSupport/InspectorClientBlackBerry.h:
    (InspectorClientBlackBerry):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    1e811c7f