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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
96 | 96 |
97 // Called when the scroll offset changes. | 97 // Called when the scroll offset changes. |
98 virtual void handleScrollPositionChanged(FrameView*) override; | 98 virtual void handleScrollPositionChanged(FrameView*) override; |
99 virtual void handleScrollPositionChanged(RenderObject*) override; | 99 virtual void handleScrollPositionChanged(RenderObject*) override; |
100 | 100 |
101 // Called when scroll bars are added / removed (as the view resizes). | 101 // Called when scroll bars are added / removed (as the view resizes). |
102 void handleScrollbarUpdate(FrameView*) override; | 102 void handleScrollbarUpdate(FrameView*) override; |
103 void handleLayoutComplete(RenderObject*) override; | 103 void handleLayoutComplete(RenderObject*) override; |
104 void handleScrolledToAnchor(const Node* anchorNode) override; | 104 void handleScrolledToAnchor(const Node* anchorNode) override; |
105 | 105 |
106 virtual const AtomicString& computedRoleForNode(Node*); | |
107 virtual String computedNameForNode(Node*); | |
adamk
2014/12/16 01:54:49
Nit: both should have "override"
aboxhall
2014/12/16 04:15:26
Done.
| |
108 | |
106 // Returns the root object for the entire document. | 109 // Returns the root object for the entire document. |
107 AXObject* rootObject(); | 110 AXObject* rootObject(); |
108 | 111 |
109 AXObject* objectFromAXID(AXID id) const { return m_objects.get(id); } | 112 AXObject* objectFromAXID(AXID id) const { return m_objects.get(id); } |
110 AXObject* root(); | 113 AXObject* root(); |
111 | 114 |
112 // used for objects without backing elements | 115 // used for objects without backing elements |
113 AXObject* getOrCreate(AccessibilityRole); | 116 AXObject* getOrCreate(AccessibilityRole); |
114 AXObject* getOrCreate(RenderObject*); | 117 AXObject* getOrCreate(RenderObject*); |
115 AXObject* getOrCreate(Widget*); | 118 AXObject* getOrCreate(Widget*); |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
195 // This is the only subclass of AXObjectCache. | 198 // This is the only subclass of AXObjectCache. |
196 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); | 199 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); |
197 | 200 |
198 bool nodeHasRole(Node*, const String& role); | 201 bool nodeHasRole(Node*, const String& role); |
199 // This will let you know if aria-hidden was explicitly set to false. | 202 // This will let you know if aria-hidden was explicitly set to false. |
200 bool isNodeAriaVisible(Node*); | 203 bool isNodeAriaVisible(Node*); |
201 | 204 |
202 } | 205 } |
203 | 206 |
204 #endif | 207 #endif |
OLD | NEW |