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

Issue 2911733002: [DMC #25] Make DocumentMarker::GetType() virtual (Closed)

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

Description

Make DocumentMarker::GetType() virtual Now that we have subclasses of DocumentMarker for all the different MarkerTypes, we can make GetType() a virtual method on each of the subtypes so we don't actually have to store a field in DocumentMarker for this information. BUG=707867 Review-Url: https://codereview.chromium.org/2911733002 Cr-Commit-Position: refs/heads/master@{#476473} Committed: https://chromium.googlesource.com/chromium/src/+/adb3fe930f151b63798729d3e43f37f6097a7875

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 4

Patch Set 3 : Rebase, respond to comments #

Total comments: 1

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -25 lines) Patch
M third_party/WebKit/Source/core/editing/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/CompositionMarker.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/CompositionMarker.cpp View 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarker.h View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/GrammarMarker.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/GrammarMarker.cpp View 1 2 1 chunk +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/SpellCheckMarker.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/SpellCheckMarker.cpp View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/SpellingMarker.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/SpellingMarker.cpp View 1 2 1 chunk +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
A third_party/WebKit/Source/core/editing/markers/TextMatchMarker.cpp View 1 2 1 chunk +13 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 26 (20 generated)
rlanday
3 years, 7 months ago (2017-05-26 20:35:18 UTC) #4
yosin_UTC9
https://codereview.chromium.org/2911733002/diff/20001/third_party/WebKit/Source/core/editing/markers/CompositionMarker.h File third_party/WebKit/Source/core/editing/markers/CompositionMarker.h (right): https://codereview.chromium.org/2911733002/diff/20001/third_party/WebKit/Source/core/editing/markers/CompositionMarker.h#newcode26 third_party/WebKit/Source/core/editing/markers/CompositionMarker.h:26: MarkerType GetType() const; nit: s/;/final ;/ https://codereview.chromium.org/2911733002/diff/20001/third_party/WebKit/Source/core/editing/markers/GrammarMarker.h File third_party/WebKit/Source/core/editing/markers/GrammarMarker.h ...
3 years, 6 months ago (2017-05-29 05:17:09 UTC) #11
rlanday
Updated
3 years, 6 months ago (2017-06-01 05:13:20 UTC) #13
yosin_UTC9
lgtm https://codereview.chromium.org/2911733002/diff/40001/third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h File third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h (right): https://codereview.chromium.org/2911733002/diff/40001/third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h#newcode46 third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h:46: TextMatchMarker(unsigned start_offset, In following patch, could you move ...
3 years, 6 months ago (2017-06-01 05:49:01 UTC) #15
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/2911733002/60001
3 years, 6 months ago (2017-06-01 20:44:06 UTC) #23
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 23:13:01 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/adb3fe930f151b63798729d3e43f...

Powered by Google App Engine
This is Rietveld 408576698