Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Issue 636863002: Make SpeechRecognitionController per frame instead of per page.

Created:
6 years, 2 months ago by mlamouri (slow - plz ping)
Modified:
5 years, 11 months ago
Reviewers:
Mike West, dcheng
CC:
blink-reviews, dglazkov+blink, jamesr, mkwst+moarreviews_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Make SpeechRecognitionController per frame instead of per page. This is still using the WebViewClient::speechRecognizer() if WebFrameClient::speechRecognizer() returns null. After part 2 lands, part 3 will remove it. Part 1: <this> Part 2: https://codereview.chromium.org/636863003/ Part 3: https://codereview.chromium.org/752303003/ BUG=390749 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186174

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 6

Patch Set 3 : first of many-ways CL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -18 lines) Patch
M Source/modules/speech/SpeechRecognition.cpp View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M Source/modules/speech/SpeechRecognitionController.h View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M Source/modules/speech/SpeechRecognitionController.cpp View 2 chunks +13 lines, -7 lines 0 comments Download
M Source/web/WebLocalFrameImpl.cpp View 1 2 4 chunks +10 lines, -2 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M public/web/WebFrameClient.h View 1 2 4 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
mlamouri (slow - plz ping)
6 years, 1 month ago (2014-11-10 20:04:49 UTC) #3
Mike West
LGTM. https://codereview.chromium.org/636863002/diff/20001/Source/web/WebLocalFrameImpl.cpp File Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/636863002/diff/20001/Source/web/WebLocalFrameImpl.cpp#newcode1597 Source/web/WebLocalFrameImpl.cpp:1597: SpeechRecognitionController::provideTo(*m_frame, SpeechRecognitionClientProxy::create(m_client ? m_client->speechRecognizer() : 0)); s/0/nullptr/g You ...
6 years, 1 month ago (2014-11-11 05:50:48 UTC) #4
dcheng
https://codereview.chromium.org/636863002/diff/20001/Source/modules/speech/SpeechRecognitionController.h File Source/modules/speech/SpeechRecognitionController.h (right): https://codereview.chromium.org/636863002/diff/20001/Source/modules/speech/SpeechRecognitionController.h#newcode39 Source/modules/speech/SpeechRecognitionController.h:39: public WillBeHeapSupplement<LocalFrame> { Alignment. I think git cl format ...
6 years, 1 month ago (2014-11-11 08:09:58 UTC) #6
mlamouri (slow - plz ping)
https://codereview.chromium.org/636863002/diff/20001/Source/modules/speech/SpeechRecognitionController.h File Source/modules/speech/SpeechRecognitionController.h (right): https://codereview.chromium.org/636863002/diff/20001/Source/modules/speech/SpeechRecognitionController.h#newcode39 Source/modules/speech/SpeechRecognitionController.h:39: public WillBeHeapSupplement<LocalFrame> { On 2014/11/11 at 08:09:58, dcheng wrote: ...
6 years ago (2014-11-28 10:43:05 UTC) #7
mlamouri (slow - plz ping)
Mike, could you PTAL. I have changed the CL slightly to make sure it can ...
6 years ago (2014-11-28 11:07:15 UTC) #8
Mike West
Still LGTM. Sorry I didn't note this in the initial review; I should have been ...
6 years ago (2014-11-28 11:15:12 UTC) #9
mlamouri (slow - plz ping)
On 2014/11/28 at 11:15:12, mkwst wrote: > Still LGTM. Sorry I didn't note this in ...
6 years ago (2014-11-28 11:23:28 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/636863002/40001
6 years ago (2014-11-28 11:24:31 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=186174
6 years ago (2014-11-28 12:10:20 UTC) #13
mlamouri (slow - plz ping)
5 years, 11 months ago (2015-01-22 10:39:17 UTC) #14
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/863213002/ by mlamouri@chromium.org.

The reason for reverting is: https://crbug.com/449739.

Powered by Google App Engine
This is Rietveld 408576698