nsIXULOverlayProvider.idl 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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. #include "nsISupports.idl"
  6. interface nsISimpleEnumerator;
  7. interface nsIURI;
  8. /**
  9. * The chrome registry implements this interface to give overlays
  10. * to the gecko XUL engine.
  11. */
  12. [scriptable, uuid(1d5b5b94-dc47-4050-93b7-ac092e383cad)]
  13. interface nsIXULOverlayProvider : nsISupports
  14. {
  15. /**
  16. * Get the XUL overlays for a particular chrome URI.
  17. *
  18. * @param aURI The URI being loaded
  19. * @return An enumerator of nsIURI for the overlays of this URI
  20. */
  21. nsISimpleEnumerator /*nsIURI*/ getXULOverlays(in nsIURI aURI);
  22. /**
  23. * Get the style overlays for a particular chrome URI.
  24. *
  25. * @param aURI The URI being loaded
  26. * @return An enumerator of nsIURI for the overlays of this URI
  27. */
  28. nsISimpleEnumerator /*nsIURI*/ getStyleOverlays(in nsIURI aURI);
  29. };