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

Issue 2883503004: [DMC #7] Only create RenderedDocumentMarkers for TextMatchMarkerListImpl (Closed)

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

Description

Only create RenderedDocumentMarkers for TextMatchMarkerListImpl This sets us up to start creating a polymorphic class hierarchy for DocumentMarker. RenderedDocumentMarker will become TextMatchMarker, and we will also add subclasses of DocumentMarker for the other MarkerTypes as well. BUG=715365 Review-Url: https://codereview.chromium.org/2883503004 Cr-Commit-Position: refs/heads/master@{#473345} Committed: https://chromium.googlesource.com/chromium/src/+/8ee9280525895b4dbb74d3e6117547f79b96d89e

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Patch Set 4 : Add DCHECK(), remove logic for other marker types, fix test case #

Total comments: 2

Patch Set 5 : Rebase on InvalidateRectsForAllMarkers() refactor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -54 lines) Patch
M third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImpl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/CompositionMarkerListImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp View 1 2 3 4 5 chunks +26 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp View 1 2 3 3 chunks +13 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h View 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.h View 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarkerListEditor.cpp View 1 2 3 chunks +6 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/SpellCheckMarkerListImpl.cpp View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/TextMatchMarkerListImpl.cpp View 1 chunk +4 lines, -4 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 40 (28 generated)
rlanday
3 years, 7 months ago (2017-05-12 21:02:13 UTC) #3
Xiaocheng
Looks fine. https://codereview.chromium.org/2883503004/diff/1/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp File third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp (right): https://codereview.chromium.org/2883503004/diff/1/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp#newcode411 third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp:411: DocumentMarker::MarkerType marker_type) { At which step are ...
3 years, 7 months ago (2017-05-12 21:16:10 UTC) #7
rlanday
https://codereview.chromium.org/2883503004/diff/1/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp File third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp (right): https://codereview.chromium.org/2883503004/diff/1/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp#newcode411 third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp:411: DocumentMarker::MarkerType marker_type) { On 2017/05/12 at 21:16:10, Xiaocheng wrote: ...
3 years, 7 months ago (2017-05-12 22:02:55 UTC) #8
yosin_UTC9
https://codereview.chromium.org/2883503004/diff/1/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp File third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp (right): https://codereview.chromium.org/2883503004/diff/1/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp#newcode411 third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp:411: DocumentMarker::MarkerType marker_type) { On 2017/05/12 at 22:02:55, rlanday wrote: ...
3 years, 7 months ago (2017-05-18 05:35:31 UTC) #21
rlanday
On 2017/05/18 at 05:35:31, yosin wrote: > Can we have DCHECK_EQ(marker_type, DocumentMakerType::TextMatch) in this patch? ...
3 years, 7 months ago (2017-05-18 18:43:41 UTC) #23
Xiaocheng
https://codereview.chromium.org/2883503004/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/2883503004/diff/60001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp#newcode466 third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp:466: void DocumentMarkerController::InvalidateRectsForAllMarkers() { This function should modify only TextMatch ...
3 years, 7 months ago (2017-05-18 19:15:09 UTC) #25
rlanday
On 2017/05/18 at 19:15:09, xiaochengh wrote: > https://codereview.chromium.org/2883503004/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/2883503004/diff/60001/third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp#newcode466 ...
3 years, 7 months ago (2017-05-18 20:30:48 UTC) #28
Xiaocheng
lgtm
3 years, 7 months ago (2017-05-18 21:21:43 UTC) #29
yosin_UTC9
lgtm Yes! This is what we want to do!
3 years, 7 months ago (2017-05-19 06:00:29 UTC) #32
commit-bot: I haz the power
This CL has an open dependency (Issue 2896483002 Patch 1). Please resolve the dependency and ...
3 years, 7 months ago (2017-05-19 06:01:08 UTC) #35
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/2883503004/80001
3 years, 7 months ago (2017-05-19 20:07:33 UTC) #37
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 21:54:11 UTC) #40
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/8ee9280525895b4dbb74d3e61175...

Powered by Google App Engine
This is Rietveld 408576698