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.
michael@0 | 1 | /************************************************************************* |
michael@0 | 2 | * |
michael@0 | 3 | * File Name (AccessibleEventID.idl) |
michael@0 | 4 | * |
michael@0 | 5 | * IAccessible2 IDL Specification |
michael@0 | 6 | * |
michael@0 | 7 | * Copyright (c) 2007, 2010 Linux Foundation |
michael@0 | 8 | * Copyright (c) 2006 IBM Corporation |
michael@0 | 9 | * Copyright (c) 2000, 2006 Sun Microsystems, Inc. |
michael@0 | 10 | * All rights reserved. |
michael@0 | 11 | * |
michael@0 | 12 | * |
michael@0 | 13 | * Redistribution and use in source and binary forms, with or without |
michael@0 | 14 | * modification, are permitted provided that the following conditions |
michael@0 | 15 | * are met: |
michael@0 | 16 | * |
michael@0 | 17 | * 1. Redistributions of source code must retain the above copyright |
michael@0 | 18 | * notice, this list of conditions and the following disclaimer. |
michael@0 | 19 | * |
michael@0 | 20 | * 2. Redistributions in binary form must reproduce the above |
michael@0 | 21 | * copyright notice, this list of conditions and the following |
michael@0 | 22 | * disclaimer in the documentation and/or other materials |
michael@0 | 23 | * provided with the distribution. |
michael@0 | 24 | * |
michael@0 | 25 | * 3. Neither the name of the Linux Foundation nor the names of its |
michael@0 | 26 | * contributors may be used to endorse or promote products |
michael@0 | 27 | * derived from this software without specific prior written |
michael@0 | 28 | * permission. |
michael@0 | 29 | * |
michael@0 | 30 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND |
michael@0 | 31 | * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, |
michael@0 | 32 | * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
michael@0 | 33 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
michael@0 | 34 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
michael@0 | 35 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
michael@0 | 36 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
michael@0 | 37 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
michael@0 | 38 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
michael@0 | 39 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
michael@0 | 40 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
michael@0 | 41 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, |
michael@0 | 42 | * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
michael@0 | 43 | * |
michael@0 | 44 | * This BSD License conforms to the Open Source Initiative "Simplified |
michael@0 | 45 | * BSD License" as published at: |
michael@0 | 46 | * http://www.opensource.org/licenses/bsd-license.php |
michael@0 | 47 | * |
michael@0 | 48 | * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2 |
michael@0 | 49 | * mark may be used in accordance with the Linux Foundation Trademark |
michael@0 | 50 | * Policy to indicate compliance with the IAccessible2 specification. |
michael@0 | 51 | * |
michael@0 | 52 | ************************************************************************/ |
michael@0 | 53 | |
michael@0 | 54 | /** %IAccessible2 specific event constants |
michael@0 | 55 | |
michael@0 | 56 | This enum defines the event IDs fired by %IAccessible2 objects. The event IDs |
michael@0 | 57 | are in addition to those used by MSAA. |
michael@0 | 58 | */ |
michael@0 | 59 | enum IA2EventID { |
michael@0 | 60 | |
michael@0 | 61 | /** The change of the number or attributes of actions of an accessible |
michael@0 | 62 | object is signaled by events of this type. |
michael@0 | 63 | */ |
michael@0 | 64 | IA2_EVENT_ACTION_CHANGED = 0x101, |
michael@0 | 65 | |
michael@0 | 66 | /** <b>Deprecated.</b> The active descendant of a component has changed. |
michael@0 | 67 | |
michael@0 | 68 | Note: This event constant is misspelled and thus is deprecated and will be |
michael@0 | 69 | removed in a later version. Please use the correctly spelled version which |
michael@0 | 70 | follows. |
michael@0 | 71 | */ |
michael@0 | 72 | IA2_EVENT_ACTIVE_DECENDENT_CHANGED, |
michael@0 | 73 | |
michael@0 | 74 | /** The active descendant of a component has changed. The active descendant |
michael@0 | 75 | is used in objects with transient children. |
michael@0 | 76 | |
michael@0 | 77 | Note: Due to the fact that MSAA's WinEvents don't allow the active child index |
michael@0 | 78 | to be passed on the IA2_EVENT_ACTIVE_DESCENDANT_CHANGED event the manages |
michael@0 | 79 | descendants scheme can't be used. Instead the active child object has to fire |
michael@0 | 80 | MSAA's EVENT_OBJECT_FOCUS. In a future release a new event mechanism may be |
michael@0 | 81 | added to provide for event specific data to be passed with the event. At that |
michael@0 | 82 | time the IA2_EVENT_ACTIVE_DECENDENT_CHANGED event and |
michael@0 | 83 | IA2_STATE_MANAGES_DESCENDANTS state would be useful. |
michael@0 | 84 | */ |
michael@0 | 85 | IA2_EVENT_ACTIVE_DESCENDANT_CHANGED = IA2_EVENT_ACTIVE_DECENDENT_CHANGED, |
michael@0 | 86 | |
michael@0 | 87 | /** The document wide attributes of the document object have changed. |
michael@0 | 88 | */ |
michael@0 | 89 | IA2_EVENT_DOCUMENT_ATTRIBUTE_CHANGED, |
michael@0 | 90 | |
michael@0 | 91 | /** The contents of the document have changed. |
michael@0 | 92 | */ |
michael@0 | 93 | IA2_EVENT_DOCUMENT_CONTENT_CHANGED, |
michael@0 | 94 | |
michael@0 | 95 | /** The loading of the document has completed. |
michael@0 | 96 | */ |
michael@0 | 97 | IA2_EVENT_DOCUMENT_LOAD_COMPLETE, |
michael@0 | 98 | |
michael@0 | 99 | /** The loading of the document was interrupted. |
michael@0 | 100 | */ |
michael@0 | 101 | IA2_EVENT_DOCUMENT_LOAD_STOPPED, |
michael@0 | 102 | |
michael@0 | 103 | /** The document contents are being reloaded. |
michael@0 | 104 | */ |
michael@0 | 105 | IA2_EVENT_DOCUMENT_RELOAD, |
michael@0 | 106 | |
michael@0 | 107 | /** The ending index of this link within the containing string has changed. |
michael@0 | 108 | */ |
michael@0 | 109 | IA2_EVENT_HYPERLINK_END_INDEX_CHANGED, |
michael@0 | 110 | |
michael@0 | 111 | /** The number of anchors associated with this hyperlink object has changed. |
michael@0 | 112 | */ |
michael@0 | 113 | IA2_EVENT_HYPERLINK_NUMBER_OF_ANCHORS_CHANGED, |
michael@0 | 114 | |
michael@0 | 115 | /** The hyperlink selected state changed from selected to unselected or |
michael@0 | 116 | from unselected to selected. |
michael@0 | 117 | */ |
michael@0 | 118 | IA2_EVENT_HYPERLINK_SELECTED_LINK_CHANGED, |
michael@0 | 119 | |
michael@0 | 120 | /** One of the links associated with the hypertext object has been activated. |
michael@0 | 121 | */ |
michael@0 | 122 | IA2_EVENT_HYPERTEXT_LINK_ACTIVATED, |
michael@0 | 123 | |
michael@0 | 124 | /** One of the links associated with the hypertext object has been selected. |
michael@0 | 125 | */ |
michael@0 | 126 | IA2_EVENT_HYPERTEXT_LINK_SELECTED, |
michael@0 | 127 | |
michael@0 | 128 | /** The starting index of this link within the containing string has changed. |
michael@0 | 129 | */ |
michael@0 | 130 | IA2_EVENT_HYPERLINK_START_INDEX_CHANGED, |
michael@0 | 131 | |
michael@0 | 132 | /** Focus has changed from one hypertext object to another, or focus moved |
michael@0 | 133 | from a non-hypertext object to a hypertext object, or focus moved from a |
michael@0 | 134 | hypertext object to a non-hypertext object. |
michael@0 | 135 | */ |
michael@0 | 136 | IA2_EVENT_HYPERTEXT_CHANGED, |
michael@0 | 137 | |
michael@0 | 138 | /** The number of hyperlinks associated with a hypertext object changed |
michael@0 | 139 | */ |
michael@0 | 140 | IA2_EVENT_HYPERTEXT_NLINKS_CHANGED, |
michael@0 | 141 | |
michael@0 | 142 | /** An object's attributes changed. |
michael@0 | 143 | Also see ::IA2_EVENT_TEXT_ATTRIBUTE_CHANGED. |
michael@0 | 144 | */ |
michael@0 | 145 | IA2_EVENT_OBJECT_ATTRIBUTE_CHANGED, |
michael@0 | 146 | |
michael@0 | 147 | /** A slide changed in a presentation document or a page boundary was |
michael@0 | 148 | crossed in a word processing document. |
michael@0 | 149 | */ |
michael@0 | 150 | IA2_EVENT_PAGE_CHANGED, |
michael@0 | 151 | |
michael@0 | 152 | /** The caret moved from one section to the next. |
michael@0 | 153 | */ |
michael@0 | 154 | IA2_EVENT_SECTION_CHANGED, |
michael@0 | 155 | |
michael@0 | 156 | /** A table caption changed. |
michael@0 | 157 | */ |
michael@0 | 158 | IA2_EVENT_TABLE_CAPTION_CHANGED, |
michael@0 | 159 | |
michael@0 | 160 | /** A table's column description changed. |
michael@0 | 161 | */ |
michael@0 | 162 | IA2_EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED, |
michael@0 | 163 | |
michael@0 | 164 | /** A table's column header changed. |
michael@0 | 165 | */ |
michael@0 | 166 | IA2_EVENT_TABLE_COLUMN_HEADER_CHANGED, |
michael@0 | 167 | |
michael@0 | 168 | /** A table's data changed. |
michael@0 | 169 | */ |
michael@0 | 170 | IA2_EVENT_TABLE_MODEL_CHANGED, |
michael@0 | 171 | |
michael@0 | 172 | /** A table's row description changed. |
michael@0 | 173 | */ |
michael@0 | 174 | IA2_EVENT_TABLE_ROW_DESCRIPTION_CHANGED, |
michael@0 | 175 | |
michael@0 | 176 | /** A table's row header changed. |
michael@0 | 177 | */ |
michael@0 | 178 | IA2_EVENT_TABLE_ROW_HEADER_CHANGED, |
michael@0 | 179 | |
michael@0 | 180 | /** A table's summary changed. |
michael@0 | 181 | */ |
michael@0 | 182 | IA2_EVENT_TABLE_SUMMARY_CHANGED, |
michael@0 | 183 | |
michael@0 | 184 | /** A text object's attributes changed. |
michael@0 | 185 | Also see ::IA2_EVENT_OBJECT_ATTRIBUTE_CHANGED. |
michael@0 | 186 | */ |
michael@0 | 187 | IA2_EVENT_TEXT_ATTRIBUTE_CHANGED, |
michael@0 | 188 | |
michael@0 | 189 | /** The caret has moved to a new position. |
michael@0 | 190 | */ |
michael@0 | 191 | IA2_EVENT_TEXT_CARET_MOVED, |
michael@0 | 192 | |
michael@0 | 193 | /** <b>Deprecated.</b> This event is equivalent to ::IA2_EVENT_TEXT_UPDATED. |
michael@0 | 194 | */ |
michael@0 | 195 | IA2_EVENT_TEXT_CHANGED, |
michael@0 | 196 | |
michael@0 | 197 | /** The caret moved from one column to the next. |
michael@0 | 198 | */ |
michael@0 | 199 | IA2_EVENT_TEXT_COLUMN_CHANGED, |
michael@0 | 200 | |
michael@0 | 201 | /** Text was inserted. |
michael@0 | 202 | */ |
michael@0 | 203 | IA2_EVENT_TEXT_INSERTED, |
michael@0 | 204 | |
michael@0 | 205 | /** Text was removed. |
michael@0 | 206 | */ |
michael@0 | 207 | IA2_EVENT_TEXT_REMOVED, |
michael@0 | 208 | |
michael@0 | 209 | /** This event indicates general text changes, i.e. changes to text that are |
michael@0 | 210 | exposed through the IAccessibleText interface. For compatibility with ATK/AT-SPI |
michael@0 | 211 | which does not have an equivalent event, servers can alternatively fire |
michael@0 | 212 | ::IA2_EVENT_TEXT_REMOVED and ::IA2_EVENT_TEXT_INSERTED. |
michael@0 | 213 | */ |
michael@0 | 214 | IA2_EVENT_TEXT_UPDATED, |
michael@0 | 215 | |
michael@0 | 216 | /** The text selection changed. Later versions of Microsoft development environments |
michael@0 | 217 | have an equivalent event identified, EVENT_OBJECT_TEXTSELECTIONCHANGED. Servers |
michael@0 | 218 | should use that if it is available and use IA2_EVENT_TEXT_SELECTION_CHANGED otherwise. |
michael@0 | 219 | Clients should be prepared to respond to either event. |
michael@0 | 220 | |
michael@0 | 221 | */ |
michael@0 | 222 | IA2_EVENT_TEXT_SELECTION_CHANGED, |
michael@0 | 223 | |
michael@0 | 224 | /** A visible data event indicates the change of the visual appearance |
michael@0 | 225 | of an accessible object. This includes for example most of the |
michael@0 | 226 | attributes available via the IAccessibleComponent interface. |
michael@0 | 227 | */ |
michael@0 | 228 | IA2_EVENT_VISIBLE_DATA_CHANGED |
michael@0 | 229 | |
michael@0 | 230 | }; |