[chromium] Pass showDebugBorders directly to WebLayerTreeSettings, don't use the GraphicsLayer border width setting.
https://bugs.webkit.org/show_bug.cgi?id=102130

Reviewed by James Robinson.

Source/Platform:

* chromium/public/WebLayerTreeView.h:
(WebKit::WebLayerTreeView::Settings::Settings):
(Settings):

Source/WebCore:

The current method of setting debug borders on GraphicsLayers requires
every GraphicsLayerClient to set the value on the layer(s) it
represents. This skips the NonCompositedContentHost as well as any
other clients other than RenderLayerBacking - including layers from the
inspector.

Instead, pass the debug border setting directly to the
WebLayerTreeSettings where the compositor can use the flag to enable
borders on all layers globally.

* platform/graphics/chromium/GraphicsLayerChromium.cpp:
(WebCore::GraphicsLayerChromium::GraphicsLayerChromium):
(WebCore::GraphicsLayerChromium::updateMasksToBounds):
(WebCore::GraphicsLayerChromium::updateLayerIsDrawable):
(WebCore::GraphicsLayerChromium::setupContentsLayer):
* platform/graphics/chromium/GraphicsLayerChromium.h:
(GraphicsLayerChromium):

Source/WebKit/chromium:

* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
(WebKit):


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