• yiyix's avatar
    Using CompositorFrameSinkSupport to handle the copy request · e544a1ed
    yiyix authored
    In the current implementation, the copy request is handled by
    DelegatedFrameHost::RequestCopyOfOutput, which add copy request to
    the compositor frame of the browser. After this patch, the copy
    request will be handled by the
    CompositorFrameSinkSupport:RequestCopyOfSurface which adds the
    copy request to the surface where the copy request needs to be make.
    
    TEST: exiting test cases on copy requests should cover all the usage
    
    Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
    Change-Id: I5c0b4572a7b8ed5fce0f5ee10f5d4dd982912e0a
    Reviewed-on: https://chromium-review.googlesource.com/881548Reviewed-by: default avatarYuri Wiitala <miu@chromium.org>
    Reviewed-by: default avatarccameron <ccameron@chromium.org>
    Commit-Queue: Yi Xu <yiyix@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#534838}
    e544a1ed
delegated_frame_host.cc 36.3 KB