widget/nsIGfxInfo2.idl
author Bobby Holley <bobbyholley@gmail.com>
Sun, 22 Feb 2015 14:16:28 -0800
changeset 261586 2a077477b16c970ce100f41fbba2dde13fc9919d
parent 243398 d0d36a9b8b7d9dfbd1dd78d3b926a75ad7298c8b
permissions -rw-r--r--
Bug 1135785 - Make DecodeError safe to run on any thread. r=cpearce This is necessary so that we can make On{Audio,Video}{,Not}Decoded run on the state machine thread in the next patch.

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 *
 * 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 http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"

/**
 * nsIGfxInfo2 is a separately implemented extension of nsIGfxInfo, to
 * allow us (in effect) to tack things onto the nsIGfxInfo interface
 * without changing it.
 */

[scriptable, uuid(9C8D8F44-6D52-45AA-8921-734EF4DF5DFE)]
interface nsIGfxInfo2 : nsISupports
{
  /**
   * Not really Gfx-related.  Here for convenience,
   * possibly only temporarily.  See bug 1102295.
   */
  readonly attribute DOMString countryCode;
};