Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: Source/core/accessibility/AXObjectCache.h

Issue 59663005: Update the accessibility tree when a modal dialog is opened/closed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review comments Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/accessibility/AXObject.cpp ('k') | Source/core/accessibility/AXObjectCache.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2010, 2011 Apple 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 void childrenChanged(AXObject*); 115 void childrenChanged(AXObject*);
116 void checkedStateChanged(Node*); 116 void checkedStateChanged(Node*);
117 void selectedChildrenChanged(Node*); 117 void selectedChildrenChanged(Node*);
118 void selectedChildrenChanged(RenderObject*); 118 void selectedChildrenChanged(RenderObject*);
119 void selectionChanged(Node*); 119 void selectionChanged(Node*);
120 // Called by a node when text or a text equivalent (e.g. alt) attribute is c hanged. 120 // Called by a node when text or a text equivalent (e.g. alt) attribute is c hanged.
121 void textChanged(Node*); 121 void textChanged(Node*);
122 void textChanged(RenderObject*); 122 void textChanged(RenderObject*);
123 // Called when a node has just been attached, so we can make sure we have th e right subclass of AXObject. 123 // Called when a node has just been attached, so we can make sure we have th e right subclass of AXObject.
124 void updateCacheAfterNodeIsAttached(Node*); 124 void updateCacheAfterNodeIsAttached(Node*);
125 // Called when a modal dialog opens or closes, which may cause nodes all ove r the tree to become inert or not inert.
126 void handleInertSubtreesChanged();
125 127
126 void handleActiveDescendantChanged(Node*); 128 void handleActiveDescendantChanged(Node*);
127 void handleAriaRoleChanged(Node*); 129 void handleAriaRoleChanged(Node*);
128 void handleFocusedUIElementChanged(Node* oldFocusedNode, Node* newFocusedNod e); 130 void handleFocusedUIElementChanged(Node* oldFocusedNode, Node* newFocusedNod e);
129 void handleScrolledToAnchor(const Node* anchorNode); 131 void handleScrolledToAnchor(const Node* anchorNode);
130 void handleAriaExpandedChange(Node*); 132 void handleAriaExpandedChange(Node*);
131 void handleScrollbarUpdate(ScrollView*); 133 void handleScrollbarUpdate(ScrollView*);
132 134
133 void handleAttributeChanged(const QualifiedName& attrName, Element*); 135 void handleAttributeChanged(const QualifiedName& attrName, Element*);
134 void recomputeIsIgnored(RenderObject* renderer); 136 void recomputeIsIgnored(RenderObject* renderer);
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 AXID getAXID(AXObject*); 228 AXID getAXID(AXObject*);
227 }; 229 };
228 230
229 bool nodeHasRole(Node*, const String& role); 231 bool nodeHasRole(Node*, const String& role);
230 // This will let you know if aria-hidden was explicitly set to false. 232 // This will let you know if aria-hidden was explicitly set to false.
231 bool isNodeAriaVisible(Node*); 233 bool isNodeAriaVisible(Node*);
232 234
233 } 235 }
234 236
235 #endif 237 #endif
OLDNEW
« no previous file with comments | « Source/core/accessibility/AXObject.cpp ('k') | Source/core/accessibility/AXObjectCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698