diff options
author | qinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-24 17:47:42 +0000 |
---|---|---|
committer | qinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-24 17:47:42 +0000 |
commit | c9a5241f963fbf8427125cee7c625abff30b35ea (patch) | |
tree | 9a465acf2c33fa85af4a18b914f6f66e90416fae /base/message_loop/message_loop_proxy_unittest.cc | |
parent | c9169a4d1d3f3174d9c8607710ec16a497c6c09a (diff) | |
download | chromium_src-c9a5241f963fbf8427125cee7c625abff30b35ea.zip chromium_src-c9a5241f963fbf8427125cee7c625abff30b35ea.tar.gz chromium_src-c9a5241f963fbf8427125cee7c625abff30b35ea.tar.bz2 |
Merge 285314 "Turn webspeech on/off when tab goes fore/background"
> Turn webspeech on/off when tab goes fore/background
>
> This change adds a toggle to turn webspeech off when tab goes background.
> And further request to turn media capture devices on will be denied.
> So Both WebRTC and webSpeech won't be able to initiate new requests when tab is in background.
>
> This CL also fixed a bug in the original CL that was reverted: some times recognition will not be aborted immediately after screen lock.
> The issue is caused by that calling abort() will not delete the session in SpeechRecognitionManagerImpl.
> So if a SpeechRecognition objects calls multiple start(), several sessions with the same request_id will be created.
> And when passing the request_id to abort the sessions, only 1 session will be aborted
> This change requests the all sessions in the same render view to be aborted.
> Thus solving the above issue.
>
> BUG=396054
> R=jochen@chromium.org, tsepez@chromium.org, xians@chromium.org
>
> Review URL: https://codereview.chromium.org/415933002
TBR=qinmin@chromium.org
Review URL: https://codereview.chromium.org/419503005
git-svn-id: svn://svn.chromium.org/chrome/branches/1985_128/src@285317 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop/message_loop_proxy_unittest.cc')
0 files changed, 0 insertions, 0 deletions