michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 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 michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsISupports.idl" michael@0: interface nsIURI; michael@0: michael@0: [scriptable, uuid(a71aee68-dd38-4736-bd79-035fea1a1ec6)] michael@0: interface nsISecurityEventSink : nsISupports michael@0: { michael@0: michael@0: /** michael@0: * Fired when a security change occurs due to page transitions, michael@0: * or end document load. This interface should be called by michael@0: * a security package (eg Netscape Personal Security Manager) michael@0: * to notify nsIWebProgressListeners that security state has michael@0: * changed. State flags are in nsIWebProgressListener.idl michael@0: */ michael@0: michael@0: void onSecurityChange(in nsISupports i_Context, in unsigned long state); michael@0: }; michael@0: michael@0: michael@0: michael@0: