1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/xul/document/public/nsIXULOverlayProvider.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +#include "nsISupports.idl" 1.10 + 1.11 +interface nsISimpleEnumerator; 1.12 +interface nsIURI; 1.13 + 1.14 +/** 1.15 + * The chrome registry implements this interface to give overlays 1.16 + * to the gecko XUL engine. 1.17 + */ 1.18 + 1.19 +[scriptable, uuid(1d5b5b94-dc47-4050-93b7-ac092e383cad)] 1.20 +interface nsIXULOverlayProvider : nsISupports 1.21 +{ 1.22 + /** 1.23 + * Get the XUL overlays for a particular chrome URI. 1.24 + * 1.25 + * @param aURI The URI being loaded 1.26 + * @return An enumerator of nsIURI for the overlays of this URI 1.27 + */ 1.28 + nsISimpleEnumerator /*nsIURI*/ getXULOverlays(in nsIURI aURI); 1.29 + 1.30 + /** 1.31 + * Get the style overlays for a particular chrome URI. 1.32 + * 1.33 + * @param aURI The URI being loaded 1.34 + * @return An enumerator of nsIURI for the overlays of this URI 1.35 + */ 1.36 + nsISimpleEnumerator /*nsIURI*/ getStyleOverlays(in nsIURI aURI); 1.37 +};