Bug 1885602 - Part 5: Implement navigating to the SUMO help topic from the menu heade...
[gecko.git] / dom / webidl / NotifyPaintEvent.webidl
blob70252524e79960127e2f09087277be2ada0a1955
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  */
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
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;
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;
30   [ChromeOnly, NeedsCallerType]
31   readonly attribute PaintRequestList paintRequests;
33   [ChromeOnly, NeedsCallerType]
34   readonly attribute unsigned long long transactionId;
36   [ChromeOnly, NeedsCallerType]
37   readonly attribute DOMHighResTimeStamp paintTimeStamp;