nsIToolkitChromeRegistry.idl 1.1 KB

1234567891011121314151617181920212223242526272829
  1. /* -*- Mode: C++; tab-width; 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  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 "nsIChromeRegistry.idl"
  6. interface nsIURI;
  7. interface nsIUTF8StringEnumerator;
  8. [scriptable, uuid(8727651c-9530-45a0-b81e-0e0690c30c50)]
  9. interface nsIToolkitChromeRegistry : nsIXULChromeRegistry
  10. {
  11. /**
  12. * If the OS has a "high-visibility" or "disabled-friendly" theme set,
  13. * we want to force mozilla into the classic theme, which (for the most part
  14. * obeys the system color/font settings. We cannot do this at initialization,
  15. * because it depends on the toolkit (GTK2) being initialized, which is
  16. * not the case in some embedding situations. Embedders have to manually
  17. * call this method during the startup process.
  18. */
  19. void checkForOSAccessibility();
  20. /**
  21. * Get a list of locales available for the specified package.
  22. */
  23. nsIUTF8StringEnumerator getLocalesForPackage(in AUTF8String aPackage);
  24. };