|
SpeechInputExtensionManager now interface (exclusively) with SpeechRecognitionManagerDelegate (Speech CL1.11)
This is a re-submit of r138498 which was reverted in
r138568.
Fixes introduced by this CL:
- Added a check on speech_input_extensions_manager shutdown to assert that the speech_recognition_manager has not been unexpectedly destroyed (happens in some tests).
- Added WeakPtr to speech_recognition_manager_impl so that it can be destroyed ungracefully without crashing.
Original CL description:
- The tray icon and balloon handing has been moved from speech_input_extensions_manager to chrome_speech_recognition_manager_delegate, since that code (tray icon) will be used also for continuous recognition.
- Removed the SpeechRecognizer interface from /content/public (thus de-virtualized and refcounted the SpeechRecognizerImpl)
BUG= 116954, 129408
TEST=browser_tests on Linux ChromiumOS (dbg)
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=138765
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+338 lines, -281 lines) |
Patch |
 |
M |
chrome/browser/speech/chrome_speech_recognition_manager_delegate.h
|
View
|
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc
|
View
|
|
12 chunks |
+101 lines, -29 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/speech/speech_input_extension_apitest.cc
|
View
|
|
7 chunks |
+20 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/speech/speech_input_extension_manager.h
|
View
|
1
2
|
5 chunks |
+16 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/speech/speech_input_extension_manager.cc
|
View
|
1
2
|
23 chunks |
+121 lines, -87 lines |
0 comments
|
Download
|
 |
M |
content/browser/speech/speech_recognition_manager_impl.h
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/speech/speech_recognition_manager_impl.cc
|
View
|
1
|
10 chunks |
+17 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/browser/speech/speech_recognizer_impl.h
|
View
|
|
4 chunks |
+10 lines, -14 lines |
0 comments
|
Download
|
 |
M |
content/browser/speech/speech_recognizer_impl.cc
|
View
|
|
3 chunks |
+0 lines, -37 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/public/browser/speech_recognition_session_context.h
|
View
|
|
2 chunks |
+21 lines, -6 lines |
0 comments
|
Download
|
 |
A |
content/public/browser/speech_recognition_session_context.cc
|
View
|
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
D |
content/public/browser/speech_recognizer.h
|
View
|
|
1 chunk |
+0 lines, -66 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|