author Mike Hommey <>
Thu, 26 Mar 2015 12:07:17 +0900
changeset 258314 fc1e894eec2fbd34b745cd94f505080427d24705
parent 257737 8acc69cac05d31cfa5d9ef9aaaaece3be8fce29f
child 265223 4251eef464a2d509087845c54a0397b035d0c709
permissions -rw-r--r--
Bug 1147207 - Add a ComposedFinder class that acts like a FileFinder proxy over multiple FileFinders. r=gps, a=sledru

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at */

#include "nsISupports.idl"

interface nsISupportsArray;
interface nsIDOMWindow;

#define NS_MEDIAMANAGERSERVICE_CID {0xabc622ea, 0x9655, 0x4123, {0x80, 0xd9, 0x22, 0x62, 0x1b, 0xdd, 0x54, 0x65}}

[scriptable, builtinclass, uuid(9b10661f-77b3-47f7-a8de-ee58daaff5d2)]
interface nsIMediaManagerService : nsISupports
  /* return a array of inner windows that have active captures */
  readonly attribute nsISupportsArray activeMediaCaptureWindows;

  /* Get the capture state for the given window and all descendant windows (iframes, etc) */
  void mediaCaptureWindowState(in nsIDOMWindow aWindow, out boolean aVideo, out boolean aAudio,
                               [optional] out boolean aScreenShare, [optional] out boolean aWindowShare,
                               [optional] out boolean aAppShare, [optional] out boolean aBrowserShare);