tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

NotifyPaintEvent.webidl (1214B)


      1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* This Source Code Form is subject to the terms of the Mozilla Public
      3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
      4 * You can obtain one at http://mozilla.org/MPL/2.0/.
      5 */
      6 
      7 /**
      8 * The NotifyPaintEvent interface is used for the MozDOMAfterPaint
      9 * event, which fires at a window when painting has happened in
     10 * that window.
     11 */
     12 [ChromeOnly,
     13 Exposed=Window]
     14 interface NotifyPaintEvent : Event
     15 {
     16  /**
     17   * Get a list of rectangles which are affected. The rectangles are
     18   * in CSS pixels relative to the viewport origin.
     19   */
     20  [ChromeOnly, NeedsCallerType]
     21  readonly attribute DOMRectList clientRects;
     22 
     23  /**
     24   * Get the bounding box of the rectangles which are affected. The rectangle
     25   * is in CSS pixels relative to the viewport origin.
     26   */
     27  [ChromeOnly, NeedsCallerType]
     28  readonly attribute DOMRect boundingClientRect;
     29 
     30  [ChromeOnly, NeedsCallerType]
     31  readonly attribute PaintRequestList paintRequests;
     32 
     33  [ChromeOnly, NeedsCallerType]
     34  readonly attribute unsigned long long transactionId;
     35 
     36  [ChromeOnly, NeedsCallerType]
     37  readonly attribute DOMHighResTimeStamp paintTimeStamp;
     38 };