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