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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 class MODULES_EXPORT AXObjectCacheImpl : public AXObjectCacheBase { | 47 class MODULES_EXPORT AXObjectCacheImpl : public AXObjectCacheBase { |
48 WTF_MAKE_NONCOPYABLE(AXObjectCacheImpl); | 48 WTF_MAKE_NONCOPYABLE(AXObjectCacheImpl); |
49 | 49 |
50 public: | 50 public: |
51 static AXObjectCache* Create(Document&); | 51 static AXObjectCache* Create(Document&); |
52 | 52 |
53 explicit AXObjectCacheImpl(Document&); | 53 explicit AXObjectCacheImpl(Document&); |
54 virtual ~AXObjectCacheImpl(); | 54 virtual ~AXObjectCacheImpl(); |
55 DECLARE_VIRTUAL_TRACE(); | 55 DECLARE_VIRTUAL_TRACE(); |
56 | 56 |
| 57 Document& GetDocument() { return *document_; } |
57 AXObjectImpl* FocusedObject(); | 58 AXObjectImpl* FocusedObject(); |
58 | 59 |
59 void Dispose() override; | 60 void Dispose() override; |
60 | 61 |
61 void SelectionChanged(Node*) override; | 62 void SelectionChanged(Node*) override; |
62 void ChildrenChanged(Node*) override; | 63 void ChildrenChanged(Node*) override; |
63 void ChildrenChanged(LayoutObject*) override; | 64 void ChildrenChanged(LayoutObject*) override; |
64 void CheckedStateChanged(Node*) override; | 65 void CheckedStateChanged(Node*) override; |
65 virtual void ListboxOptionStateChanged(HTMLOptionElement*); | 66 virtual void ListboxOptionStateChanged(HTMLOptionElement*); |
66 virtual void ListboxSelectedChildrenChanged(HTMLSelectElement*); | 67 virtual void ListboxSelectedChildrenChanged(HTMLSelectElement*); |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 // This is the only subclass of AXObjectCache. | 261 // This is the only subclass of AXObjectCache. |
261 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); | 262 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); |
262 | 263 |
263 bool NodeHasRole(Node*, const String& role); | 264 bool NodeHasRole(Node*, const String& role); |
264 // This will let you know if aria-hidden was explicitly set to false. | 265 // This will let you know if aria-hidden was explicitly set to false. |
265 bool IsNodeAriaVisible(Node*); | 266 bool IsNodeAriaVisible(Node*); |
266 | 267 |
267 } // namespace blink | 268 } // namespace blink |
268 | 269 |
269 #endif | 270 #endif |
OLD | NEW |