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

Issue 56643003: Start using FocusedNodedChanged to restartInput. (Closed)

Created:
7 years, 1 month ago by aurimas (slooooooooow)
Modified:
6 years, 11 months ago
Reviewers:
Ted C, jamesr, Nico, Jói
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, James Su, miu+watch_chromium.org
Visibility:
Public.

Description

Start using FocusedNodedChanged to restartInput. Android requires us to call restart input when input node changes. Previously we relied on onHandleGesture which is not the right way to do it. BUG=242715 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245130

Patch Set 1 #

Total comments: 1

Patch Set 2 : Changes based on jamesr comments #

Total comments: 6

Patch Set 3 : jamesr's nits #

Total comments: 4

Patch Set 4 : Removed RWHVI #

Total comments: 10

Patch Set 5 : Ted's nits #

Patch Set 6 : Nico's nit #

Patch Set 7 : Rebase #

Patch Set 8 : Adding FocusedNodeChanged test #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -7 lines) Patch
M content/browser/renderer_host/ime_adapter_android.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/ime_adapter_android.cc View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M content/port/browser/render_widget_host_view_port.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java View 1 2 3 4 5 6 3 chunks +12 lines, -3 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 3 4 5 6 7 8 1 chunk +31 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
aurimas (slooooooooow)
Hello James, Could you please take a look at this change? I tried to follow ...
7 years, 1 month ago (2013-11-01 23:39:35 UTC) #1
aurimas (slooooooooow)
Hello James, Could you please take a look at this change? I tried to follow ...
7 years, 1 month ago (2013-11-05 20:52:53 UTC) #2
jamesr
I got really lost in these classes, but jam@ helped me out. I think what ...
7 years, 1 month ago (2013-11-05 23:54:08 UTC) #3
aurimas (slooooooooow)
Hello James, I have changed this CL to adjust to your comments. Please take another ...
7 years, 1 month ago (2013-11-15 18:09:38 UTC) #4
jamesr
https://chromiumcodereview.appspot.com/56643003/diff/70001/content/browser/renderer_host/ime_adapter_android.cc File content/browser/renderer_host/ime_adapter_android.cc (right): https://chromiumcodereview.appspot.com/56643003/diff/70001/content/browser/renderer_host/ime_adapter_android.cc#newcode184 content/browser/renderer_host/ime_adapter_android.cc:184: if (!obj.is_null()) indentation here went off somehow. 183 should ...
7 years, 1 month ago (2013-11-15 23:02:46 UTC) #5
aurimas (slooooooooow)
https://chromiumcodereview.appspot.com/56643003/diff/70001/content/browser/renderer_host/ime_adapter_android.cc File content/browser/renderer_host/ime_adapter_android.cc (right): https://chromiumcodereview.appspot.com/56643003/diff/70001/content/browser/renderer_host/ime_adapter_android.cc#newcode184 content/browser/renderer_host/ime_adapter_android.cc:184: if (!obj.is_null()) On 2013/11/15 23:02:46, jamesr wrote: > indentation ...
7 years, 1 month ago (2013-11-20 00:25:43 UTC) #6
jamesr
lgtm - you'll need a content/ OWNER to look as well as I just own ...
7 years, 1 month ago (2013-11-20 00:36:56 UTC) #7
aurimas (slooooooooow)
https://chromiumcodereview.appspot.com/56643003/diff/210001/content/browser/renderer_host/render_view_host_impl.cc File content/browser/renderer_host/render_view_host_impl.cc (right): https://chromiumcodereview.appspot.com/56643003/diff/210001/content/browser/renderer_host/render_view_host_impl.cc#newcode1772 content/browser/renderer_host/render_view_host_impl.cc:1772: if (RenderWidgetHostImpl::view_) On 2013/11/20 00:36:56, jamesr wrote: > why ...
7 years, 1 month ago (2013-11-20 00:46:58 UTC) #8
aurimas (slooooooooow)
tedchoc@chromium.org: Please review changes in content/public/android/java/* thakis@chromium.org: Please review changes in content/browser/*
7 years, 1 month ago (2013-11-20 00:48:25 UTC) #9
Ted C
androidy bits lgtm w/ nits https://chromiumcodereview.appspot.com/56643003/diff/270001/content/browser/renderer_host/ime_adapter_android.cc File content/browser/renderer_host/ime_adapter_android.cc (right): https://chromiumcodereview.appspot.com/56643003/diff/270001/content/browser/renderer_host/ime_adapter_android.cc#newcode184 content/browser/renderer_host/ime_adapter_android.cc:184: if (!obj.is_null()) I was ...
7 years, 1 month ago (2013-11-20 00:52:47 UTC) #10
Nico
Looks good, thanks. Any thoughts on writing a test for this? Like, maybe programmatically focus ...
7 years, 1 month ago (2013-11-20 01:03:09 UTC) #11
aurimas (slooooooooow)
For tests, this IPC already is tested in browser_focus_uitest.cc IN_PROC_BROWSER_TEST_F(BrowserFocusTest, MAYBE_FocusTraversal) IN_PROC_BROWSER_TEST_F(BrowserFocusTest, MAYBE_FocusTraversalOnInterstitial) https://chromiumcodereview.appspot.com/56643003/diff/270001/content/browser/renderer_host/ime_adapter_android.cc File ...
7 years, 1 month ago (2013-11-20 01:12:39 UTC) #12
Nico
On Wed, Nov 20, 2013 at 10:12 AM, <aurimas@chromium.org> wrote: > For tests, this IPC ...
7 years, 1 month ago (2013-11-20 01:23:55 UTC) #13
Nico
https://chromiumcodereview.appspot.com/56643003/diff/270001/content/browser/renderer_host/ime_adapter_android.h File content/browser/renderer_host/ime_adapter_android.h (right): https://chromiumcodereview.appspot.com/56643003/diff/270001/content/browser/renderer_host/ime_adapter_android.h#newcode59 content/browser/renderer_host/ime_adapter_android.h:59: void FocusedNodeChanged(bool is_editable_node); On 2013/11/20 01:12:39, aurimas wrote: > ...
7 years, 1 month ago (2013-11-20 01:24:44 UTC) #14
aurimas (slooooooooow)
thakis: added a RenderViewImplTest. WDYT?
6 years, 11 months ago (2014-01-10 01:22:11 UTC) #15
aurimas (slooooooooow)
On 2014/01/10 01:22:11, aurimas wrote: > thakis: added a RenderViewImplTest. WDYT? thakis: ping?
6 years, 11 months ago (2014-01-10 23:14:36 UTC) #16
Nico
On 2014/01/10 23:14:36, aurimas wrote: > On 2014/01/10 01:22:11, aurimas wrote: > > thakis: added ...
6 years, 11 months ago (2014-01-14 01:57:12 UTC) #17
aurimas (slooooooooow)
joi@chromium.org: Please review changes in content/port/browser/*
6 years, 11 months ago (2014-01-14 02:03:16 UTC) #18
Jói
//content/port LGTM.
6 years, 11 months ago (2014-01-14 09:19:30 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/56643003/560001
6 years, 11 months ago (2014-01-16 00:38:13 UTC) #20
commit-bot: I haz the power
Failed to apply patch for content/browser/renderer_host/render_view_host_impl.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-16 00:38:20 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/56643003/790001
6 years, 11 months ago (2014-01-16 01:25:45 UTC) #22
commit-bot: I haz the power
6 years, 11 months ago (2014-01-16 05:12:13 UTC) #23
Message was sent while issue was closed.
Change committed as 245130

Powered by Google App Engine
This is Rietveld 408576698