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

Issue 2457613004: Utilize FrameSelection::setSelection() taking SelectionInDOMTree/SelectionInFlatTree (Closed)

Created:
4 years, 1 month ago by yosin_UTC9
Modified:
4 years ago
Reviewers:
yoichio, Xiaocheng
CC:
blink-reviews, chromium-reviews, groby+blinkspell_chromium.org, timvolodine
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Utilize FrameSelection::setSelection() taking SelectionInDOMTree/SelectionInFlatTree This patch changes |FrameSelection:setSelection()| taking |VisibleSelection| and |VisibleSelectionInFlatTRee| to use |SelectionIn{DOM,Flat}Tree| to reduce usage of |VisibleSelection{,InFlatTree}| for improving code health. BUG=657237 TEST=n/a; no behavior changes Committed: https://crrev.com/1ab21eb247b8c05daf26de66bfb63a323c738866 Committed: https://crrev.com/31a4628dfd8c8633077d89d9abb34638547ad699 Cr-Original-Commit-Position: refs/heads/master@{#428660} Cr-Commit-Position: refs/heads/master@{#434447}

Patch Set 1 : 2016-10-28T15:08:31 #

Patch Set 2 : 2016-10-28T15:45:56 #

Total comments: 4

Patch Set 3 : 2016-10-31T13:44:40 #

Patch Set 4 : 2016-11-24T13:04:01 Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -48 lines) Patch
M third_party/WebKit/Source/core/editing/DOMSelection.cpp View 1 2 2 chunks +2 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/editing/FrameSelection.cpp View 1 2 3 4 chunks +10 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/editing/InputMethodController.cpp View 1 2 3 2 chunks +5 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionController.cpp View 1 2 3 2 chunks +8 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellCheckerTest.cpp View 1 chunk +3 lines, -5 lines 0 comments Download

Messages

Total messages: 55 (32 generated)
yosin_UTC9
PTAL
4 years, 1 month ago (2016-10-28 09:50:36 UTC) #11
Xiaocheng
https://codereview.chromium.org/2457613004/diff/20001/third_party/WebKit/Source/core/editing/DOMSelection.cpp File third_party/WebKit/Source/core/editing/DOMSelection.cpp (right): https://codereview.chromium.org/2457613004/diff/20001/third_party/WebKit/Source/core/editing/DOMSelection.cpp#newcode230 third_party/WebKit/Source/core/editing/DOMSelection.cpp:230: frame()->document()->updateStyleAndLayoutIgnorePendingStylesheets(); We can remove this call now. https://codereview.chromium.org/2457613004/diff/20001/third_party/WebKit/Source/core/editing/DOMSelection.cpp#newcode254 third_party/WebKit/Source/core/editing/DOMSelection.cpp:254: ...
4 years, 1 month ago (2016-10-28 10:09:43 UTC) #12
yosin_UTC9
PTAL Get rid of redundant updateStyleAndLayoutI... as suggested https://codereview.chromium.org/2457613004/diff/20001/third_party/WebKit/Source/core/editing/DOMSelection.cpp File third_party/WebKit/Source/core/editing/DOMSelection.cpp (right): https://codereview.chromium.org/2457613004/diff/20001/third_party/WebKit/Source/core/editing/DOMSelection.cpp#newcode230 third_party/WebKit/Source/core/editing/DOMSelection.cpp:230: frame()->document()->updateStyleAndLayoutIgnorePendingStylesheets(); ...
4 years, 1 month ago (2016-10-31 06:13:08 UTC) #17
Xiaocheng
lgtm
4 years, 1 month ago (2016-10-31 06:18:41 UTC) #18
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/2457613004/40001
4 years, 1 month ago (2016-10-31 06:25:08 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-10-31 06:28:40 UTC) #21
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/1ab21eb247b8c05daf26de66bfb63a323c738866 Cr-Commit-Position: refs/heads/master@{#428660}
4 years, 1 month ago (2016-10-31 06:30:19 UTC) #23
aelias_OOO_until_Jul13
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2491763004/ by aelias@chromium.org. ...
4 years, 1 month ago (2016-11-10 20:04:57 UTC) #24
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/2457613004/40001
4 years ago (2016-11-24 03:40:38 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/112857) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years ago (2016-11-24 03:43:10 UTC) #28
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/2457613004/60001
4 years ago (2016-11-24 04:05:37 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: blimp_linux_dbg on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) cast_shell_linux on ...
4 years ago (2016-11-24 06:06:41 UTC) #33
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/2457613004/60001
4 years ago (2016-11-24 13:58:51 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/304100)
4 years ago (2016-11-24 15:23:28 UTC) #37
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/2457613004/60001
4 years ago (2016-11-25 01:17:39 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/304446)
4 years ago (2016-11-25 02:00:08 UTC) #41
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/2457613004/60001
4 years ago (2016-11-25 02:00:53 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/304455)
4 years ago (2016-11-25 02:44:39 UTC) #45
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/2457613004/60001
4 years ago (2016-11-25 04:03:18 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/342548)
4 years ago (2016-11-25 06:27:44 UTC) #49
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/2457613004/60001
4 years ago (2016-11-25 06:32:41 UTC) #51
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-11-25 07:45:15 UTC) #53
commit-bot: I haz the power
4 years ago (2016-11-25 07:47:20 UTC) #55
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/31a4628dfd8c8633077d89d9abb34638547ad699
Cr-Commit-Position: refs/heads/master@{#434447}

Powered by Google App Engine
This is Rietveld 408576698