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

Issue 1412713003: Reland 'Use FrameSelection::selectedText where possible.'

Created:
5 years, 2 months ago by kotenkov
Modified:
5 years, 1 month ago
Reviewers:
tkent, yosin_UTC9
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dcheng, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland https://codereview.chromium.org/1377963004/ Use FrameSelection::selectedText where possible. Substitute occurrences of selection -> range -> (text or html) conversions with direct selection -> (text or html) conversions using existing functions. BUG=

Patch Set 1 : Original patch #

Patch Set 2 : Introduce setSelectionInTextFormControl. #

Patch Set 3 : Reimplement setSelectionInTextFormControl: use setSelection. #

Total comments: 1

Patch Set 4 : Use SelectionEditor::setWithoutValidation. #

Total comments: 1

Messages

Total messages: 32 (11 generated)
kotenkov
I've introduced changes that you suggested here: https://codereview.chromium.org/1377963004#msg40 I'm compiling a release build to run ...
5 years, 2 months ago (2015-10-23 15:40:42 UTC) #3
kotenkov
> I'm compiling a release build to run perfomance tests, I'll report results > later. ...
5 years, 2 months ago (2015-10-23 17:44:53 UTC) #4
yosin_UTC9
On 2015/10/23 at 17:44:53, kotenkov wrote: > > I'm compiling a release build to run ...
5 years, 1 month ago (2015-10-26 13:59:56 UTC) #5
yosin_UTC9
On 2015/10/23 at 15:40:42, kotenkov wrote: > I've introduced changes that you suggested here: https://codereview.chromium.org/1377963004#msg40 ...
5 years, 1 month ago (2015-10-26 14:01:21 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412713003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412713003/20001
5 years, 1 month ago (2015-10-26 14:02:56 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/79688)
5 years, 1 month ago (2015-10-26 14:22:02 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412713003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412713003/20001
5 years, 1 month ago (2015-10-27 01:08:25 UTC) #12
yosin_UTC9
I believe bot failures are caused by bot flakinees, since {linux,mac,win}_blink_rel are succeeded. ktenkov@, could ...
5 years, 1 month ago (2015-10-27 01:11:20 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/71531)
5 years, 1 month ago (2015-10-27 01:28:04 UTC) #15
kotenkov
On 2015/10/27 01:11:20, Yosi_OOO_til_Oct_30 wrote: > I believe bot failures are caused by bot flakinees, ...
5 years, 1 month ago (2015-10-27 14:06:31 UTC) #16
kotenkov
Indeed it was my fault. I've forgotten to let observers know about changed selection. To ...
5 years, 1 month ago (2015-10-27 16:55:33 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412713003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412713003/40001
5 years, 1 month ago (2015-10-28 04:33:32 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/122899)
5 years, 1 month ago (2015-10-28 05:35:51 UTC) #21
kotenkov
On 2015/10/28 05:35:51, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
5 years, 1 month ago (2015-10-28 07:32:12 UTC) #22
kotenkov
On 2015/10/28 07:32:12, kotenkov wrote: > On 2015/10/28 05:35:51, commit-bot: I haz the power wrote: ...
5 years, 1 month ago (2015-10-28 07:36:24 UTC) #23
kotenkov
On 2015/10/28 07:36:24, kotenkov wrote: > On 2015/10/28 07:32:12, kotenkov wrote: > > On 2015/10/28 ...
5 years, 1 month ago (2015-10-28 08:27:26 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412713003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412713003/60001
5 years, 1 month ago (2015-10-28 22:56:05 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-10-29 00:18:04 UTC) #28
kotenkov
Adding tkent as an owner. I have fixed the regression, PTAL
5 years, 1 month ago (2015-10-29 06:05:27 UTC) #30
yosin_UTC9
https://codereview.chromium.org/1412713003/diff/40001/third_party/WebKit/Source/core/editing/FrameSelection.cpp File third_party/WebKit/Source/core/editing/FrameSelection.cpp (right): https://codereview.chromium.org/1412713003/diff/40001/third_party/WebKit/Source/core/editing/FrameSelection.cpp#newcode862 third_party/WebKit/Source/core/editing/FrameSelection.cpp:862: setSelection(selection, options); FrameSelection::setSelection() calls SelectionEditor::setSelection(). So, we update VisibleSelection{InDOMTree,InComposedTree} ...
5 years, 1 month ago (2015-10-29 06:44:48 UTC) #31
yosin_UTC9
5 years, 1 month ago (2015-10-29 06:50:51 UTC) #32
How about split this patch into two? One for TextFormControl changes and another
is for others.
It seems changes for TextFormControl causes trouble.

Powered by Google App Engine
This is Rietveld 408576698