dom/interfaces/smil/nsIDOMTimeEvent.idl
author Chris Jones <jones.chris.g@gmail.com>
Tue, 04 Sep 2012 22:17:13 -0700
changeset 104278 4915f7de0b1838c6888a0af41a0b7d82fb5c1a00
parent 101467 df072441c8bb0512e4c43f12b15508c86f7554bc
child 116681 57427d474c9a4f753380f6eba62a8d433f6cc5c1
permissions -rw-r--r--
Bug 780074: Change the fps counter to provide better estimates of instantaneous fps. r=jrmuizel

/* -*- Mode: C++; 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 "nsIDOMEvent.idl"

/**
 * The SMIL TimeEvent interface.
 *
 * For more information please refer to:
 * http://www.w3.org/TR/SMIL/smil-timing.html#Events-TimeEvent
 * http://www.w3.org/TR/SVG/animate.html#InterfaceTimeEvent
 */

[scriptable, builtinclass, uuid(a7ddd388-5fdf-4af8-b3ee-7e1baa636b66)]
interface nsIDOMTimeEvent : nsIDOMEvent
{
  readonly attribute long detail;
  readonly attribute nsIDOMWindow view;
  
  void initTimeEvent(in DOMString typeArg,
                     in nsIDOMWindow viewArg,
                     in long detailArg);
};