| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 void handleScrollPositionChanged(LayoutObject*) override; | 100 void handleScrollPositionChanged(LayoutObject*) override; |
| 101 | 101 |
| 102 // Called when scroll bars are added / removed (as the view resizes). | 102 // Called when scroll bars are added / removed (as the view resizes). |
| 103 void handleScrollbarUpdate(FrameView*) override; | 103 void handleScrollbarUpdate(FrameView*) override; |
| 104 void handleLayoutComplete(LayoutObject*) override; | 104 void handleLayoutComplete(LayoutObject*) override; |
| 105 void handleScrolledToAnchor(const Node* anchorNode) override; | 105 void handleScrolledToAnchor(const Node* anchorNode) override; |
| 106 | 106 |
| 107 const AtomicString& computedRoleForNode(Node*) override; | 107 const AtomicString& computedRoleForNode(Node*) override; |
| 108 String computedNameForNode(Node*) override; | 108 String computedNameForNode(Node*) override; |
| 109 | 109 |
| 110 void onTouchAccessibilityHover(const IntPoint&) override; |
| 111 |
| 110 // Returns the root object for the entire document. | 112 // Returns the root object for the entire document. |
| 111 AXObject* rootObject(); | 113 AXObject* rootObject(); |
| 112 | 114 |
| 113 AXObject* objectFromAXID(AXID id) const { return m_objects.get(id); } | 115 AXObject* objectFromAXID(AXID id) const { return m_objects.get(id); } |
| 114 AXObject* root(); | 116 AXObject* root(); |
| 115 | 117 |
| 116 // used for objects without backing elements | 118 // used for objects without backing elements |
| 117 AXObject* getOrCreate(AccessibilityRole); | 119 AXObject* getOrCreate(AccessibilityRole); |
| 118 AXObject* getOrCreate(LayoutObject*); | 120 AXObject* getOrCreate(LayoutObject*); |
| 119 AXObject* getOrCreate(Widget*); | 121 AXObject* getOrCreate(Widget*); |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 // This is the only subclass of AXObjectCache. | 254 // This is the only subclass of AXObjectCache. |
| 253 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); | 255 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); |
| 254 | 256 |
| 255 bool nodeHasRole(Node*, const String& role); | 257 bool nodeHasRole(Node*, const String& role); |
| 256 // This will let you know if aria-hidden was explicitly set to false. | 258 // This will let you know if aria-hidden was explicitly set to false. |
| 257 bool isNodeAriaVisible(Node*); | 259 bool isNodeAriaVisible(Node*); |
| 258 | 260 |
| 259 } | 261 } |
| 260 | 262 |
| 261 #endif | 263 #endif |
| OLD | NEW |