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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 HeapVector<std::pair<Member<AXObjectImpl>, AXNotification>> | 248 HeapVector<std::pair<Member<AXObjectImpl>, AXNotification>> |
249 notifications_to_post_; | 249 notifications_to_post_; |
250 void NotificationPostTimerFired(TimerBase*); | 250 void NotificationPostTimerFired(TimerBase*); |
251 | 251 |
252 AXObjectImpl* FocusedImageMapUIElement(HTMLAreaElement*); | 252 AXObjectImpl* FocusedImageMapUIElement(HTMLAreaElement*); |
253 | 253 |
254 AXID GetOrCreateAXID(AXObjectImpl*); | 254 AXID GetOrCreateAXID(AXObjectImpl*); |
255 | 255 |
256 void TextChanged(Node*); | 256 void TextChanged(Node*); |
257 bool NodeIsTextControl(const Node*); | 257 bool NodeIsTextControl(const Node*); |
| 258 AXObjectImpl* NearestExistingAncestor(Node*); |
258 | 259 |
259 Settings* GetSettings(); | 260 Settings* GetSettings(); |
260 }; | 261 }; |
261 | 262 |
262 // This is the only subclass of AXObjectCache. | 263 // This is the only subclass of AXObjectCache. |
263 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); | 264 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); |
264 | 265 |
265 bool NodeHasRole(Node*, const String& role); | 266 bool NodeHasRole(Node*, const String& role); |
266 // This will let you know if aria-hidden was explicitly set to false. | 267 // This will let you know if aria-hidden was explicitly set to false. |
267 bool IsNodeAriaVisible(Node*); | 268 bool IsNodeAriaVisible(Node*); |
268 | 269 |
269 } // namespace blink | 270 } // namespace blink |
270 | 271 |
271 #endif | 272 #endif |
OLD | NEW |