dom/interfaces/events/nsIDOMNotifyPaintEvent.idl

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     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
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 #include "nsIDOMEvent.idl"
     8 interface nsIDOMPaintRequestList;
    10 /**
    11  * The nsIDOMNotifyPaintEvent interface is used for the MozDOMAfterPaint
    12  * event, which fires at a window when painting has happened in
    13  * that window.
    14  */
    15 [scriptable, builtinclass, uuid(ef68f0d5-5b55-4198-9e59-a5e2c57d3adc)]
    16 interface nsIDOMNotifyPaintEvent : nsIDOMEvent
    17 {
    18   /**
    19    * Get a list of rectangles which are affected. The rectangles are in CSS pixels
    20    * relative to the viewport origin.
    21    * If the caller is not trusted (e.g., regular Web content) then only painting
    22    * caused by the current document is reported; in particular, painting in subdocuments
    23    * is not reported.
    24    */
    25   readonly attribute nsIDOMClientRectList clientRects;
    26   /**
    27    * Get the bounding box of the rectangles which are affected. The rectangle
    28    * is in CSS pixels relative to the viewport origin.
    29    * If the caller is not trusted (e.g., regular Web content) then only painting
    30    * caused by the current document is reported; in particular, painting in subdocuments
    31    * is not reported.
    32    */
    33   readonly attribute nsIDOMClientRect boundingClientRect;
    35   readonly attribute nsISupports /* PaintRequestList */ paintRequests;
    36 };

mercurial