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.
michael@0 | 1 | /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | |
michael@0 | 6 | #include "domstubs.idl" |
michael@0 | 7 | |
michael@0 | 8 | interface nsIDOMClientRect; |
michael@0 | 9 | |
michael@0 | 10 | /** |
michael@0 | 11 | * These objects are exposed by the MozDOMAfterPaint event. Each one represents |
michael@0 | 12 | * a request to repaint a rectangle that was generated by the browser. |
michael@0 | 13 | */ |
michael@0 | 14 | [scriptable, uuid(9eb5268f-73a4-41da-9790-d21fcefd5ffa)] |
michael@0 | 15 | interface nsIDOMPaintRequest : nsISupports |
michael@0 | 16 | { |
michael@0 | 17 | /** |
michael@0 | 18 | * The client rect where invalidation was triggered. |
michael@0 | 19 | */ |
michael@0 | 20 | readonly attribute nsIDOMClientRect clientRect; |
michael@0 | 21 | /** |
michael@0 | 22 | * The reason for the request, as a string. If an empty string, then we don't know |
michael@0 | 23 | * the reason (this is common). Reasons include "scroll repaint", meaning that we |
michael@0 | 24 | * needed to repaint the rectangle due to scrolling, and "scroll copy", meaning |
michael@0 | 25 | * that we updated the rectangle due to scrolling but instead of painting |
michael@0 | 26 | * manually, we were able to do a copy from another area of the screen. |
michael@0 | 27 | */ |
michael@0 | 28 | [binaryname(XPCOMReason)] |
michael@0 | 29 | readonly attribute DOMString reason; |
michael@0 | 30 | }; |