|
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 |
|
6 #include "nsIChromeRegistry.idl" |
|
7 |
|
8 interface nsIURI; |
|
9 interface nsIUTF8StringEnumerator; |
|
10 |
|
11 [scriptable, uuid(8727651c-9530-45a0-b81e-0e0690c30c50)] |
|
12 interface nsIToolkitChromeRegistry : nsIXULChromeRegistry |
|
13 { |
|
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. |
|
21 */ |
|
22 void checkForOSAccessibility(); |
|
23 |
|
24 /** |
|
25 * Get a list of locales available for the specified package. |
|
26 */ |
|
27 nsIUTF8StringEnumerator getLocalesForPackage(in AUTF8String aPackage); |
|
28 }; |