Ensure WebView notifies desktop automation on creation, destruction, and change
Currently, when a caller requests a desktop tree and then opens a new windowthe new WebViewmight have an unloaded child root web area because the tree id sent on construction may be stale by the time automation gets it. Adding a notification in WebView::RenderViewHostChanged appears to work properly. This also allows ChromeVox to add one set of listeners on the desktop node. TEST=With ChromeVox Next set to use automation, - navigate within a tab - switch to several tabs and navigate - open new windows and navigate Result should be that events fire properly when tabbing within the new page. Review URL: https://codereview.chromium.org/880063002 Cr-Commit-Position: refs/heads/master@{#314017}
Showing
Please register or sign in to comment