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

Issue 2970653003: Make CalcSelection return EphemeralRange. (Closed)

Created:
3 years, 5 months ago by yoichio
Modified:
3 years, 5 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, chromium-reviews, danakj+watch_chromium.org, grt+watch_chromium.org, vmpstr+watch_chromium.org, wfh+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make CalcSelection return EphemeralRange. This is preparation to split LayoutSelection::start and end: https://codereview.chromium.org/2962143002/ BUG=739062 TEST=No change in behavior Review-Url: https://codereview.chromium.org/2970653003 Cr-Commit-Position: refs/heads/master@{#484086} Committed: https://chromium.googlesource.com/chromium/src/+/4ff2d41025006a482ea0d5fb40fb4aa3a585e3d3

Patch Set 1 #

Patch Set 2 : update #

Total comments: 4

Patch Set 3 : update #

Patch Set 4 : update #

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

Messages

Total messages: 25 (15 generated)
yoichio
3 years, 5 months ago (2017-07-04 05:29:15 UTC) #4
yosin_UTC9
https://codereview.chromium.org/2970653003/diff/20001/third_party/WebKit/Source/core/editing/LayoutSelection.cpp File third_party/WebKit/Source/core/editing/LayoutSelection.cpp (right): https://codereview.chromium.org/2970653003/diff/20001/third_party/WebKit/Source/core/editing/LayoutSelection.cpp#newcode123 third_party/WebKit/Source/core/editing/LayoutSelection.cpp:123: static std::pair<PositionInFlatTree, PositionInFlatTree> CalcSelection( Let's use |EphemeralRangeInFlatTree()| rather than ...
3 years, 5 months ago (2017-07-04 05:56:41 UTC) #5
yoichio
https://codereview.chromium.org/2970653003/diff/20001/third_party/WebKit/Source/core/editing/LayoutSelection.cpp File third_party/WebKit/Source/core/editing/LayoutSelection.cpp (right): https://codereview.chromium.org/2970653003/diff/20001/third_party/WebKit/Source/core/editing/LayoutSelection.cpp#newcode123 third_party/WebKit/Source/core/editing/LayoutSelection.cpp:123: static std::pair<PositionInFlatTree, PositionInFlatTree> CalcSelection( On 2017/07/04 05:56:41, yosin_UTC9 wrote: ...
3 years, 5 months ago (2017-07-04 06:31:30 UTC) #6
yosin_UTC9
https://codereview.chromium.org/2970653003/diff/20001/third_party/WebKit/Source/core/editing/LayoutSelection.cpp File third_party/WebKit/Source/core/editing/LayoutSelection.cpp (right): https://codereview.chromium.org/2970653003/diff/20001/third_party/WebKit/Source/core/editing/LayoutSelection.cpp#newcode123 third_party/WebKit/Source/core/editing/LayoutSelection.cpp:123: static std::pair<PositionInFlatTree, PositionInFlatTree> CalcSelection( On 2017/07/04 at 06:31:30, yoichio ...
3 years, 5 months ago (2017-07-04 07:28:43 UTC) #9
yoichio
https://codereview.chromium.org/2970653003/diff/20001/third_party/WebKit/Source/core/editing/LayoutSelection.cpp File third_party/WebKit/Source/core/editing/LayoutSelection.cpp (right): https://codereview.chromium.org/2970653003/diff/20001/third_party/WebKit/Source/core/editing/LayoutSelection.cpp#newcode123 third_party/WebKit/Source/core/editing/LayoutSelection.cpp:123: static std::pair<PositionInFlatTree, PositionInFlatTree> CalcSelection( On 2017/07/04 07:28:43, yosin_UTC9 wrote: ...
3 years, 5 months ago (2017-07-04 08:02:45 UTC) #11
yosin_UTC9
On 2017/07/04 at 08:02:45, yoichio wrote: > https://codereview.chromium.org/2970653003/diff/20001/third_party/WebKit/Source/core/editing/LayoutSelection.cpp > File third_party/WebKit/Source/core/editing/LayoutSelection.cpp (right): > > https://codereview.chromium.org/2970653003/diff/20001/third_party/WebKit/Source/core/editing/LayoutSelection.cpp#newcode123 ...
3 years, 5 months ago (2017-07-04 08:23:41 UTC) #13
yoichio
> I'm not a fan of using std::pair<> here, since we have EphemeralRange. > |.first| ...
3 years, 5 months ago (2017-07-04 08:43:14 UTC) #16
yosin_UTC9
lgtm
3 years, 5 months ago (2017-07-04 08:56:25 UTC) #17
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/2970653003/60001
3 years, 5 months ago (2017-07-04 10:43:17 UTC) #22
commit-bot: I haz the power
3 years, 5 months ago (2017-07-04 11:08:08 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/4ff2d41025006a482ea0d5fb40fb...

Powered by Google App Engine
This is Rietveld 408576698