2018-09-13 23:04:55 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2013-04-16 00:27:37 +04:00
|
|
|
/* 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/.
|
|
|
|
*/
|
|
|
|
|
2017-02-02 20:48:48 +03:00
|
|
|
/**
|
|
|
|
* The NotifyPaintEvent interface is used for the MozDOMAfterPaint
|
|
|
|
* event, which fires at a window when painting has happened in
|
|
|
|
* that window.
|
|
|
|
*/
|
2017-02-02 02:12:38 +03:00
|
|
|
[ChromeOnly]
|
2013-04-16 00:27:37 +04:00
|
|
|
interface NotifyPaintEvent : Event
|
|
|
|
{
|
2017-02-02 20:48:48 +03:00
|
|
|
/**
|
|
|
|
* Get a list of rectangles which are affected. The rectangles are
|
|
|
|
* in CSS pixels relative to the viewport origin.
|
|
|
|
*/
|
2017-02-02 02:26:31 +03:00
|
|
|
[ChromeOnly, NeedsCallerType]
|
2013-09-20 14:21:03 +04:00
|
|
|
readonly attribute DOMRectList clientRects;
|
2013-04-16 00:27:37 +04:00
|
|
|
|
2017-02-02 20:48:48 +03:00
|
|
|
/**
|
|
|
|
* Get the bounding box of the rectangles which are affected. The rectangle
|
|
|
|
* is in CSS pixels relative to the viewport origin.
|
|
|
|
*/
|
2017-02-02 02:26:31 +03:00
|
|
|
[ChromeOnly, NeedsCallerType]
|
2013-09-20 14:21:03 +04:00
|
|
|
readonly attribute DOMRect boundingClientRect;
|
2013-04-16 00:27:37 +04:00
|
|
|
|
2017-02-02 02:26:31 +03:00
|
|
|
[ChromeOnly, NeedsCallerType]
|
2013-04-16 00:27:37 +04:00
|
|
|
readonly attribute PaintRequestList paintRequests;
|
2016-04-13 23:59:15 +03:00
|
|
|
|
2017-02-02 02:26:31 +03:00
|
|
|
[ChromeOnly, NeedsCallerType]
|
2016-04-13 23:59:15 +03:00
|
|
|
readonly attribute unsigned long long transactionId;
|
2017-01-26 08:01:33 +03:00
|
|
|
|
2017-02-02 02:26:31 +03:00
|
|
|
[ChromeOnly, NeedsCallerType]
|
2017-01-26 08:01:33 +03:00
|
|
|
readonly attribute DOMHighResTimeStamp paintTimeStamp;
|
2013-04-16 00:27:37 +04:00
|
|
|
};
|