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/.
8 * The NotifyPaintEvent interface is used for the MozDOMAfterPaint
9 * event, which fires at a window when painting has happened in
14 interface NotifyPaintEvent : Event
17 * Get a list of rectangles which are affected. The rectangles are
18 * in CSS pixels relative to the viewport origin.
20 [ChromeOnly, NeedsCallerType]
21 readonly attribute DOMRectList clientRects;
24 * Get the bounding box of the rectangles which are affected. The rectangle
25 * is in CSS pixels relative to the viewport origin.
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;