Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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 };