Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1183)

Issue 1780923004: Don't reveal text selection when finishing composition. (Closed)

Created:
4 years, 9 months ago by ymalik
Modified:
4 years, 8 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

Don't reveal text selection when finishing composition. Please see https://crbug.com/587458 for context. BUG=587458 Committed: https://crrev.com/3cabd97ab0cd2b93ab3b49ab34dda2ce75898e15 Cr-Commit-Position: refs/heads/master@{#384673}

Patch Set 1 #

Patch Set 2 : added finishComposition and unittest #

Total comments: 9

Patch Set 3 : #

Total comments: 2

Patch Set 4 : nits #

Patch Set 5 : rebase master #

Patch Set 6 : fix oilpan bot #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -6 lines) Patch
M third_party/WebKit/Source/core/editing/Editor.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/InputMethodController.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/InputMethodController.cpp View 1 2 3 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebViewTest.cpp View 1 2 3 4 5 2 chunks +30 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/form_with_input.html View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (10 generated)
ymalik
Please see comment #11 on crbug.com/587458 for context.
4 years, 9 months ago (2016-03-11 00:01:36 UTC) #2
aelias_OOO_until_Jul13
So what's happening is that first the IPC to cancel the composition is sent, it ...
4 years, 9 months ago (2016-03-11 00:17:41 UTC) #3
yosin_UTC9
Not sure about side effect. This change behavior for setting composition from existing text. Can ...
4 years, 9 months ago (2016-03-11 05:12:42 UTC) #4
ymalik
On 2016/03/11 00:17:41, aelias wrote: > So what's happening is that first the IPC to ...
4 years, 9 months ago (2016-03-11 15:02:41 UTC) #5
ymalik
On 2016/03/11 05:12:42, Yosi_UTC9 wrote: > Not sure about side effect. This change behavior for ...
4 years, 9 months ago (2016-03-11 15:16:17 UTC) #6
ymalik
Gentle ping :)
4 years, 9 months ago (2016-03-14 22:24:52 UTC) #7
yosin_UTC9
On 2016/03/11 at 15:16:17, ymalik wrote: > On 2016/03/11 05:12:42, Yosi_UTC9 wrote: > > Not ...
4 years, 9 months ago (2016-03-15 01:34:43 UTC) #8
aelias_OOO_until_Jul13
On 2016/03/15 at 01:34:43, yosin wrote: > Can we introduce finishComposition(), which does what confirmComposition() ...
4 years, 9 months ago (2016-03-15 04:35:36 UTC) #10
ymalik
@yosin, @aelias PTAL :)
4 years, 9 months ago (2016-03-23 17:27:16 UTC) #11
yosin_UTC9
lgtm w/ nit Please wait for aelias@ for OWNERE of Source/web. https://codereview.chromium.org/1780923004/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): ...
4 years, 9 months ago (2016-03-24 01:19:17 UTC) #13
aelias_OOO_until_Jul13
https://codereview.chromium.org/1780923004/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.h File third_party/WebKit/Source/core/editing/InputMethodController.h (right): https://codereview.chromium.org/1780923004/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.h#newcode68 third_party/WebKit/Source/core/editing/InputMethodController.h:68: bool finishComposition(const String& text); This method isn't called from ...
4 years, 9 months ago (2016-03-24 01:48:40 UTC) #14
ymalik
https://codereview.chromium.org/1780923004/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.h File third_party/WebKit/Source/core/editing/InputMethodController.h (right): https://codereview.chromium.org/1780923004/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.h#newcode68 third_party/WebKit/Source/core/editing/InputMethodController.h:68: bool finishComposition(const String& text); On 2016/03/24 01:48:40, aelias wrote: ...
4 years, 9 months ago (2016-03-24 02:14:33 UTC) #15
aelias_OOO_until_Jul13
On 2016/03/24 at 02:14:33, ymalik wrote: > https://codereview.chromium.org/1780923004/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.h > File third_party/WebKit/Source/core/editing/InputMethodController.h (right): > > https://codereview.chromium.org/1780923004/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.h#newcode68 ...
4 years, 9 months ago (2016-03-24 02:29:42 UTC) #16
yosin_UTC9
On 2016/03/24 at 02:29:42, aelias wrote: > On 2016/03/24 at 02:14:33, ymalik wrote: > > ...
4 years, 9 months ago (2016-03-24 04:45:59 UTC) #17
ymalik
On 2016/03/24 02:29:42, aelias wrote: > On 2016/03/24 at 02:14:33, ymalik wrote: > > > ...
4 years, 9 months ago (2016-03-24 18:50:10 UTC) #18
aelias_OOO_until_Jul13
lgtm, but please wait for yosin@ to review the Editor.h change before landing. (Personally, I ...
4 years, 9 months ago (2016-03-24 19:30:49 UTC) #19
yosin_UTC9
https://codereview.chromium.org/1780923004/diff/40001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/1780923004/diff/40001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode144 third_party/WebKit/Source/core/editing/InputMethodController.cpp:144: Optional<Editor::RevealSelectionScope> revealSelectionScope; How about make |RevealSelectionScope| to take |nullptr|? ...
4 years, 9 months ago (2016-03-25 01:19:35 UTC) #20
ymalik
@yosin, ptal :) https://codereview.chromium.org/1780923004/diff/20001/third_party/WebKit/Source/web/tests/WebViewTest.cpp File third_party/WebKit/Source/web/tests/WebViewTest.cpp (right): https://codereview.chromium.org/1780923004/diff/20001/third_party/WebKit/Source/web/tests/WebViewTest.cpp#newcode984 third_party/WebKit/Source/web/tests/WebViewTest.cpp:984: RefPtrWillBeRawPtr<Element> element = static_cast<PassRefPtrWillBeRawPtr<Element>>(webView->mainFrame()->document().getElementById("btn")); On 2016/03/24 ...
4 years, 8 months ago (2016-03-29 20:46:20 UTC) #21
yosin_UTC9
On 2016/03/29 at 20:46:20, ymalik wrote: > @yosin, ptal :) > > https://codereview.chromium.org/1780923004/diff/20001/third_party/WebKit/Source/web/tests/WebViewTest.cpp > File ...
4 years, 8 months ago (2016-03-30 03:35:55 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1780923004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1780923004/80001
4 years, 8 months ago (2016-03-30 18:49:58 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_oilpan_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_blink_oilpan_rel/builds/23572)
4 years, 8 months ago (2016-03-30 19:06:09 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1780923004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1780923004/100001
4 years, 8 months ago (2016-04-01 17:17:02 UTC) #30
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-04-01 20:13:37 UTC) #32
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 20:14:54 UTC) #34
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/3cabd97ab0cd2b93ab3b49ab34dda2ce75898e15
Cr-Commit-Position: refs/heads/master@{#384673}

Powered by Google App Engine
This is Rietveld 408576698