[go: nahoru, domu]

Provide a way to associate DrawTextBlobOp with Node

This is first ContentCapture patch in cc, NodeHolder is added and
provides a way to associate DrawTextBlobOp with Node information.

Currently, DrawTextBlobOp can associate with either a small pointer
or a ID, we will compare the performance of those two, and only
one of them will be supported in the end.

This patch also add new drawTextBlob method in PaintCanvas for the
embedder(blink) to pass the NodeHolder in.

Bug: 924681
Change-Id: I8950833d7f41669611466edff1c98945645119df
Reviewed-on: https://chromium-review.googlesource.com/c/1432954
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: enne <enne@chromium.org>
Commit-Queue: Tao Bai <michaelbai@chromium.org>
Cr-Commit-Position: refs/heads/master@{#627654}
12 files changed