[worklets] Split apart CompositorWorkerThread for sharing with AnimationWorkletThread.
This splits apart CompositorWorkerThread into:
- CompositorWorkerThread
- AbstractAnimationWorkletThread
And add AnimationWorkletThread which inherits from AbstractAnimationWorkletThread.
AnimationWorkletThread is basically a place holder class at the moment
which needs createWorkerGlobalScope and consoleMessageStorage
implemented (which will be implemented once AnimationWorkletGS is
checked in).
BUG=567358
Review-Url: https://codereview.chromium.org/2214263007
Cr-Commit-Position: refs/heads/master@{#411052}
7 files changed