-
samans authored
This CL introduces SurfaceReferenceFactory which can create surface references while hiding the implementation details from its client. So the client cannot tell if the underlying implementation is SurfaceSequence or SurfaceReference, which paves the way for replacing SurfaceSequence with SurfaceReference. All require / satisfy callbacks are now gone and are replaced with different implementations of SurfaceReferenceFactory. This CL also adds SurfaceInfo, which contains information about an embedded surface that are usually passed around together. BUG=659598 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2514033002 Cr-Commit-Position: refs/heads/master@{#439299}
72b2a28c