michael@0: /* -*- Mode: java; tab-width: 8; 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: michael@0: interface nsISimpleEnumerator; michael@0: interface nsIURI; michael@0: michael@0: /** michael@0: * The chrome registry implements this interface to give overlays michael@0: * to the gecko XUL engine. michael@0: */ michael@0: michael@0: [scriptable, uuid(1d5b5b94-dc47-4050-93b7-ac092e383cad)] michael@0: interface nsIXULOverlayProvider : nsISupports michael@0: { michael@0: /** michael@0: * Get the XUL overlays for a particular chrome URI. michael@0: * michael@0: * @param aURI The URI being loaded michael@0: * @return An enumerator of nsIURI for the overlays of this URI michael@0: */ michael@0: nsISimpleEnumerator /*nsIURI*/ getXULOverlays(in nsIURI aURI); michael@0: michael@0: /** michael@0: * Get the style overlays for a particular chrome URI. michael@0: * michael@0: * @param aURI The URI being loaded michael@0: * @return An enumerator of nsIURI for the overlays of this URI michael@0: */ michael@0: nsISimpleEnumerator /*nsIURI*/ getStyleOverlays(in nsIURI aURI); michael@0: };