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

Issue 2832153002: Ensure ime adapter gets connected to RWHVA (Closed)

Created:
3 years, 8 months ago by Jinsuk Kim
Modified:
3 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure ime adapter gets connected to RWHVA A bug exists that makes ImeAdapter not establish connection to RenderWidgetHostViewAndroid if RWHVA is created earlier than ImeAdapter, since the WebContentsObserver events it relies on to make connection would have been fired before it gets registered in the observer list. This CL checkes the presence of RWHVA upon creation of ImeAdapter and ensure the connection is made regardless of the order in which relevant objects are created. BUG=713924 Review-Url: https://codereview.chromium.org/2832153002 Cr-Commit-Position: refs/heads/master@{#466455} Committed: https://chromium.googlesource.com/chromium/src/+/7cf10b073c07ab7eb0ea156fcf1f4918109837cc

Patch Set 1 #

Total comments: 6

Patch Set 2 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -5 lines) Patch
M content/browser/android/ime_adapter_android.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/android/render_widget_host_connector.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/android/render_widget_host_connector.cc View 1 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
Jinsuk Kim
3 years, 8 months ago (2017-04-21 08:33:33 UTC) #6
boliu
https://codereview.chromium.org/2832153002/diff/1/content/browser/android/render_widget_host_connector.cc File content/browser/android/render_widget_host_connector.cc (right): https://codereview.chromium.org/2832153002/diff/1/content/browser/android/render_widget_host_connector.cc#newcode131 content/browser/android/render_widget_host_connector.cc:131: render_widget_observer_->RenderViewReady(); what it does is correct, but the RenderViewReady ...
3 years, 8 months ago (2017-04-21 16:20:02 UTC) #7
Jinsuk Kim
https://codereview.chromium.org/2832153002/diff/1/content/browser/android/render_widget_host_connector.cc File content/browser/android/render_widget_host_connector.cc (right): https://codereview.chromium.org/2832153002/diff/1/content/browser/android/render_widget_host_connector.cc#newcode131 content/browser/android/render_widget_host_connector.cc:131: render_widget_observer_->RenderViewReady(); On 2017/04/21 16:20:02, boliu wrote: > what it ...
3 years, 8 months ago (2017-04-21 16:30:05 UTC) #8
boliu
https://codereview.chromium.org/2832153002/diff/1/content/browser/android/render_widget_host_connector.cc File content/browser/android/render_widget_host_connector.cc (right): https://codereview.chromium.org/2832153002/diff/1/content/browser/android/render_widget_host_connector.cc#newcode131 content/browser/android/render_widget_host_connector.cc:131: render_widget_observer_->RenderViewReady(); On 2017/04/21 16:30:04, Jinsuk Kim wrote: > On ...
3 years, 8 months ago (2017-04-21 16:33:39 UTC) #9
Jinsuk Kim
https://codereview.chromium.org/2832153002/diff/1/content/browser/android/render_widget_host_connector.cc File content/browser/android/render_widget_host_connector.cc (right): https://codereview.chromium.org/2832153002/diff/1/content/browser/android/render_widget_host_connector.cc#newcode131 content/browser/android/render_widget_host_connector.cc:131: render_widget_observer_->RenderViewReady(); On 2017/04/21 16:33:39, boliu wrote: > On 2017/04/21 ...
3 years, 8 months ago (2017-04-21 16:53:17 UTC) #10
Changwan Ryu
I think we need tests to prevent serious regressions in this area. Would you mind ...
3 years, 8 months ago (2017-04-21 17:23:21 UTC) #11
boliu
lgtm
3 years, 8 months ago (2017-04-21 18:12:14 UTC) #12
aelias_OOO_until_Jul13
OK, let's get this landed now so that we can make sure the feedback dies ...
3 years, 8 months ago (2017-04-21 21:16:12 UTC) #15
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/2832153002/20001
3 years, 8 months ago (2017-04-21 21:16:58 UTC) #16
commit-bot: I haz the power
3 years, 8 months ago (2017-04-21 21:45:06 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/7cf10b073c07ab7eb0ea156fcf1f...

Powered by Google App Engine
This is Rietveld 408576698