[chromium] Delete code behind if (!applyXYZScaleInCompositor)
https://bugs.webkit.org/show_bug.cgi?id=111809

Reviewed by James Robinson.

Chromium is setting the flags applyPageScaleFactorInCompositor and
applyDeviceScaleFactorInCompositor permanently to true, so any code
in platform/chromium with the false setting is dead. Delete all of
it.

I also switched FrameTestHelpers and DumpRenderTree to always turn the
setting to true so that they test the code we're actually running.
This exposed a number of failing tests which I added in the
expectations file.

Note also that I made calls to setPageScaleFactor turn on
force-compositing-mode to make the layout tests work, as
pageScaleFactor is now ignored in non-composited mode.

* src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange):
* src/NonCompositedContentHost.cpp:
(WebKit::NonCompositedContentHost::NonCompositedContentHost):
* src/PageWidgetDelegate.cpp:
(WebKit::PageWidgetDelegate::paint):
* src/PageWidgetDelegate.h:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::selectRange):
(WebKit::WebFrameImpl::moveCaretSelectionTowardsWindowPoint):
* src/WebPagePopupImpl.cpp:
(WebKit::WebPagePopupImpl::paint):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::computeScaleAndScrollForHitRect):
(WebKit::WebViewImpl::scaledSize):
(WebKit::WebViewImpl::resize):
(WebKit::WebViewImpl::paint):
(WebKit::WebViewImpl::selectionBounds):
(WebKit::WebViewImpl::computeScaleAndScrollForFocusedNode):
(WebKit::WebViewImpl::clampOffsetAtScale):
(WebKit::WebViewImpl::setPageScaleFactorPreservingScrollOffset):
(WebKit::WebViewImpl::setDeviceScaleFactor):
(WebKit::WebViewImpl::contentsSize):
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
(WebKit::WebViewImpl::applyScrollAndScale):
* src/WebViewImpl.h:
* tests/FrameTestHelpers.cpp:
(WebKit::FrameTestHelpers::createWebView):
* tests/WebFrameTest.cpp:
* tests/WebInputEventConversionTest.cpp:
(WebCore::TEST):


git-svn-id: https://svn.webkit.org/repository/webkit/trunk/Source/Platform/chromium/public@147357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 file changed
tree: 39419a60025107ae110b0c786e82c2333662c9a2
  1. android/
  2. default/
  3. linux/
  4. mac/
  5. win/
  6. Platform.h
  7. WebAnimation.h
  8. WebAnimationCurve.h
  9. WebAnimationDelegate.h
  10. WebAudioBus.h
  11. WebAudioDestinationConsumer.h
  12. WebAudioDevice.h
  13. WebBlobData.h
  14. WebBlobRegistry.h
  15. WebCanvas.h
  16. WebClipboard.h
  17. WebColor.h
  18. WebCommon.h
  19. WebCompositorOutputSurface.h
  20. WebCompositorSupport.h
  21. WebContentLayer.h
  22. WebContentLayerClient.h
  23. WebCookie.h
  24. WebCookieJar.h
  25. WebCString.h
  26. WebData.h
  27. WebDiscardableMemory.h
  28. WebDragData.h
  29. WebExternalTextureLayer.h
  30. WebExternalTextureLayerClient.h
  31. WebFileError.h
  32. WebFileInfo.h
  33. WebFileSystem.h
  34. WebFileSystemCallbacks.h
  35. WebFileSystemEntry.h
  36. WebFileSystemType.h
  37. WebFileUtilities.h
  38. WebFilterOperation.h
  39. WebFilterOperations.h
  40. WebFlingAnimator.h
  41. WebFloatAnimationCurve.h
  42. WebFloatKeyframe.h
  43. WebFloatPoint.h
  44. WebFloatQuad.h
  45. WebFloatRect.h
  46. WebFloatSize.h
  47. WebGamepad.h
  48. WebGamepads.h
  49. WebGestureCurve.h
  50. WebGestureCurveTarget.h
  51. WebGraphicsContext3D.h
  52. WebGraphicsMemoryAllocation.h
  53. WebGraphicsMemoryStats.h
  54. WebHTTPBody.h
  55. WebHTTPHeaderVisitor.h
  56. WebHTTPLoadInfo.h
  57. WebHyphenator.h
  58. WebImage.h
  59. WebImageLayer.h
  60. WebInputHandler.h
  61. WebInputHandlerClient.h
  62. WebLayer.h
  63. WebLayerPositionConstraint.h
  64. WebLayerScrollClient.h
  65. WebLayerTreeView.h
  66. WebLocalizedString.h
  67. WebMediaConstraints.h
  68. WebMediaStream.h
  69. WebMediaStreamCenter.h
  70. WebMediaStreamCenterClient.h
  71. WebMediaStreamSource.h
  72. WebMediaStreamSourcesRequest.h
  73. WebMediaStreamTrack.h
  74. WebMessagePortChannel.h
  75. WebMessagePortChannelClient.h
  76. WebMimeRegistry.h
  77. WebNonCopyable.h
  78. WebPluginListBuilder.h
  79. WebPoint.h
  80. WebPrerender.h
  81. WebPrerenderingSupport.h
  82. WebPrivateOwnPtr.h
  83. WebPrivatePtr.h
  84. WebRect.h
  85. WebReferrerPolicy.h
  86. WebRenderingStats.h
  87. WebRTCConfiguration.h
  88. WebRTCDataChannelHandler.h
  89. WebRTCDataChannelHandlerClient.h
  90. WebRTCDTMFSenderHandler.h
  91. WebRTCDTMFSenderHandlerClient.h
  92. WebRTCICECandidate.h
  93. WebRTCPeerConnectionHandler.h
  94. WebRTCPeerConnectionHandlerClient.h
  95. WebRTCSessionDescription.h
  96. WebRTCSessionDescriptionRequest.h
  97. WebRTCStatsRequest.h
  98. WebRTCStatsResponse.h
  99. WebRTCVoidRequest.h
  100. WebScreenInfo.h
  101. WebScrollbar.h
  102. WebScrollbarLayer.h
  103. WebScrollbarThemeGeometry.h
  104. WebScrollbarThemePainter.h
  105. WebSize.h
  106. WebSocketStreamError.h
  107. WebSocketStreamHandle.h
  108. WebSocketStreamHandleClient.h
  109. WebSolidColorLayer.h
  110. WebSpeechSynthesisUtterance.h
  111. WebSpeechSynthesisVoice.h
  112. WebSpeechSynthesizer.h
  113. WebSpeechSynthesizerClient.h
  114. WebStorageArea.h
  115. WebStorageNamespace.h
  116. WebString.h
  117. WebThread.h
  118. WebThreadSafeData.h
  119. WebTransformAnimationCurve.h
  120. WebTransformKeyframe.h
  121. WebTransformOperations.h
  122. WebUnitTestSupport.h
  123. WebURL.h
  124. WebURLError.h
  125. WebURLLoader.h
  126. WebURLLoaderClient.h
  127. WebURLLoadTiming.h
  128. WebURLRequest.h
  129. WebURLResponse.h
  130. WebVector.h
  131. WebWorkerRunLoop.h