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

Issue 2901713002: Add TextIterator::HandlePreFormattedTextNode to wrap relevant logic (Closed)

Created:
3 years, 7 months ago by Xiaocheng
Modified:
3 years, 7 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add TextIterator::HandlePreFormattedTextNode to wrap relevant logic This patch wraps code in TextIterator for extracting text from pre-formatted text node into a new function to improve code health and prepare for follow-up refactoring. BUG=721957 TEST=n/a; no behavioral changes Review-Url: https://codereview.chromium.org/2901713002 Cr-Commit-Position: refs/heads/master@{#474205} Committed: https://chromium.googlesource.com/chromium/src/+/c49c1c508631745d9be1bdeea115c63038f8cdf0

Patch Set 1 #

Total comments: 14

Patch Set 2 : Fix nits #

Patch Set 3 : Tue May 23 14:25:01 PDT 2017 #

Total comments: 4

Patch Set 4 : Tue May 23 22:08:24 PDT 2017 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -48 lines) Patch
M third_party/WebKit/Source/core/editing/iterators/TextIterator.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp View 1 2 3 2 chunks +56 lines, -48 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 26 (19 generated)
Xiaocheng
PTAL.
3 years, 7 months ago (2017-05-23 01:41:18 UTC) #5
yosin_UTC9
https://codereview.chromium.org/2901713002/diff/1/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp File third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp (right): https://codereview.chromium.org/2901713002/diff/1/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp#newcode519 third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp:519: bool TextIteratorAlgorithm<Strategy>::HandlePreFormattedTextNode() { Could you add a comment about ...
3 years, 7 months ago (2017-05-23 09:27:46 UTC) #8
Xiaocheng
Updated. PTAL. https://codereview.chromium.org/2901713002/diff/1/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp File third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp (right): https://codereview.chromium.org/2901713002/diff/1/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp#newcode519 third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp:519: bool TextIteratorAlgorithm<Strategy>::HandlePreFormattedTextNode() { On 2017/05/23 at 09:27:45, ...
3 years, 7 months ago (2017-05-23 21:23:55 UTC) #10
yosin_UTC9
lgtm w/ nits https://codereview.chromium.org/2901713002/diff/40001/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp File third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp (right): https://codereview.chromium.org/2901713002/diff/40001/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp#newcode557 third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp:557: const unsigned run_start = offset_ - ...
3 years, 7 months ago (2017-05-24 04:41:58 UTC) #16
Xiaocheng
Thanks for reviewing. https://codereview.chromium.org/2901713002/diff/40001/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp File third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp (right): https://codereview.chromium.org/2901713002/diff/40001/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp#newcode557 third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp:557: const unsigned run_start = offset_ - ...
3 years, 7 months ago (2017-05-24 05:10:40 UTC) #21
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/2901713002/60001
3 years, 7 months ago (2017-05-24 05:10:54 UTC) #23
commit-bot: I haz the power
3 years, 7 months ago (2017-05-24 07:59:22 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/c49c1c508631745d9be1bdeea115...

Powered by Google App Engine
This is Rietveld 408576698