editor/nsIDocumentStateListener.idl
author Xidorn Quan <me@upsuper.org>
Fri, 16 Sep 2016 17:23:55 +1000
changeset 314271 60d0e1dbddc00e146462d067c56d79b7b51faf3f
parent 246166 f2a922fd623e11743f1f2d5379799dab857e4893
child 473182 182cddeb1d5c3da2ad98d614dca215acc362eed5
permissions -rw-r--r--
Bug 1303302 - Add IsDestructible trait in TypeTraits and use it for refcounted type static check. r=froydnj MozReview-Commit-ID: G3YFhrJngq0

/* -*- 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);

};