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

Issue 2206923002: Change InputMethodController#setSelectionOffsets() to use NotUserTriggered parameter (Closed)

Created:
4 years, 4 months ago by yabinh
Modified:
4 years, 4 months ago
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change InputMethodController#setSelectionOffsets() to use NotUserTriggered parameter InputMethodController#setSelectionOffsets() should have no side effect other than changing the selection. But FrameSelection::CloseTyping will close typing, causing the failure of canceling the composing text when inserting line break. We should use NotUserTriggered parameter because it has no side effect. BUG=633840 Committed: https://crrev.com/786070a33bcfebaff78b304401a4137e8dadccd8 Cr-Commit-Position: refs/heads/master@{#410577}

Patch Set 1 #

Total comments: 3

Patch Set 2 : For changwan@'s review #

Patch Set 3 : Add a unit test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -1 line) Patch
M third_party/WebKit/Source/core/editing/InputMethodController.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp View 1 2 2 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (23 generated)
yabinh
changwan@, can you take a look at this patch? https://codereview.chromium.org/2206923002/diff/1/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (left): https://codereview.chromium.org/2206923002/diff/1/third_party/WebKit/Source/core/editing/InputMethodController.cpp#oldcode502 third_party/WebKit/Source/core/editing/InputMethodController.cpp:502: ...
4 years, 4 months ago (2016-08-03 06:27:01 UTC) #4
Changwan Ryu
Removing yosin@ until this CL gets stabilized... yabinh@, as we talked offline, please check if ...
4 years, 4 months ago (2016-08-03 06:50:50 UTC) #8
yabinh
On 2016/08/03 06:50:50, Changwan Ryu wrote: > Removing yosin@ until this CL gets stabilized... > ...
4 years, 4 months ago (2016-08-04 03:21:37 UTC) #11
Changwan Ryu
On 2016/08/04 03:21:37, yabinh wrote: > On 2016/08/03 06:50:50, Changwan Ryu wrote: > > Removing ...
4 years, 4 months ago (2016-08-08 00:01:31 UTC) #14
yabinh
On 2016/08/08 00:01:31, Changwan Ryu wrote: > Hmm... Actually it wasn't changed by your CL, ...
4 years, 4 months ago (2016-08-08 01:56:10 UTC) #16
Changwan Ryu
yosin@, could you take look?
4 years, 4 months ago (2016-08-08 05:00:37 UTC) #19
yosin_UTC9
On 2016/08/08 at 05:00:37, changwan wrote: > yosin@, could you take look? Change is reasonable. ...
4 years, 4 months ago (2016-08-08 06:08:32 UTC) #20
yabinh
> Change is reasonable. Could you add a test case for this? yosin@, can you ...
4 years, 4 months ago (2016-08-09 02:14:42 UTC) #24
yosin_UTC9
lgtm Thanks for adding tests!
4 years, 4 months ago (2016-08-09 04:37:53 UTC) #27
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/2206923002/40001
4 years, 4 months ago (2016-08-09 04:54:12 UTC) #31
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-09 04:59:19 UTC) #33
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/786070a33bcfebaff78b304401a4137e8dadccd8 Cr-Commit-Position: refs/heads/master@{#410577}
4 years, 4 months ago (2016-08-09 05:02:07 UTC) #35
yabinh
4 years, 4 months ago (2016-08-10 00:47:49 UTC) #36
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2227333002/ by yabinh@chromium.org.

The reason for reverting is: ImeTest#testFinishComposingText failed.
We need to fix the test before relanding it..

Powered by Google App Engine
This is Rietveld 408576698