[chromium] Make WebCompositorOutputSurface an empty class when USE_CC_OUTPUT_SURFACE is defined.
https://bugs.webkit.org/show_bug.cgi?id=103967

Reviewed by James Robinson.

Source/Platform:

When the USE_CC_OUTPUT_SURFACE flag is set:
- Make the WebCompositorOutputSurface class empty.
- Don't define the OutputSurfaceClient.
- Don't define the SoftwareOutputDevice.

WebCompositorSupport has methods to create a WebCompositorOutputSurface. They
will return NULL until the chromium side lands, and then they will be used
in place of the existing WebViewHost methods.

* chromium/public/WebCompositorOutputSurface.h:
(WebKit):
* chromium/public/WebCompositorOutputSurfaceClient.h:
(WebKit):
* chromium/public/WebCompositorSoftwareOutputDevice.h:
(WebKit):
* chromium/public/WebCompositorSupport.h:
(WebKit):
(WebCompositorSupport):
(WebKit::WebCompositorSupport::createOutputSurfaceFor3D):
(WebKit::WebCompositorSupport::createOutputSurfaceForSoftware):

Tools:

Use the WebCompositorSupport methods to create an OutputSurface. If they
fail, then fall back to the WebViewHost methods.

Once the chromium side lands, the WebCompositorSupport methods will stop
failing, and will replace the WebViewHost ones.

* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::createOutputSurface):


git-svn-id: https://svn.webkit.org/repository/webkit/trunk/Source/Platform/chromium/public@136779 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4 files changed
tree: 17926585eaac29ea2da02b8c2ef3e79654b09b1c
  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. WebCompositorFrame.h
  20. WebCompositorFrameAck.h
  21. WebCompositorOutputSurface.h
  22. WebCompositorOutputSurfaceClient.h
  23. WebCompositorSoftwareOutputDevice.h
  24. WebCompositorSupport.h
  25. WebCompositorTransferableResourceList.h
  26. WebContentLayer.h
  27. WebContentLayerClient.h
  28. WebCookie.h
  29. WebCookieJar.h
  30. WebCString.h
  31. WebData.h
  32. WebDelegatedRendererLayer.h
  33. WebDragData.h
  34. WebExternalTextureLayer.h
  35. WebExternalTextureLayerClient.h
  36. WebFileInfo.h
  37. WebFileSystem.h
  38. WebFileUtilities.h
  39. WebFilterOperation.h
  40. WebFilterOperations.h
  41. WebFlingAnimator.h
  42. WebFloatAnimationCurve.h
  43. WebFloatKeyframe.h
  44. WebFloatPoint.h
  45. WebFloatQuad.h
  46. WebFloatRect.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. WebImage.h
  58. WebImageLayer.h
  59. WebInputHandler.h
  60. WebInputHandlerClient.h
  61. WebIOSurfaceLayer.h
  62. WebLayer.h
  63. WebLayerScrollClient.h
  64. WebLayerTreeView.h
  65. WebLayerTreeViewClient.h
  66. WebLocalizedString.h
  67. WebMediaConstraints.h
  68. WebMediaStreamCenter.h
  69. WebMediaStreamCenterClient.h
  70. WebMediaStreamComponent.h
  71. WebMediaStreamDescriptor.h
  72. WebMediaStreamSource.h
  73. WebMediaStreamSourcesRequest.h
  74. WebMessagePortChannel.h
  75. WebMessagePortChannelClient.h
  76. WebMimeRegistry.h
  77. WebNonCopyable.h
  78. WebPoint.h
  79. WebPrerender.h
  80. WebPrerenderingSupport.h
  81. WebPrivateOwnPtr.h
  82. WebPrivatePtr.h
  83. WebRect.h
  84. WebReferrerPolicy.h
  85. WebRenderingStats.h
  86. WebRTCConfiguration.h
  87. WebRTCDataChannel.h
  88. WebRTCICECandidate.h
  89. WebRTCPeerConnectionHandler.h
  90. WebRTCPeerConnectionHandlerClient.h
  91. WebRTCSessionDescription.h
  92. WebRTCSessionDescriptionRequest.h
  93. WebRTCStatsRequest.h
  94. WebRTCStatsResponse.h
  95. WebRTCVoidRequest.h
  96. WebScreenInfo.h
  97. WebScrollbar.h
  98. WebScrollbarLayer.h
  99. WebScrollbarThemeGeometry.h
  100. WebScrollbarThemePainter.h
  101. WebSharedGraphicsContext3D.h
  102. WebSize.h
  103. WebSocketStreamError.h
  104. WebSocketStreamHandle.h
  105. WebSocketStreamHandleClient.h
  106. WebSolidColorLayer.h
  107. WebStorageArea.h
  108. WebStorageNamespace.h
  109. WebString.h
  110. WebThread.h
  111. WebThreadSafeData.h
  112. WebTransformAnimationCurve.h
  113. WebTransformationMatrix.h
  114. WebTransformKeyframe.h
  115. WebTransformOperations.h
  116. WebURL.h
  117. WebURLError.h
  118. WebURLLoader.h
  119. WebURLLoaderClient.h
  120. WebURLLoadTiming.h
  121. WebURLRequest.h
  122. WebURLResponse.h
  123. WebVector.h
  124. WebVideoFrame.h
  125. WebVideoFrameProvider.h
  126. WebVideoLayer.h
  127. WebWorkerRunLoop.h