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

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: 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
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 void updateCacheAfterInertSubtreesChanged();
dmazzoni 2013/11/07 16:35:59 Just call this handleInertSubtreesChanged(), and a
falken 2013/11/08 05:08:35 Done.
125 126
126 void handleActiveDescendantChanged(Node*); 127 void handleActiveDescendantChanged(Node*);
127 void handleAriaRoleChanged(Node*); 128 void handleAriaRoleChanged(Node*);
128 void handleFocusedUIElementChanged(Node* oldFocusedNode, Node* newFocusedNod e); 129 void handleFocusedUIElementChanged(Node* oldFocusedNode, Node* newFocusedNod e);
129 void handleScrolledToAnchor(const Node* anchorNode); 130 void handleScrolledToAnchor(const Node* anchorNode);
130 void handleAriaExpandedChange(Node*); 131 void handleAriaExpandedChange(Node*);
131 void handleScrollbarUpdate(ScrollView*); 132 void handleScrollbarUpdate(ScrollView*);
132 133
133 void handleAttributeChanged(const QualifiedName& attrName, Element*); 134 void handleAttributeChanged(const QualifiedName& attrName, Element*);
134 void recomputeIsIgnored(RenderObject* renderer); 135 void recomputeIsIgnored(RenderObject* renderer);
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 AXID getAXID(AXObject*); 227 AXID getAXID(AXObject*);
227 }; 228 };
228 229
229 bool nodeHasRole(Node*, const String& role); 230 bool nodeHasRole(Node*, const String& role);
230 // This will let you know if aria-hidden was explicitly set to false. 231 // This will let you know if aria-hidden was explicitly set to false.
231 bool isNodeAriaVisible(Node*); 232 bool isNodeAriaVisible(Node*);
232 233
233 } 234 }
234 235
235 #endif 236 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698