content/xul/document/public/nsIXULOverlayProvider.idl

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
     2 /* This Source Code Form is subject to the terms of the Mozilla Public
     3  * License, v. 2.0. If a copy of the MPL was not distributed with this
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 #include "nsISupports.idl"
     8 interface nsISimpleEnumerator;
     9 interface nsIURI;
    11 /**
    12  * The chrome registry implements this interface to give overlays
    13  * to the gecko XUL engine.
    14  */
    16 [scriptable, uuid(1d5b5b94-dc47-4050-93b7-ac092e383cad)]
    17 interface nsIXULOverlayProvider : nsISupports
    18 {
    19     /**
    20      * Get the XUL overlays for a particular chrome URI.
    21      *
    22      * @param aURI  The URI being loaded
    23      * @return      An enumerator of nsIURI for the overlays of this URI 
    24      */
    25     nsISimpleEnumerator /*nsIURI*/ getXULOverlays(in nsIURI aURI);
    27     /**
    28      * Get the style overlays for a particular chrome URI.
    29      *
    30      * @param aURI  The URI being loaded
    31      * @return      An enumerator of nsIURI for the overlays of this URI 
    32      */
    33     nsISimpleEnumerator /*nsIURI*/ getStyleOverlays(in nsIURI aURI);
    34 };

mercurial