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

Issue 18750003: Require ACK for editor-related changes not originating from browser. (Closed)

Created:
7 years, 5 months ago by nyquist
Modified:
7 years, 4 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, penghuang+watch_chromium.org, joi+watch-content_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, James Su, jochen+watch_chromium.org, palmer
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Require ACK for editor-related changes not originating from browser. Whenever a change happens in the renderer regarding editing and it did not originate from the browser (for example JavaScript, autofill), this CL now requires the browser side to acknowledge the change before the renderer handles any more IME events. If there are IME events in flight before the browser sends the acknowledgement, the renderer drops the event. BUG=145521, 230848, 172845, 248544, 235704 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215698

Patch Set 1 #

Total comments: 23

Patch Set 2 : Rebased #

Patch Set 3 : Added ifdefs instead of depending on flag value, addressed comments #

Patch Set 4 : Fixed compile warning on windows #

Total comments: 5

Patch Set 5 : Removed flag, simplified implementation #

Patch Set 6 : Rebased #

Total comments: 2

Patch Set 7 : Rebased #

Patch Set 8 : Change from using enums to bools for UpdateTextInputState #

Total comments: 2

Patch Set 9 : Fixed naming nit #

Patch Set 10 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -20 lines) Patch
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 7 8 2 chunks +12 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 2 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -3 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 7 4 chunks +26 lines, -8 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 11 chunks +33 lines, -9 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
nyquist
PTAL
7 years, 5 months ago (2013-07-05 08:37:09 UTC) #1
kochi
I'll take closer look but how about using "ordered IME processing" instead of "strict IME ...
7 years, 5 months ago (2013-07-05 09:01:27 UTC) #2
kochi
First round of comments from me. Do you have a minimal reproduction case for confirming ...
7 years, 5 months ago (2013-07-08 04:28:43 UTC) #3
aurimas (slooooooooow)
https://chromiumcodereview.appspot.com/18750003/diff/1/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://chromiumcodereview.appspot.com/18750003/diff/1/chrome/browser/about_flags.cc#newcode676 chrome/browser/about_flags.cc:676: kOsAndroid, On 2013/07/08 04:28:43, Takayoshi Kochi wrote: > A ...
7 years, 5 months ago (2013-07-08 16:04:48 UTC) #4
nyquist
addressed all comments. PTAL. Sadly, the browser tests for RenderViewImplTest are disabled on android since ...
7 years, 5 months ago (2013-07-09 07:47:36 UTC) #5
aurimas (slooooooooow)
https://chromiumcodereview.appspot.com/18750003/diff/25002/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://chromiumcodereview.appspot.com/18750003/diff/25002/content/renderer/render_view_impl.cc#newcode1738 content/renderer/render_view_impl.cc:1738: if (!RenderWidget::ShouldHandleImeEvent()) Do you need to specify RenderWidget:: even ...
7 years, 5 months ago (2013-07-09 14:34:03 UTC) #6
kochi
lgtm nona, could you also take a look?
7 years, 5 months ago (2013-07-10 01:10:09 UTC) #7
Seigo Nonaka
lgtm https://codereview.chromium.org/18750003/diff/25002/content/renderer/render_widget.h File content/renderer/render_widget.h (right): https://codereview.chromium.org/18750003/diff/25002/content/renderer/render_widget.h#newcode334 content/renderer/render_widget.h:334: // Returns whether ordered IME processing has been ...
7 years, 5 months ago (2013-07-10 02:22:17 UTC) #8
nyquist
jamesr: PTAL
7 years, 5 months ago (2013-07-10 14:17:02 UTC) #9
jamesr
I don't quite follow the flow here. From the patch description I expect to see ...
7 years, 5 months ago (2013-07-10 20:26:19 UTC) #10
nyquist
PTAL. Addressed comments, clarified CL description, removed flag, reduced the number of changes to when ...
7 years, 5 months ago (2013-07-12 05:55:24 UTC) #11
kochi
What's the status of this CL?
7 years, 5 months ago (2013-07-24 08:14:32 UTC) #12
aurimas (slooooooooow)
On 2013/07/10 20:26:19, jamesr wrote: > I don't quite follow the flow here. From the ...
7 years, 5 months ago (2013-07-25 16:53:36 UTC) #13
nyquist
jamesr: PTAL
7 years, 5 months ago (2013-07-26 22:07:31 UTC) #14
jamesr
Thanks for the description update and context link. This lgtm, but I'm not sure why ...
7 years, 5 months ago (2013-07-26 22:11:33 UTC) #15
nyquist
brettw: PTAL for OWNERS review
7 years, 5 months ago (2013-07-26 23:42:30 UTC) #16
nyquist
jam: PTAL for OWNERS stamp
7 years, 4 months ago (2013-07-31 19:59:57 UTC) #17
jam
https://codereview.chromium.org/18750003/diff/61001/content/renderer/render_widget.h File content/renderer/render_widget.h (right): https://codereview.chromium.org/18750003/diff/61001/content/renderer/render_widget.h#newcode209 content/renderer/render_widget.h:209: NO_IME_ACK i realize this is the convention in blink, ...
7 years, 4 months ago (2013-07-31 20:57:09 UTC) #18
nyquist
On 2013/07/31 20:57:09, jam wrote: > https://codereview.chromium.org/18750003/diff/61001/content/renderer/render_widget.h > File content/renderer/render_widget.h (right): > > https://codereview.chromium.org/18750003/diff/61001/content/renderer/render_widget.h#newcode209 > ...
7 years, 4 months ago (2013-07-31 21:53:17 UTC) #19
jam
On 2013/07/31 21:53:17, nyquist wrote: > On 2013/07/31 20:57:09, jam wrote: > > > https://codereview.chromium.org/18750003/diff/61001/content/renderer/render_widget.h ...
7 years, 4 months ago (2013-08-01 00:12:32 UTC) #20
nyquist
On 2013/08/01 00:12:32, jam wrote: > On 2013/07/31 21:53:17, nyquist wrote: > > On 2013/07/31 ...
7 years, 4 months ago (2013-08-01 16:10:16 UTC) #21
jam
lgtm https://codereview.chromium.org/18750003/diff/77001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/18750003/diff/77001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode410 content/browser/renderer_host/render_widget_host_view_android.cc:410: base::ScopedClosureRunner ackCaller(base::Bind(&SendImeEventAck, host_)); nit: ack_caller per style guide ...
7 years, 4 months ago (2013-08-01 22:34:06 UTC) #22
nyquist
palmer: PTAL for OWNERS review of content/common/view_messages.h https://codereview.chromium.org/18750003/diff/61001/content/renderer/render_widget.h File content/renderer/render_widget.h (right): https://codereview.chromium.org/18750003/diff/61001/content/renderer/render_widget.h#newcode209 content/renderer/render_widget.h:209: NO_IME_ACK On ...
7 years, 4 months ago (2013-08-01 23:11:04 UTC) #23
nyquist
palmer: PTAL for OWNERS review of content/common/view_messages.h. Forgot to add you yesterday.
7 years, 4 months ago (2013-08-02 17:57:16 UTC) #24
palmer
LGTM
7 years, 4 months ago (2013-08-02 18:51:45 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/18750003/86001
7 years, 4 months ago (2013-08-02 23:01:37 UTC) #26
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 4 months ago (2013-08-02 23:12:02 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/18750003/86001
7 years, 4 months ago (2013-08-05 20:12:57 UTC) #28
commit-bot: I haz the power
7 years, 4 months ago (2013-08-05 22:01:16 UTC) #29
Message was sent while issue was closed.
Change committed as 215698

Powered by Google App Engine
This is Rietveld 408576698