DescriptionAdd AXTreeDelegate and refactor other AXTree classes slightly.
AXTreeDelegate will allow content/browser to make BrowserAccessibility
a wrapper around AXNode. Test it using gmock.
Change AXTreeSource to take a typename rather than a class so that
we can use it with WebAXObject (which is an object that owns a pointer,
not a pointer itself).
Finally, replace GetChildAtIndex with a function GetChildren that
populates a vector. This allows content/renderer to more efficiently
filter out children that don't belong in the tree.
BUG=316726
R=dtseng@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252888
Patch Set 1 #
Total comments: 6
Patch Set 2 : Removed use of gmock #
Total comments: 4
Patch Set 3 : Change Mock to Fake #Patch Set 4 : Change Mock to Fake #
Total comments: 9
Patch Set 5 : Address feedback #Patch Set 6 : Fix typo in rename #Patch Set 7 : Export AXTreeDelegate #Patch Set 8 : Fix const issue on win #Patch Set 9 : Fixed const issue #
Messages
Total messages: 15 (0 generated)
|