tree: b08265449e5ba50e467e61a5183c12d58924dd51 [path history] [tgz]
  1. build.gni
  2. content_capture_manager.cc
  3. content_capture_manager.h
  4. content_capture_task.cc
  5. content_capture_task.h
  6. content_capture_task_histogram_reporter.cc
  7. content_capture_task_histogram_reporter.h
  8. content_capture_test.cc
  9. content_holder.cc
  10. content_holder.h
  11. DEPS
  12. OWNERS
  13. README.md
  14. task_session.cc
  15. task_session.h
third_party/blink/renderer/core/content_capture/README.md

ContentCapture

Rendered

This directory contains ContentCapture which is for capturing on-screen text content and streaming it to a client.

The implementation injects a cc::NodeId into cc::DrawTextBlobOp in paint stage, schedules a best-effort task to retrieve on-screen text content (using an r-tree to capture all cc::NodeId intersecting the screen), and streams the text out through ContentCaptureClient interface. The ContentCaptureTask is a best-effort task in the idle queue and could be paused if there are higher-priority tasks.