Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
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
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();
24 /**
25 * Get a list of locales available for the specified package.
26 */
27 nsIUTF8StringEnumerator getLocalesForPackage(in AUTF8String aPackage);
28 };