• seokju@webkit.org's avatar
    Web Inspector: Remove leftover 'device metrics' code · 4a2db1db
    seokju@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=126607
    
    Reviewed by Joseph Pecoraro.
    
    Source/WebCore:
    
    No new tests, No changes in behavior.
    
    Removes unused code related to 'device metrics'.
    
    * css/MediaQueryEvaluator.cpp:
    (WebCore::device_heightMediaFeatureEval):
    (WebCore::device_widthMediaFeatureEval):
    * inspector/InspectorClient.h:
    * inspector/InspectorInstrumentation.cpp:
    * inspector/InspectorInstrumentation.h:
    * inspector/InspectorPageAgent.cpp:
    (WebCore::InspectorPageAgent::InspectorPageAgent):
    (WebCore::InspectorPageAgent::disable):
    (WebCore::InspectorPageAgent::didLayout):
    * inspector/InspectorPageAgent.h:
    * page/DOMWindow.cpp:
    (WebCore::DOMWindow::innerHeight):
    (WebCore::DOMWindow::innerWidth):
    * page/Screen.cpp:
    (WebCore::Screen::height):
    (WebCore::Screen::width):
    * rendering/TextAutosizer.cpp:
    (WebCore::TextAutosizer::processSubtree):
    
    Source/WebKit/blackberry:
    
    Clean up after removing InspectorClient::overrideDeviceMetrics().
    
    * WebCoreSupport/InspectorClientBlackBerry.cpp:
    * WebCoreSupport/InspectorClientBlackBerry.h:
    
    Source/WebKit/mac:
    
    * WebKit.order: Update after removing InspectorClient::overrideDeviceMetrics().
    
    Source/WebKit2:
    
    * mac/WebKit2.order: Update after removing InspectorClient::overrideDeviceMetrics().
    
    LayoutTests:
    
    * inspector/styles/override-screen-size-expected.txt: Removed.
    * inspector/styles/override-screen-size.html: Removed.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    4a2db1db