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

Issue 2819173002: [DMC #1.1] Refactor DocumentMarkerController::MoveMarkers() (Closed)

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

Description

Refactor DocumentMarkerController::MoveMarkers() As we (yosin, xiaochengh, and I) discussed, I'm splitting the implementation changes for this method I previously was including in https://codereview.chromium.org/2812423002 into a separate CL. We want to separate out the implementation changes we need to pull out the main part of this method into a method on DocumentMarkerListEditor, and actually adding that method. This CL needs the AddMarker() method I'm adding in that CL, so I've removed the MoveMarkers() changes entirely from that one and will upload a third CL that adds DocumentMarkerListEditor::MoveMarkers(). BUG=707867 Review-Url: https://codereview.chromium.org/2819173002 Cr-Commit-Position: refs/heads/master@{#465124} Committed: https://chromium.googlesource.com/chromium/src/+/a92abb9ad049f637596371997cc125f182ae3cc3

Patch Set 1 #

Patch Set 2 : Refactor without adding a helper method yet #

Total comments: 1

Patch Set 3 : Remove leftover method from header #

Patch Set 4 : Rebase #

Total comments: 2

Patch Set 5 : Fix nits #

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

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 31 (22 generated)
rlanday
3 years, 8 months ago (2017-04-17 05:15:15 UTC) #4
rlanday
Wait, I think we actually want to do the change without a helper method in ...
3 years, 8 months ago (2017-04-17 05:19:33 UTC) #5
rlanday
On 2017/04/17 at 05:19:33, rlanday wrote: > Wait, I think we actually want to do ...
3 years, 8 months ago (2017-04-17 06:34:15 UTC) #8
Xiaocheng
https://codereview.chromium.org/2819173002/diff/20001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h File third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h (right): https://codereview.chromium.org/2819173002/diff/20001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h#newcode152 third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h:152: bool MoveMarkersToList(MarkerList* src_list, Please get rid of this.
3 years, 8 months ago (2017-04-17 06:37:29 UTC) #10
rlanday
On 2017/04/17 at 06:37:29, xiaochengh wrote: > https://codereview.chromium.org/2819173002/diff/20001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h > File third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h (right): > > https://codereview.chromium.org/2819173002/diff/20001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.h#newcode152 ...
3 years, 8 months ago (2017-04-17 07:02:50 UTC) #15
Xiaocheng
+tkent as yosin is OOO. lgtm with nits. https://codereview.chromium.org/2819173002/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/2819173002/diff/60001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp#newcode311 third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp:311: marker_list_index++) ...
3 years, 8 months ago (2017-04-17 21:37:45 UTC) #21
tkent
lgtm
3 years, 8 months ago (2017-04-18 01:25:26 UTC) #22
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/2819173002/80001
3 years, 8 months ago (2017-04-18 02:45:52 UTC) #28
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 03:20:21 UTC) #31
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/a92abb9ad049f637596371997cc1...

Powered by Google App Engine
This is Rietveld 408576698