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

Issue 2902173003: Add member TextIterator::text_node_ (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 member TextIterator::text_node_ This patch adds a new member TextIterator::text_node_ to record the text node that is being handled in TextIterator. As a result, text node handling and the remaining part of TextIterator share one less member, so that the encapsulation of text node handling is easier. BUG=721957 TEST=n/a; no behavioral change Review-Url: https://codereview.chromium.org/2902173003 Cr-Commit-Position: refs/heads/master@{#475237} Committed: https://chromium.googlesource.com/chromium/src/+/b109b249a23d3146575b12b1fa4781ade53dac28

Patch Set 1 #

Patch Set 2 : Wed May 24 22:35:30 PDT 2017 #

Patch Set 3 : Wed May 24 22:35:30 PDT 2017 #

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

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 26 (21 generated)
Xiaocheng
PTAL.
3 years, 7 months ago (2017-05-25 05:38:53 UTC) #5
yosin_UTC9
lgtm How about introducing TextNodeIteator which has - text_node_; - offset_ - handled_first_letter_ - first_letter_text_ ...
3 years, 7 months ago (2017-05-25 05:46:50 UTC) #6
Xiaocheng
On 2017/05/25 at 05:46:50, yosin wrote: > lgtm Thanks! > > How about introducing TextNodeIteator ...
3 years, 7 months ago (2017-05-25 05:50:30 UTC) #7
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/2902173003/40001
3 years, 7 months ago (2017-05-27 03:26:43 UTC) #23
commit-bot: I haz the power
3 years, 7 months ago (2017-05-27 05:04:39 UTC) #26
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/b109b249a23d3146575b12b1fa47...

Powered by Google App Engine
This is Rietveld 408576698