Skip to content
  • seokju@webkit.org's avatar
    Web Inspector: Remove canOverrideDeviceMetrics and setDeviceMetricsOverride from protocol · 5b14c407
    seokju@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=126149
    
    Reviewed by Joseph Pecoraro.
    
    Source/WebCore:
    
    No new tests, No changes in behavior.
    
    These are not used anywhere in WebInspectorUI.
    So, it removes unused Protocols and APIs.
    
    * inspector/InspectorClient.h:
    * inspector/InspectorPageAgent.cpp:
    (WebCore::InspectorPageAgent::InspectorPageAgent):
    (WebCore::InspectorPageAgent::disable):
    * inspector/InspectorPageAgent.h:
    * inspector/protocol/Page.json:
    
    Source/WebInspectorUI:
    
    * UserInterface/InspectorWebBackendCommands.js: Remove unused codes.
    * UserInterface/Legacy/6.0/InspectorWebBackendCommands.js: Ditto.
    * UserInterface/Legacy/7.0/InspectorWebBackendCommands.js: Ditto.
    * Versions/Inspector-iOS-6.0.json: Ditto.
    * Versions/Inspector-iOS-7.0.json: Ditto.
    
    Source/WebKit/blackberry:
    
    * WebCoreSupport/InspectorClientBlackBerry.cpp: Remove dead codes.
    * WebCoreSupport/InspectorClientBlackBerry.h: Ditto.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161402 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    5b14c407