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

Issue 2818873002: [DMC #1.9] Move DocumentMarkerListEditor to its own .h/.cpp files (Closed)

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

Description

Move DocumentMarkerListEditor to its own .h/.cpp files Based on Step 2 of yosin's plan: https://codereview.chromium.org/2812423002#msg7 This is a follow-up to this CL where the DocumentMarkerListEditor class was created inside DocumentMarkerController: https://codereview.chromium.org/2812423002 BUG=707867 Review-Url: https://codereview.chromium.org/2818873002 Cr-Commit-Position: refs/heads/master@{#466224} Committed: https://chromium.googlesource.com/chromium/src/+/37c5a8829c124800330ab1965fa29615465551e9

Patch Set 1 #

Patch Set 2 : Actually remove DocumentMarkerListEditor from DMC header #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Total comments: 1

Patch Set 5 : Don't accidentally include https://codereview.chromium.org/2820983002 #

Patch Set 6 : Rebase to fix trybot #

Total comments: 4

Patch Set 7 : Rebase, rename rhv #

Total comments: 2

Patch Set 8 : Add DocumentMarker::EndsBefore() #

Total comments: 1

Patch Set 9 : Rebase #

Patch Set 10 : Rebase (EndsBefore is a lambda now) #

Total comments: 1

Patch Set 11 : Remove static comparator functions from DocumentMarkerListEditor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -161 lines) Patch
M third_party/WebKit/Source/core/editing/BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h View 1 2 3 4 1 chunk +0 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp View 1 2 3 4 5 6 7 8 9 5 chunks +2 lines, -137 lines 0 comments Download
A third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.h View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +141 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 65 (43 generated)
rlanday
3 years, 8 months ago (2017-04-13 23:05:15 UTC) #3
rlanday
Rebased
3 years, 8 months ago (2017-04-18 04:24:26 UTC) #14
Xiaocheng
https://codereview.chromium.org/2818873002/diff/60001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp File third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp (right): https://codereview.chromium.org/2818873002/diff/60001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp#newcode270 third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp:270: if (DocumentMarkerListEditor::MoveMarkers(src_list, length, dst_list)) Doesn't seem properly rebased... There ...
3 years, 8 months ago (2017-04-18 04:29:57 UTC) #16
rlanday
On 2017/04/18 at 04:29:57, xiaochengh wrote: > https://codereview.chromium.org/2818873002/diff/60001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp > File third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp (right): > > https://codereview.chromium.org/2818873002/diff/60001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp#newcode270 ...
3 years, 8 months ago (2017-04-18 05:02:13 UTC) #19
rlanday
On 2017/04/18 at 05:02:13, rlanday wrote: > On 2017/04/18 at 04:29:57, xiaochengh wrote: > > ...
3 years, 8 months ago (2017-04-18 05:03:32 UTC) #21
Xiaocheng
https://codereview.chromium.org/2818873002/diff/100001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp File third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp (right): https://codereview.chromium.org/2818873002/diff/100001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp#newcode662 third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp:662: static bool EndsBefore(size_t start_offset, It's weird to have a ...
3 years, 8 months ago (2017-04-19 03:33:23 UTC) #29
yosin_UTC9
https://codereview.chromium.org/2818873002/diff/100001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp File third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp (right): https://codereview.chromium.org/2818873002/diff/100001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp#newcode663 third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp:663: const Member<RenderedDocumentMarker>& rhv) { Please use descriptive parameter name ...
3 years, 8 months ago (2017-04-20 01:43:01 UTC) #30
rlanday
https://codereview.chromium.org/2818873002/diff/100001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp File third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp (right): https://codereview.chromium.org/2818873002/diff/100001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp#newcode662 third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp:662: static bool EndsBefore(size_t start_offset, On 2017/04/19 at 03:33:23, Xiaocheng ...
3 years, 8 months ago (2017-04-20 02:19:05 UTC) #31
rlanday
On 2017/04/19 at 03:33:23, xiaochengh wrote: > How about moving these static functions to, say, ...
3 years, 8 months ago (2017-04-20 02:22:04 UTC) #32
rlanday
Updated
3 years, 8 months ago (2017-04-20 02:42:32 UTC) #34
Xiaocheng
https://codereview.chromium.org/2818873002/diff/110001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp File third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp (right): https://codereview.chromium.org/2818873002/diff/110001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp#newcode662 third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp:662: static bool EndsBefore(size_t start_offset, Moving this function in the ...
3 years, 8 months ago (2017-04-20 03:09:15 UTC) #36
rlanday
On 2017/04/20 at 03:09:15, xiaochengh wrote: > https://codereview.chromium.org/2818873002/diff/110001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp > File third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp (right): > > https://codereview.chromium.org/2818873002/diff/110001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp#newcode662 ...
3 years, 8 months ago (2017-04-20 03:15:37 UTC) #37
rlanday
https://codereview.chromium.org/2818873002/diff/110001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp File third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp (right): https://codereview.chromium.org/2818873002/diff/110001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp#newcode662 third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp:662: static bool EndsBefore(size_t start_offset, On 2017/04/20 at 03:09:15, Xiaocheng ...
3 years, 8 months ago (2017-04-20 03:36:16 UTC) #40
Xiaocheng
Thanks for the change, but... https://codereview.chromium.org/2818873002/diff/130001/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h File third_party/WebKit/Source/core/editing/markers/DocumentMarker.h (right): https://codereview.chromium.org/2818873002/diff/130001/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h#newcode183 third_party/WebKit/Source/core/editing/markers/DocumentMarker.h:183: static bool EndsBefore(size_t start_offset, ...
3 years, 8 months ago (2017-04-20 03:40:37 UTC) #41
rlanday
On 2017/04/20 at 03:40:37, xiaochengh wrote: > Thanks for the change, but... > > https://codereview.chromium.org/2818873002/diff/130001/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h ...
3 years, 8 months ago (2017-04-20 04:13:36 UTC) #44
Xiaocheng
lgtm
3 years, 8 months ago (2017-04-20 04:15:37 UTC) #45
yosin_UTC9
lgtm Thanks!
3 years, 8 months ago (2017-04-20 04:37:47 UTC) #46
Xiaocheng
https://codereview.chromium.org/2818873002/diff/170001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp File third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp (right): https://codereview.chromium.org/2818873002/diff/170001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp#newcode11 third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp:11: static bool StartsFurther(const Member<RenderedDocumentMarker>& lhv, Please also rebase this ...
3 years, 8 months ago (2017-04-20 08:43:02 UTC) #53
rlanday
On 2017/04/20 at 08:43:02, xiaochengh wrote: > https://codereview.chromium.org/2818873002/diff/170001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp > File third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp (right): > > https://codereview.chromium.org/2818873002/diff/170001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp#newcode11 ...
3 years, 8 months ago (2017-04-20 09:50:53 UTC) #55
Xiaocheng
lgtm
3 years, 8 months ago (2017-04-20 09:57:32 UTC) #57
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/2818873002/190001
3 years, 8 months ago (2017-04-21 01:55:12 UTC) #62
commit-bot: I haz the power
3 years, 8 months ago (2017-04-21 02:02:48 UTC) #65
Message was sent while issue was closed.
Committed patchset #11 (id:190001) as
https://chromium.googlesource.com/chromium/src/+/37c5a8829c124800330ab1965fa2...

Powered by Google App Engine
This is Rietveld 408576698