
Adds AccessibilityCommon API listener onToggleDictation which is called when Dictation is toggled. Dictation C++ is no longer activated on toggle, instead Dictation JS listens for onToggleDictation and, as a placeholder, turns Dictation off again once it is turned on. This behavior only occurs when Chrome is run with the flag --enable-experimental-accessibility-dictation-extension. Bug: 1216111 Change-Id: I0ba8b295de0d209c19d84a177057cfe98fc3ad03 AX-Relnotes: N/A Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2936124 Commit-Queue: Katie Dektar <katie@chromium.org> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: Akihiro Ota <akihiroota@chromium.org> Cr-Commit-Position: refs/heads/master@{#889521}
This will become a reusable extensions module. It implements the core parts of Chrome's extension system, and can be used with any host of the content module.
Some extensions code that is not Chrome-specific still lives in //chrome/browser/extensions and will be moved here.
Technical Documentation: