[Extensions] Remove RenderView Routing ID from AutomationInternal
The AutomationInternal API currently passes the RenderView routing ID to the API implementation for enableTab and enableDesktop. This routing ID is then stored, and used to "route" a response IPC (ExtensionMsg_AccessibilityEvent or ExtensionMsg_AccessibilityLocationChange) back to the renderer. However, the listener in the renderer is, in fact, just an IPCListener that attaches itself to the main RenderThread. It doesn't look at the routing at all. Thus, we don't need the routing ID for the browser to send the message, and, since that's the only place it was used, don't need to send it in the API params. Remove the routing ID parameter from both automationInternal.enableTab and automationInternal.enableDesktop, and update the IPC messages. Bug: 304341 Change-Id: I3a82ab3193c70e7cf8694277e28c82c47f431ce4 Reviewed-on: https://chromium-review.googlesource.com/721268Reviewed-by:David Tseng <dtseng@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Istiaque Ahmed <lazyboy@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#522174}
Showing
Please register or sign in to comment