other-licenses/atk-1.0/atk/atkrelationtype.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
-rwxr-xr-x

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 /* ATK - Accessibility Toolkit
michael@0 2 * Copyright 2002 Sun Microsystems Inc.
michael@0 3 *
michael@0 4 * This library is free software; you can redistribute it and/or
michael@0 5 * modify it under the terms of the GNU Library General Public
michael@0 6 * License as published by the Free Software Foundation; either
michael@0 7 * version 2 of the License, or (at your option) any later version.
michael@0 8 *
michael@0 9 * This library is distributed in the hope that it will be useful,
michael@0 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
michael@0 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
michael@0 12 * Library General Public License for more details.
michael@0 13 *
michael@0 14 * You should have received a copy of the GNU Library General Public
michael@0 15 * License along with this library; if not, write to the
michael@0 16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
michael@0 17 * Boston, MA 02111-1307, USA.
michael@0 18 */
michael@0 19
michael@0 20 #if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)
michael@0 21 #error "Only <atk/atk.h> can be included directly."
michael@0 22 #endif
michael@0 23
michael@0 24 #ifndef __ATK_RELATION_TYPE_H__
michael@0 25 #define __ATK_RELATION_TYPE_H__
michael@0 26
michael@0 27 #include <glib.h>
michael@0 28
michael@0 29 G_BEGIN_DECLS
michael@0 30
michael@0 31 /**
michael@0 32 *AtkRelationType:
michael@0 33 *@ATK_RELATION_NULL: Not used, represens "no relationship" or an error condition.
michael@0 34 *@ATK_RELATION_CONTROLLED_BY: Indicates an object controlled by one or more target objects.
michael@0 35 *@ATK_RELATION_CONTROLLER_FOR: Indicates an object is an controller for one or more target objects.
michael@0 36 *@ATK_RELATION_LABEL_FOR: Indicates an object is a label for one or more target objects.
michael@0 37 *@ATK_RELATION_LABELLED_BY: Indicates an object is labelled by one or more target objects.
michael@0 38 *@ATK_RELATION_MEMBER_OF: Indicates an object is a member of a group of one or more target objects.
michael@0 39 *@ATK_RELATION_NODE_CHILD_OF: Indicates an object is a cell in a treetable which is displayed because a cell in the same column is expanded and identifies that cell.
michael@0 40 *@ATK_RELATION_FLOWS_TO: Indicates that the object has content that flows logically to another
michael@0 41 * AtkObject in a sequential way, (for instance text-flow).
michael@0 42 *@ATK_RELATION_FLOWS_FROM: Indicates that the object has content that flows logically from
michael@0 43 * another AtkObject in a sequential way, (for instance text-flow).
michael@0 44 *@ATK_RELATION_SUBWINDOW_OF: Indicates a subwindow attached to a component but otherwise has no connection in the UI heirarchy to that component.
michael@0 45 *@ATK_RELATION_EMBEDS: Indicates that the object visually embeds
michael@0 46 * another object's content, i.e. this object's content flows around
michael@0 47 * another's content.
michael@0 48 *@ATK_RELATION_EMBEDDED_BY: Inverse of %ATK_RELATION_EMBEDS, indicates that
michael@0 49 * this object's content is visualy embedded in another object.
michael@0 50 *@ATK_RELATION_POPUP_FOR: Indicates that an object is a popup for another object.
michael@0 51 *@ATK_RELATION_PARENT_WINDOW_OF: Indicates that an object is a parent window of another object.
michael@0 52 *@ATK_RELATION_DESCRIBED_BY: Indicates that another object provides descriptive information about this object; more verbose than ATK_RELATION_LABELLED_BY.
michael@0 53 *@ATK_RELATION_DESCRIPTION_FOR: Indicates that an object provides descriptive information about another object; more verbose than ATK_RELATION_LABEL_FOR.
michael@0 54 *@ATK_RELATION_NODE_PARENT_OF: Indicates an object is a cell in a treetable and is expanded to display other cells in the same column.
michael@0 55 *@ATK_RELATION_LAST_DEFINED: Not used, this value indicates the end of the enumeration.
michael@0 56 *
michael@0 57 *Describes the type of the relation
michael@0 58 **/
michael@0 59 typedef enum
michael@0 60 {
michael@0 61 ATK_RELATION_NULL = 0,
michael@0 62 ATK_RELATION_CONTROLLED_BY,
michael@0 63 ATK_RELATION_CONTROLLER_FOR,
michael@0 64 ATK_RELATION_LABEL_FOR,
michael@0 65 ATK_RELATION_LABELLED_BY,
michael@0 66 ATK_RELATION_MEMBER_OF,
michael@0 67 ATK_RELATION_NODE_CHILD_OF,
michael@0 68 ATK_RELATION_FLOWS_TO,
michael@0 69 ATK_RELATION_FLOWS_FROM,
michael@0 70 ATK_RELATION_SUBWINDOW_OF,
michael@0 71 ATK_RELATION_EMBEDS,
michael@0 72 ATK_RELATION_EMBEDDED_BY,
michael@0 73 ATK_RELATION_POPUP_FOR,
michael@0 74 ATK_RELATION_PARENT_WINDOW_OF,
michael@0 75 ATK_RELATION_DESCRIBED_BY,
michael@0 76 ATK_RELATION_DESCRIPTION_FOR,
michael@0 77 ATK_RELATION_NODE_PARENT_OF,
michael@0 78 ATK_RELATION_LAST_DEFINED
michael@0 79 } AtkRelationType;
michael@0 80
michael@0 81 G_END_DECLS
michael@0 82
michael@0 83 #endif /* __ATK_RELATION_TYPE_H__ */

mercurial