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: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * * License, v. 2.0. If a copy of the MPL was not distributed with this file,
5 * * You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef ATK_INTERFACE_INIT_FUNCS_H_
8 #define ATK_INTERFACE_INIT_FUNCS_H_
10 #include <atk/atk.h>
12 namespace mozilla {
13 namespace a11y {
15 class AccessibleWrap;
17 } // namespace a11y
18 } // namespace mozilla
20 struct MaiUtilClass;
22 extern "C" {
23 void actionInterfaceInitCB(AtkActionIface* aIface);
24 void componentInterfaceInitCB(AtkComponentIface* aIface);
25 void documentInterfaceInitCB(AtkDocumentIface *aIface);
26 void editableTextInterfaceInitCB(AtkEditableTextIface* aIface);
27 void hyperlinkImplInterfaceInitCB(AtkHyperlinkImplIface *aIface);
28 void hypertextInterfaceInitCB(AtkHypertextIface* aIface);
29 void imageInterfaceInitCB(AtkImageIface* aIface);
30 void selectionInterfaceInitCB(AtkSelectionIface* aIface);
31 void tableInterfaceInitCB(AtkTableIface *aIface);
32 void textInterfaceInitCB(AtkTextIface* aIface);
33 void valueInterfaceInitCB(AtkValueIface *aIface);
34 }
36 /**
37 * XXX these should live in a file of utils for atk.
38 */
39 AtkObject* refAccessibleAtPointHelper(mozilla::a11y::AccessibleWrap* aAccWrap,
40 gint aX, gint aY, AtkCoordType aCoordType);
41 void getExtentsHelper(mozilla::a11y::AccessibleWrap* aAccWrap,
42 gint* aX, gint* aY, gint* aWidth, gint* aHeight,
43 AtkCoordType aCoordType);
45 #endif // ATK_INTERFACE_INIT_FUNCS_H_