| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 void postPlatformNotification(AXObject*, AXNotification); | 178 void postPlatformNotification(AXObject*, AXNotification); |
| 179 void textChanged(AXObject*); | 179 void textChanged(AXObject*); |
| 180 void labelChanged(Element*); | 180 void labelChanged(Element*); |
| 181 | 181 |
| 182 AXObject* createFromRenderer(LayoutObject*); | 182 AXObject* createFromRenderer(LayoutObject*); |
| 183 AXObject* createFromNode(Node*); | 183 AXObject* createFromNode(Node*); |
| 184 AXObject* createFromInlineTextBox(AbstractInlineTextBox*); | 184 AXObject* createFromInlineTextBox(AbstractInlineTextBox*); |
| 185 | 185 |
| 186 private: | 186 private: |
| 187 | 187 |
| 188 RawPtrWillBeMember<Document> m_document; | 188 Member<Document> m_document; |
| 189 HeapHashMap<AXID, Member<AXObject>> m_objects; | 189 HeapHashMap<AXID, Member<AXObject>> m_objects; |
| 190 // LayoutObject and AbstractInlineTextBox are not on the Oilpan heap so we | 190 // LayoutObject and AbstractInlineTextBox are not on the Oilpan heap so we |
| 191 // do not use HeapHashMap for those mappings. | 191 // do not use HeapHashMap for those mappings. |
| 192 HashMap<LayoutObject*, AXID> m_layoutObjectMapping; | 192 HashMap<LayoutObject*, AXID> m_layoutObjectMapping; |
| 193 WillBeHeapHashMap<RawPtrWillBeMember<Node>, AXID> m_nodeObjectMapping; | 193 HeapHashMap<Member<Node>, AXID> m_nodeObjectMapping; |
| 194 HashMap<AbstractInlineTextBox*, AXID> m_inlineTextBoxObjectMapping; | 194 HashMap<AbstractInlineTextBox*, AXID> m_inlineTextBoxObjectMapping; |
| 195 int m_modificationCount; | 195 int m_modificationCount; |
| 196 | 196 |
| 197 HashSet<AXID> m_idsInUse; | 197 HashSet<AXID> m_idsInUse; |
| 198 | 198 |
| 199 #if ENABLE(ASSERT) | 199 #if ENABLE(ASSERT) |
| 200 // Verified when finalizing. | 200 // Verified when finalizing. |
| 201 bool m_hasBeenDisposed; | 201 bool m_hasBeenDisposed; |
| 202 #endif | 202 #endif |
| 203 | 203 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 // This is the only subclass of AXObjectCache. | 245 // This is the only subclass of AXObjectCache. |
| 246 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); | 246 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); |
| 247 | 247 |
| 248 bool nodeHasRole(Node*, const String& role); | 248 bool nodeHasRole(Node*, const String& role); |
| 249 // This will let you know if aria-hidden was explicitly set to false. | 249 // This will let you know if aria-hidden was explicitly set to false. |
| 250 bool isNodeAriaVisible(Node*); | 250 bool isNodeAriaVisible(Node*); |
| 251 | 251 |
| 252 } // namespace blink | 252 } // namespace blink |
| 253 | 253 |
| 254 #endif | 254 #endif |
| OLD | NEW |