| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014, Google Inc. All rights reserved. | 2 * Copyright (C) 2014, Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 HeapHashMap<AXID, Member<AXObject>> m_objects; | 201 HeapHashMap<AXID, Member<AXObject>> m_objects; |
| 202 // LayoutObject and AbstractInlineTextBox are not on the Oilpan heap so we | 202 // LayoutObject and AbstractInlineTextBox are not on the Oilpan heap so we |
| 203 // do not use HeapHashMap for those mappings. | 203 // do not use HeapHashMap for those mappings. |
| 204 HashMap<LayoutObject*, AXID> m_layoutObjectMapping; | 204 HashMap<LayoutObject*, AXID> m_layoutObjectMapping; |
| 205 HeapHashMap<Member<Node>, AXID> m_nodeObjectMapping; | 205 HeapHashMap<Member<Node>, AXID> m_nodeObjectMapping; |
| 206 HashMap<AbstractInlineTextBox*, AXID> m_inlineTextBoxObjectMapping; | 206 HashMap<AbstractInlineTextBox*, AXID> m_inlineTextBoxObjectMapping; |
| 207 int m_modificationCount; | 207 int m_modificationCount; |
| 208 | 208 |
| 209 HashSet<AXID> m_idsInUse; | 209 HashSet<AXID> m_idsInUse; |
| 210 | 210 |
| 211 #if ENABLE(ASSERT) | 211 #if DCHECK_IS_ON() |
| 212 // Verified when finalizing. | 212 // Verified when finalizing. |
| 213 bool m_hasBeenDisposed; | 213 bool m_hasBeenDisposed = false; |
| 214 #endif | 214 #endif |
| 215 | 215 |
| 216 // | 216 // |
| 217 // Aria-owns | 217 // Aria-owns |
| 218 // | 218 // |
| 219 | 219 |
| 220 // Map from the AXID of the owner to the AXIDs of the children. | 220 // Map from the AXID of the owner to the AXIDs of the children. |
| 221 // This is a validated map, it doesn't contain illegal, duplicate, | 221 // This is a validated map, it doesn't contain illegal, duplicate, |
| 222 // or cyclical matches, or references to IDs that don't exist. | 222 // or cyclical matches, or references to IDs that don't exist. |
| 223 HashMap<AXID, Vector<AXID>> m_ariaOwnerToChildrenMapping; | 223 HashMap<AXID, Vector<AXID>> m_ariaOwnerToChildrenMapping; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 // This is the only subclass of AXObjectCache. | 259 // This is the only subclass of AXObjectCache. |
| 260 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); | 260 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); |
| 261 | 261 |
| 262 bool nodeHasRole(Node*, const String& role); | 262 bool nodeHasRole(Node*, const String& role); |
| 263 // This will let you know if aria-hidden was explicitly set to false. | 263 // This will let you know if aria-hidden was explicitly set to false. |
| 264 bool isNodeAriaVisible(Node*); | 264 bool isNodeAriaVisible(Node*); |
| 265 | 265 |
| 266 } // namespace blink | 266 } // namespace blink |
| 267 | 267 |
| 268 #endif | 268 #endif |
| OLD | NEW |