Bumping manifests a=b2g-bump
[gecko.git] / chrome / nsIToolkitChromeRegistry.idl
blob3a9884517f6827a56a0bcc908639403c8cc0ef1f
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/. */
6 #include "nsIChromeRegistry.idl"
8 interface nsIURI;
9 interface nsIUTF8StringEnumerator;
11 [scriptable, uuid(8727651c-9530-45a0-b81e-0e0690c30c50)]
12 interface nsIToolkitChromeRegistry : nsIXULChromeRegistry
14 /**
15 * If the OS has a "high-visibility" or "disabled-friendly" theme set,
16 * we want to force mozilla into the classic theme, which (for the most part
17 * obeys the system color/font settings. We cannot do this at initialization,
18 * because it depends on the toolkit (GTK2) being initialized, which is
19 * not the case in some embedding situations. Embedders have to manually
20 * call this method during the startup process.
22 void checkForOSAccessibility();
24 /**
25 * Get a list of locales available for the specified package.
27 nsIUTF8StringEnumerator getLocalesForPackage(in AUTF8String aPackage);