accessible/src/base/RelationTypeMap.h

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

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.

michael@0 1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
michael@0 2 /* vim: set ts=2 et sw=2 tw=80: */
michael@0 3 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 6
michael@0 7 /**
michael@0 8 * Usage: declare the macro RELATIONTYPE()with the following arguments:
michael@0 9 * RELATIONTYPE(geckoType, geckoTypeName, atkType, msaaType, ia2Type)
michael@0 10 */
michael@0 11
michael@0 12 RELATIONTYPE(LABELLED_BY,
michael@0 13 "labelled by",
michael@0 14 ATK_RELATION_LABELLED_BY,
michael@0 15 NAVRELATION_LABELLED_BY,
michael@0 16 IA2_RELATION_LABELLED_BY)
michael@0 17
michael@0 18 RELATIONTYPE(LABEL_FOR,
michael@0 19 "label for",
michael@0 20 ATK_RELATION_LABEL_FOR,
michael@0 21 NAVRELATION_LABEL_FOR,
michael@0 22 IA2_RELATION_LABEL_FOR)
michael@0 23
michael@0 24 RELATIONTYPE(DESCRIBED_BY,
michael@0 25 "described by",
michael@0 26 ATK_RELATION_DESCRIBED_BY,
michael@0 27 NAVRELATION_DESCRIBED_BY,
michael@0 28 IA2_RELATION_DESCRIBED_BY)
michael@0 29
michael@0 30 RELATIONTYPE(DESCRIPTION_FOR,
michael@0 31 "description for",
michael@0 32 ATK_RELATION_DESCRIPTION_FOR,
michael@0 33 NAVRELATION_DESCRIPTION_FOR,
michael@0 34 IA2_RELATION_DESCRIPTION_FOR)
michael@0 35
michael@0 36 RELATIONTYPE(NODE_CHILD_OF,
michael@0 37 "node child of",
michael@0 38 ATK_RELATION_NODE_CHILD_OF,
michael@0 39 NAVRELATION_NODE_CHILD_OF,
michael@0 40 IA2_RELATION_NODE_CHILD_OF)
michael@0 41
michael@0 42 RELATIONTYPE(NODE_PARENT_OF,
michael@0 43 "node parent of",
michael@0 44 ATK_RELATION_NODE_PARENT_OF,
michael@0 45 NAVRELATION_NODE_PARENT_OF,
michael@0 46 IA2_RELATION_NODE_PARENT_OF)
michael@0 47
michael@0 48 RELATIONTYPE(CONTROLLED_BY,
michael@0 49 "controlled by",
michael@0 50 ATK_RELATION_CONTROLLED_BY,
michael@0 51 NAVRELATION_CONTROLLED_BY,
michael@0 52 IA2_RELATION_CONTROLLED_BY)
michael@0 53
michael@0 54 RELATIONTYPE(CONTROLLER_FOR,
michael@0 55 "controller for",
michael@0 56 ATK_RELATION_CONTROLLER_FOR,
michael@0 57 NAVRELATION_CONTROLLER_FOR,
michael@0 58 IA2_RELATION_CONTROLLER_FOR)
michael@0 59
michael@0 60 RELATIONTYPE(FLOWS_TO,
michael@0 61 "flows to",
michael@0 62 ATK_RELATION_FLOWS_TO,
michael@0 63 NAVRELATION_FLOWS_TO,
michael@0 64 IA2_RELATION_FLOWS_TO)
michael@0 65
michael@0 66 RELATIONTYPE(FLOWS_FROM,
michael@0 67 "flows from",
michael@0 68 ATK_RELATION_FLOWS_FROM,
michael@0 69 NAVRELATION_FLOWS_FROM,
michael@0 70 IA2_RELATION_FLOWS_FROM)
michael@0 71
michael@0 72 RELATIONTYPE(MEMBER_OF,
michael@0 73 "member of",
michael@0 74 ATK_RELATION_MEMBER_OF,
michael@0 75 NAVRELATION_MEMBER_OF,
michael@0 76 IA2_RELATION_MEMBER_OF)
michael@0 77
michael@0 78 RELATIONTYPE(SUBWINDOW_OF,
michael@0 79 "subwindow of",
michael@0 80 ATK_RELATION_SUBWINDOW_OF,
michael@0 81 NAVRELATION_SUBWINDOW_OF,
michael@0 82 IA2_RELATION_SUBWINDOW_OF)
michael@0 83
michael@0 84 RELATIONTYPE(EMBEDS,
michael@0 85 "embeds",
michael@0 86 ATK_RELATION_EMBEDS,
michael@0 87 NAVRELATION_EMBEDS,
michael@0 88 IA2_RELATION_EMBEDS)
michael@0 89
michael@0 90 RELATIONTYPE(EMBEDDED_BY,
michael@0 91 "embedded by",
michael@0 92 ATK_RELATION_EMBEDDED_BY,
michael@0 93 NAVRELATION_EMBEDDED_BY,
michael@0 94 IA2_RELATION_EMBEDDED_BY)
michael@0 95
michael@0 96 RELATIONTYPE(POPUP_FOR,
michael@0 97 "popup for",
michael@0 98 ATK_RELATION_POPUP_FOR,
michael@0 99 NAVRELATION_POPUP_FOR,
michael@0 100 IA2_RELATION_POPUP_FOR)
michael@0 101
michael@0 102 RELATIONTYPE(PARENT_WINDOW_OF,
michael@0 103 "parent window of",
michael@0 104 ATK_RELATION_PARENT_WINDOW_OF,
michael@0 105 NAVRELATION_PARENT_WINDOW_OF,
michael@0 106 IA2_RELATION_PARENT_WINDOW_OF)
michael@0 107
michael@0 108 RELATIONTYPE(DEFAULT_BUTTON,
michael@0 109 "default button",
michael@0 110 ATK_RELATION_NULL,
michael@0 111 NAVRELATION_DEFAULT_BUTTON,
michael@0 112 IA2_RELATION_NULL)
michael@0 113
michael@0 114 RELATIONTYPE(CONTAINING_DOCUMENT,
michael@0 115 "containing document",
michael@0 116 ATK_RELATION_NULL,
michael@0 117 NAVRELATION_CONTAINING_DOCUMENT,
michael@0 118 IA2_RELATION_CONTAINING_DOCUMENT)
michael@0 119
michael@0 120 RELATIONTYPE(CONTAINING_TAB_PANE,
michael@0 121 "containing tab pane",
michael@0 122 ATK_RELATION_NULL,
michael@0 123 NAVRELATION_CONTAINING_TAB_PANE,
michael@0 124 IA2_RELATION_CONTAINING_TAB_PANE)
michael@0 125
michael@0 126 RELATIONTYPE(CONTAINING_APPLICATION,
michael@0 127 "containing application",
michael@0 128 ATK_RELATION_NULL,
michael@0 129 NAVRELATION_CONTAINING_APPLICATION,
michael@0 130 IA2_RELATION_CONTAINING_APPLICATION)

mercurial