Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Side by Side Diff: chrome/common/extensions/api/tab_capture_private.idl

Issue 1221483002: New tabCapture.captureOffscreenTab API, initially for Presentation API 1UA mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Register off-screen tabs as presentations via separate private API. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // The <code>chrome.tabCapturePrivate</code> API provides extra functionality
6 // needed by the Chrome Media Router.
7 namespace tabCapturePrivate {
8 callback DoneCallback = void ();
9
10 interface Functions {
11 // Registers an off-screen tab as a "receiving browsing context" in a
12 // PresentationSession (see https://w3c.github.io/presentation-api). The
13 // two arguments are strings identifying the off-screen tab and the
14 // PresentationSession. The |offscreenTabId| is found as a property in the
15 // MediaStream object returned by chrome.tabCapture.captureOffscreenTab().
16 //
17 // See chrome/test/data/extensions/api_test/tab_capture/api_tests.js for
18 // usage example.
19 static void registerOffscreenTabAsPresentation(
20 DOMString offscreenTabId,
21 DOMString presentationId,
22 DoneCallback callback);
23 };
24 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698