|
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/. */ |
|
5 |
|
6 #include "nsISupports.idl" |
|
7 |
|
8 interface nsISimpleEnumerator; |
|
9 interface nsIURI; |
|
10 |
|
11 /** |
|
12 * The chrome registry implements this interface to give overlays |
|
13 * to the gecko XUL engine. |
|
14 */ |
|
15 |
|
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); |
|
26 |
|
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 }; |