| 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_; } | |
| 58 AXObjectImpl* FocusedObject(); | 57 AXObjectImpl* FocusedObject(); |
| 59 | 58 |
| 60 void Dispose() override; | 59 void Dispose() override; |
| 61 | 60 |
| 62 void SelectionChanged(Node*) override; | 61 void SelectionChanged(Node*) override; |
| 63 void ChildrenChanged(Node*) override; | 62 void ChildrenChanged(Node*) override; |
| 64 void ChildrenChanged(LayoutObject*) override; | 63 void ChildrenChanged(LayoutObject*) override; |
| 65 void CheckedStateChanged(Node*) override; | 64 void CheckedStateChanged(Node*) override; |
| 66 virtual void ListboxOptionStateChanged(HTMLOptionElement*); | 65 virtual void ListboxOptionStateChanged(HTMLOptionElement*); |
| 67 virtual void ListboxSelectedChildrenChanged(HTMLSelectElement*); | 66 virtual void ListboxSelectedChildrenChanged(HTMLSelectElement*); |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 // This is the only subclass of AXObjectCache. | 260 // This is the only subclass of AXObjectCache. |
| 262 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); | 261 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); |
| 263 | 262 |
| 264 bool NodeHasRole(Node*, const String& role); | 263 bool NodeHasRole(Node*, const String& role); |
| 265 // This will let you know if aria-hidden was explicitly set to false. | 264 // This will let you know if aria-hidden was explicitly set to false. |
| 266 bool IsNodeAriaVisible(Node*); | 265 bool IsNodeAriaVisible(Node*); |
| 267 | 266 |
| 268 } // namespace blink | 267 } // namespace blink |
| 269 | 268 |
| 270 #endif | 269 #endif |
| OLD | NEW |