michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "domstubs.idl" michael@0: michael@0: [scriptable, uuid(832e692c-c4a6-11e2-8fd1-dce678957a39)] michael@0: interface nsIReflowObserver : nsISupports michael@0: { michael@0: /** michael@0: * Called when an uninterruptible reflow has occurred. michael@0: * michael@0: * @param start timestamp when reflow ended, in milliseconds since michael@0: * navigationStart (accurate to 1/1000 of a ms) michael@0: * @param end timestamp when reflow ended, in milliseconds since michael@0: * navigationStart (accurate to 1/1000 of a ms) michael@0: */ michael@0: void reflow(in DOMHighResTimeStamp start, michael@0: in DOMHighResTimeStamp end); michael@0: michael@0: /** michael@0: * Called when an interruptible reflow has occurred. michael@0: * michael@0: * @param start timestamp when reflow ended, in milliseconds since michael@0: * navigationStart (accurate to 1/1000 of a ms) michael@0: * @param end timestamp when reflow ended, in milliseconds since michael@0: * navigationStart (accurate to 1/1000 of a ms) michael@0: */ michael@0: void reflowInterruptible(in DOMHighResTimeStamp start, michael@0: in DOMHighResTimeStamp end); michael@0: };