tree: 19e08659a401f2695faa3d094024c9e86d41d174 [path history] [tgz]
  1. BUILD.gn
  2. DEPS
  3. OWNERS
  4. README.md
  5. content_capture_manager.cc
  6. content_capture_manager.h
  7. content_capture_task.cc
  8. content_capture_task.h
  9. content_capture_task_histogram_reporter.cc
  10. content_capture_task_histogram_reporter.h
  11. content_capture_test.cc
  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.