Skip to content
  • andersca@apple.com's avatar
    HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen · e8d18173
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=72397
    
    Reviewed by Dan Bernstein.
    
    Source/WebCore:
    
    screenToWindow and windowToScreen already use root view coordinates everywhere, with the
    exception of Mac WebKit1 which doesn't even implement the functions.
    
    * accessibility/mac/WebAccessibilityObjectWrapper.mm:
    (-[WebAccessibilityObjectWrapper position]):
    * loader/EmptyClients.h:
    * page/Chrome.cpp:
    (WebCore::Chrome::screenToRootView):
    (WebCore::Chrome::rootViewToScreen):
    * page/Chrome.h:
    * page/ChromeClient.h:
    * platform/HostWindow.h:
    * platform/ScrollView.cpp:
    (WebCore::ScrollView::contentsToScreen):
    (WebCore::ScrollView::screenToContents):
    * platform/chromium/PopupContainer.cpp:
    (WebCore::PopupContainer::layoutAndCalculateWidgetRect):
    (WebCore::PopupContainer::refresh):
    
    Source/WebKit/chromium:
    
    * src/ChromeClientImpl.cpp:
    (WebKit::ChromeClientImpl::screenToRootView):
    (WebKit::ChromeClientImpl::rootViewToScreen):
    * src/ChromeClientImpl.h:
    * src/WebPopupMenuImpl.cpp:
    (WebKit::WebPopupMenuImpl::screenToRootView):
    (WebKit::WebPopupMenuImpl::rootViewToScreen):
    * src/WebPopupMenuImpl.h:
    * src/WebViewImpl.cpp:
    (WebKit::WebViewImpl::refreshAutofillPopup):
    
    Source/WebKit/efl:
    
    * WebCoreSupport/ChromeClientEfl.cpp:
    (WebCore::ChromeClientEfl::rootViewToScreen):
    (WebCore::ChromeClientEfl::screenToRootView):
    * WebCoreSupport/ChromeClientEfl.h:
    
    Source/WebKit/gtk:
    
    * WebCoreSupport/ChromeClientGtk.cpp:
    (WebKit::ChromeClient::rootViewToScreen):
    (WebKit::ChromeClient::screenToRootView):
    * WebCoreSupport/ChromeClientGtk.h:
    
    Source/WebKit/mac:
    
    * WebCoreSupport/WebChromeClient.h:
    * WebCoreSupport/WebChromeClient.mm:
    (WebChromeClient::screenToRootView):
    (WebChromeClient::rootViewToScreen):
    
    Source/WebKit/qt:
    
    * WebCoreSupport/ChromeClientQt.cpp:
    (WebCore::ChromeClientQt::rootViewToScreen):
    (WebCore::ChromeClientQt::screenToRootView):
    * WebCoreSupport/ChromeClientQt.h:
    
    Source/WebKit/win:
    
    * WebCoreSupport/WebChromeClient.cpp:
    (WebChromeClient::rootViewToScreen):
    (WebChromeClient::screenToRootView):
    * WebCoreSupport/WebChromeClient.h:
    
    Source/WebKit/wince:
    
    * WebCoreSupport/ChromeClientWinCE.cpp:
    (WebKit::ChromeClientWinCE::rootViewToScreen):
    (WebKit::ChromeClientWinCE::screenToRootView):
    * WebCoreSupport/ChromeClientWinCE.h:
    
    Source/WebKit/wx:
    
    * WebKitSupport/ChromeClientWx.cpp:
    (WebCore::ChromeClientWx::rootViewToScreen):
    (WebCore::ChromeClientWx::screenToRootView):
    * WebKitSupport/ChromeClientWx.h:
    
    Source/WebKit2:
    
    * WebProcess/WebCoreSupport/WebChromeClient.cpp:
    (WebKit::WebChromeClient::screenToRootView):
    (WebKit::WebChromeClient::rootViewToScreen):
    * WebProcess/WebCoreSupport/WebChromeClient.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100309 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    e8d18173