|
New tabCapture.captureOffscreenTab API, initially for Presentation API 1UA mode
This is the second in a 2-part change to support the one user agent
(1UA) mode for the new W3C Presentation API. This part adds a new
chrome.tabCapture.captureOffscreenTab API that spawns off-screen tabs
and captures their content into MediaStreams for transport to a remote
display.
This change includes some refactoring of code common to this new API and
the existing tabCapture.capture API. In addition, the concept of
"anonymous" tab capture requests has been added to TabCaptureRegistry,
to explicitly make the off-screen tabs invisible to other extensions APIs
(this is by design).
At this time, the new API is only available on the Canary and Dev
channels, and to certain whitelisted extensions.
BUG= 490890, 537732
Committed: https://crrev.com/b7e17a44a8bc21255a2f4993a549bccf8cca93d4
Cr-Commit-Position: refs/heads/master@{#352144}
Total comments: 8
Total comments: 15
Total comments: 6
Total comments: 6
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+877 lines, -124 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/tab_capture/offscreen_presentation.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/tab_capture/offscreen_presentation.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+18 lines, -31 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/tab_capture/tab_capture_api.h
|
View
|
1
2
7
|
2 chunks |
+23 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/tab_capture/tab_capture_api.cc
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+209 lines, -61 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc
|
View
|
1
2
4
|
3 chunks |
+101 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/tab_capture/tab_capture_registry.h
|
View
|
|
1 chunk |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc
|
View
|
1
2
3
4
5
|
7 chunks |
+20 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/tab_capture.idl
|
View
|
1
2
3
7
|
2 chunks |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/resources/extensions/tab_capture_custom_bindings.js
|
View
|
1
2
7
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/tab_capture/api_tests.js
|
View
|
1
2
3
7
|
2 chunks |
+47 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/tab_capture/max_offscreen_tabs.html
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/tab_capture/max_offscreen_tabs.js
|
View
|
1
2
3
4
5
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/tab_capture/offscreen_end_to_end.html
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/tab_capture/offscreen_end_to_end.js
|
View
|
1
2
3
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/tab_capture/offscreen_evil_tests.html
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/tab_capture/offscreen_evil_tests.js
|
View
|
1
2
3
|
1 chunk |
+85 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/tab_capture/offscreen_test_harness.js
|
View
|
1
2
|
1 chunk |
+188 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/extension_function_histogram_value.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 41 (10 generated)
|