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

Issue 2799923003: Change SpellCheckProvider into a RenderFrameObserver (Closed)

Created:
3 years, 8 months ago by Xiaocheng
Modified:
3 years, 8 months ago
CC:
blink-reviews, chromium-reviews, groby+spellwatch_chromium.org, kinuko+watch, rlp+watch_chromium.org, rouslan+spell_chromium.org, timvolodine
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Change SpellCheckProvider into a RenderFrameObserver This is Patch 6 of 6 for making SpellCheckProvider a RenderFrameObserver, so that spellcheck can work in OOPIF. Full design: https://goo.gl/VfCENk This patch changes SpellCheckProvider into a RenderFrameObserver, so that spellcheck messages from OOPIFs can be successfully sent to browser, making spell-checking work in OOPIFs. BUG=638361, 710044, 625068 Review-Url: https://codereview.chromium.org/2799923003 Cr-Commit-Position: refs/heads/master@{#463912} Committed: https://chromium.googlesource.com/chromium/src/+/0c92b1cfa21b855c0e8c19f5550ae5209a325936

Patch Set 1 #

Total comments: 3

Patch Set 2 : Mon Apr 10 12:05:33 PDT 2017 #

Patch Set 3 : Forgot Android Webview... #

Patch Set 4 : Mon Apr 10 14:06:42 PDT 2017 #

Patch Set 5 : Use the correct copyright notice #

Patch Set 6 : Rebased #

Total comments: 4

Patch Set 7 : Tue Apr 11 17:50:52 PDT 2017 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -56 lines) Patch
M android_webview/renderer/aw_content_renderer_client.cc View 1 2 2 chunks +11 lines, -1 line 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 5 chunks +19 lines, -22 lines 0 comments Download
M components/spellcheck/renderer/spellcheck.cc View 1 3 chunks +7 lines, -5 lines 0 comments Download
M components/spellcheck/renderer/spellcheck_provider.h View 1 4 chunks +7 lines, -8 lines 0 comments Download
M components/spellcheck/renderer/spellcheck_provider.cc View 1 2 3 5 chunks +8 lines, -20 lines 0 comments Download

Messages

Total messages: 48 (32 generated)
Xiaocheng
Hi thestig@: This patch is still WIP, but I encountered a life cycle issue that ...
3 years, 8 months ago (2017-04-07 01:43:46 UTC) #3
Xiaocheng
Btw, I can make SpellCheckProvider not to visit the core frame in its ctor. But ...
3 years, 8 months ago (2017-04-07 01:48:41 UTC) #4
Lei Zhang
I don't really work on Blink so I have no idea what happens on that ...
3 years, 8 months ago (2017-04-07 02:03:53 UTC) #5
Xiaocheng
Thanks anyway. +nick, could you help?
3 years, 8 months ago (2017-04-07 02:09:49 UTC) #7
ncarter (slow)
+lfg might know off the top of his head
3 years, 8 months ago (2017-04-07 17:24:58 UTC) #9
lfg
On 2017/04/07 01:43:46, Xiaocheng wrote: > > 1. RenderFrameImpl creation starts > 2. WebLocalFrame created ...
3 years, 8 months ago (2017-04-07 19:10:34 UTC) #11
Xiaocheng
On 2017/04/07 at 19:10:34, lfg wrote: > On 2017/04/07 01:43:46, Xiaocheng wrote: > > > ...
3 years, 8 months ago (2017-04-07 23:55:43 UTC) #12
Xiaocheng
+torne for android_webview/ I manually tested this patch, which indeed fixes spellchecking in OOPIFs I'm ...
3 years, 8 months ago (2017-04-10 22:21:41 UTC) #26
Torne
android_webview LGTM
3 years, 8 months ago (2017-04-10 22:43:06 UTC) #28
Xiaocheng
Whoops, forgot rouslan@ for compoents/spellcheck...
3 years, 8 months ago (2017-04-10 22:53:42 UTC) #30
please use gerrit instead
lgtm
3 years, 8 months ago (2017-04-11 14:02:58 UTC) #33
Xiaocheng
thestig@: PTAL? Since M59 branch date is approaching, I'd like to land this fix first ...
3 years, 8 months ago (2017-04-12 00:08:31 UTC) #35
Lei Zhang
LGTM. Feel free to fix the nits below later. https://codereview.chromium.org/2799923003/diff/100001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/2799923003/diff/100001/chrome/renderer/chrome_content_renderer_client.cc#newcode261 chrome/renderer/chrome_content_renderer_client.cc:261: ...
3 years, 8 months ago (2017-04-12 00:34:28 UTC) #38
Xiaocheng
Thanks for reviewing! https://codereview.chromium.org/2799923003/diff/100001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/2799923003/diff/100001/chrome/renderer/chrome_content_renderer_client.cc#newcode261 chrome/renderer/chrome_content_renderer_client.cc:261: bool Visit(content::RenderFrame* render_frame) override; On 2017/04/12 ...
3 years, 8 months ago (2017-04-12 00:54:13 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2799923003/120001
3 years, 8 months ago (2017-04-12 01:50:41 UTC) #45
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 03:07:55 UTC) #48
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/0c92b1cfa21b855c0e8c19f5550a...

Powered by Google App Engine
This is Rietveld 408576698