tree: 92d51d8b586edcbbc929299ca4e1590ec84f6651 [path history] [tgz]
  1. BUILD.gn
  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. DEPS
  10. OWNERS
  11. README.md
  12. sent_nodes.cc
  13. sent_nodes.h
  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.