diff options
author | miu <miu@chromium.org> | 2015-06-02 15:36:11 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-02 22:36:39 +0000 |
commit | ff6a0e9ee0bd553557778bede8d9344c7a337d6d (patch) | |
tree | e841d52906f894b8e19a5dffb54f1624c70d1417 /chrome/chrome_browser_extensions.gypi | |
parent | adf2ce86bc9c62d6a192fdfb1e8af246ec01c32d (diff) | |
download | chromium_src-ff6a0e9ee0bd553557778bede8d9344c7a337d6d.zip chromium_src-ff6a0e9ee0bd553557778bede8d9344c7a337d6d.tar.gz chromium_src-ff6a0e9ee0bd553557778bede8d9344c7a337d6d.tar.bz2 |
OffscreenPresentation impl, for Presentation API 1UA mode (Part 1 of 2)
This is the first in a 2-part change to support the one user agent (1UA)
mode for the new W3C Presentation API. This part adds a general-purpose
off-screen tab rendering implementation. The second part will add a
chrome.tabCapture.capturePresentation API that spawns
OffscreenPresentations and captures their content into MediaStreams for
transport to a remote display.
Since off-screen tabs are used to simulate a remote device rendering a
web page, they will not show up in any browser windows, nor will they
be visible to other extension APIs, such as chrome.tabs. This is
accomplished by spawning a WebContents instance in its own non-shared,
off-the-record profile; and providing it a WebContentsDelegate that
blocks all normal user interaction (e.g., keyboard/mouse input,
copy/paste to/from the system clipboard, webcam recording, etc.).
BUG=490890
Review URL: https://codereview.chromium.org/1150613003
Cr-Commit-Position: refs/heads/master@{#332481}
Diffstat (limited to 'chrome/chrome_browser_extensions.gypi')
-rw-r--r-- | chrome/chrome_browser_extensions.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/chrome_browser_extensions.gypi b/chrome/chrome_browser_extensions.gypi index 0e07994..51613b6 100644 --- a/chrome/chrome_browser_extensions.gypi +++ b/chrome/chrome_browser_extensions.gypi @@ -469,6 +469,8 @@ 'browser/extensions/api/system_indicator/system_indicator_manager_factory.h', 'browser/extensions/api/system_private/system_private_api.cc', 'browser/extensions/api/system_private/system_private_api.h', + 'browser/extensions/api/tab_capture/offscreen_presentation.cc', + 'browser/extensions/api/tab_capture/offscreen_presentation.h', 'browser/extensions/api/tab_capture/tab_capture_api.cc', 'browser/extensions/api/tab_capture/tab_capture_api.h', 'browser/extensions/api/tab_capture/tab_capture_registry.cc', |