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

Side by Side Diff: Source/modules/accessibility/AXObjectCacheImpl.h

Issue 1127283002: Revert of Fire AX notifications on list box options. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@menu_list_more
Patch Set: Created 5 years, 7 months 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) 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 explicit AXObjectCacheImpl(Document&); 61 explicit AXObjectCacheImpl(Document&);
62 ~AXObjectCacheImpl(); 62 ~AXObjectCacheImpl();
63 63
64 AXObject* focusedUIElementForPage(const Page*); 64 AXObject* focusedUIElementForPage(const Page*);
65 65
66 virtual void selectionChanged(Node*) override; 66 virtual void selectionChanged(Node*) override;
67 virtual void childrenChanged(Node*) override; 67 virtual void childrenChanged(Node*) override;
68 virtual void childrenChanged(LayoutObject*) override; 68 virtual void childrenChanged(LayoutObject*) override;
69 virtual void checkedStateChanged(Node*) override; 69 virtual void checkedStateChanged(Node*) override;
70 virtual void listboxOptionStateChanged(HTMLOptionElement*); 70 virtual void selectedChildrenChanged(Node*) override;
71 virtual void listboxSelectedChildrenChanged(HTMLSelectElement*);
72 virtual void listboxActiveIndexChanged(HTMLSelectElement*);
73 71
74 virtual void remove(LayoutObject*) override; 72 virtual void remove(LayoutObject*) override;
75 virtual void remove(Node*) override; 73 virtual void remove(Node*) override;
76 virtual void remove(Widget*) override; 74 virtual void remove(Widget*) override;
77 75
78 virtual const Element* rootAXEditableElement(const Node*) override; 76 virtual const Element* rootAXEditableElement(const Node*) override;
79 77
80 // Called by a node when text or a text equivalent (e.g. alt) attribute is c hanged. 78 // Called by a node when text or a text equivalent (e.g. alt) attribute is c hanged.
81 virtual void textChanged(LayoutObject*) override; 79 virtual void textChanged(LayoutObject*) override;
82 // Called when a node has just been attached, so we can make sure we have th e right subclass of AXObject. 80 // Called when a node has just been attached, so we can make sure we have th e right subclass of AXObject.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 AXObject* get(LayoutObject*); 128 AXObject* get(LayoutObject*);
131 AXObject* get(Widget*); 129 AXObject* get(Widget*);
132 AXObject* get(AbstractInlineTextBox*); 130 AXObject* get(AbstractInlineTextBox*);
133 131
134 AXObject* firstAccessibleObjectFromNode(const Node*); 132 AXObject* firstAccessibleObjectFromNode(const Node*);
135 133
136 void remove(AXID); 134 void remove(AXID);
137 void remove(AbstractInlineTextBox*); 135 void remove(AbstractInlineTextBox*);
138 136
139 void childrenChanged(AXObject*); 137 void childrenChanged(AXObject*);
138 void selectedChildrenChanged(LayoutObject*);
139 void selectedChildrenChanged(AXObject*);
140 140
141 void handleActiveDescendantChanged(Node*); 141 void handleActiveDescendantChanged(Node*);
142 void handleAriaRoleChanged(Node*); 142 void handleAriaRoleChanged(Node*);
143 void handleAriaExpandedChange(Node*); 143 void handleAriaExpandedChange(Node*);
144 void handleAriaSelectedChanged(Node*);
145 144
146 void recomputeIsIgnored(LayoutObject*); 145 void recomputeIsIgnored(LayoutObject*);
147 146
148 bool accessibilityEnabled(); 147 bool accessibilityEnabled();
149 bool inlineTextBoxAccessibilityEnabled(); 148 bool inlineTextBoxAccessibilityEnabled();
150 149
151 void removeAXID(AXObject*); 150 void removeAXID(AXObject*);
152 bool isIDinUse(AXID id) const { return m_idsInUse.contains(id); } 151 bool isIDinUse(AXID id) const { return m_idsInUse.contains(id); }
153 152
154 AXID platformGenerateAXID() const; 153 AXID platformGenerateAXID() const;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 // This is the only subclass of AXObjectCache. 203 // This is the only subclass of AXObjectCache.
205 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true); 204 DEFINE_TYPE_CASTS(AXObjectCacheImpl, AXObjectCache, cache, true, true);
206 205
207 bool nodeHasRole(Node*, const String& role); 206 bool nodeHasRole(Node*, const String& role);
208 // This will let you know if aria-hidden was explicitly set to false. 207 // This will let you know if aria-hidden was explicitly set to false.
209 bool isNodeAriaVisible(Node*); 208 bool isNodeAriaVisible(Node*);
210 209
211 } 210 }
212 211
213 #endif 212 #endif
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXObject.h ('k') | Source/modules/accessibility/AXObjectCacheImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698