editor/nsIDocumentStateListener.idl
author JW Wang <jwwang@mozilla.com>
Mon, 09 Jan 2017 13:06:55 +0800
changeset 458396 06f59c551e95e929c9e8c667b4082fecfeee8f3b
parent 268400 f2a922fd623e11743f1f2d5379799dab857e4893
permissions -rw-r--r--
Bug 1329110. Part 6 - remove StateObject::HandleWaitingForData(). Since DecodingState is the only one that overrides the function, we will let it just override HandleWaitingFor{Audio,Video}. We also reduce the code complexity because it is hard to trace the code when one virtual function calls another virtual function. MozReview-Commit-ID: AdLXpDgvOyx

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

};