Transfer components of SurfaceId in OffscreenCanvas

OffscreenCanvas should keep the SurfaceId from its associated HTMLCanvasElement
so that when it is transferred to worker thread, it can directly submit
CompositorFrame to browser without going through main thread.

This is a preparation step before submiting CompositorFrame to Surface from
either main or worker thread.

BUG=611796

Review-Url: https://codereview.chromium.org/2143033005
Cr-Commit-Position: refs/heads/master@{#405673}
4 files changed