editor/nsIDocumentStateListener.idl
author Boris Zbarsky <bzbarsky@mit.edu>
Fri, 13 Jan 2017 10:41:04 -0500
changeset 330397 c70e7a0b7d2904bc0e4722f8bd7baab5abf9b0e9
parent 246062 f2a922fd623e11743f1f2d5379799dab857e4893
child 473184 182cddeb1d5c3da2ad98d614dca215acc362eed5
permissions -rw-r--r--
Bug 851892 part 14. Convert CSSPageRule to WebIDL. r=peterv,heycam The PutForwards bit is a new feature, but easy enough to implement here.

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/. */

#include "nsISupports.idl"

[scriptable, uuid(050cdc00-3b8e-11d3-9ce4-a458f454fcbc)]
interface nsIDocumentStateListener : nsISupports
{

	void        NotifyDocumentCreated();
	void        NotifyDocumentWillBeDestroyed();
	void        NotifyDocumentStateChanged(in boolean nowDirty);

};