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; | 110 void onAccessibilityMouseDown(const IntPoint&) override; |
| 111 void onAccessibilityMouseUp(const IntPoint&) override; |
| 112 void onAccessibilityMouseMove(const IntPoint&) override; |
| 113 void onAccessibilityMouseEnter(const IntPoint&) override; |
| 114 void onAccessibilityMouseLeave(const IntPoint&) override; |
111 | 115 |
112 // Returns the root object for the entire document. | 116 // Returns the root object for the entire document. |
113 AXObject* rootObject(); | 117 AXObject* rootObject(); |
114 | 118 |
115 AXObject* objectFromAXID(AXID id) const { return m_objects.get(id); } | 119 AXObject* objectFromAXID(AXID id) const { return m_objects.get(id); } |
116 AXObject* root(); | 120 AXObject* root(); |
117 | 121 |
118 // used for objects without backing elements | 122 // used for objects without backing elements |
119 AXObject* getOrCreate(AccessibilityRole); | 123 AXObject* getOrCreate(AccessibilityRole); |
120 AXObject* getOrCreate(LayoutObject*); | 124 AXObject* getOrCreate(LayoutObject*); |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 // This is the only subclass of AXObjectCache. | 255 // This is the only subclass of AXObjectCache. |
252 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); | 256 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); |
253 | 257 |
254 bool nodeHasRole(Node*, const String& role); | 258 bool nodeHasRole(Node*, const String& role); |
255 // This will let you know if aria-hidden was explicitly set to false. | 259 // This will let you know if aria-hidden was explicitly set to false. |
256 bool isNodeAriaVisible(Node*); | 260 bool isNodeAriaVisible(Node*); |
257 | 261 |
258 } | 262 } |
259 | 263 |
260 #endif | 264 #endif |
OLD | NEW |