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

Issue 2790703004: [WIP] Move DocumentMarker accessors into subclasses (Closed)

Created:
3 years, 8 months ago by rlanday
Modified:
3 years, 8 months ago
Reviewers:
Xiaocheng
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, krit, eae+blinkwatch, fmalita+watch_chromium.org, fs, gyuyoung2, jchaffraix+rendering, kinuko+watch, kouhei+svg_chromium.org, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move DocumentMarker accessors into subclasses Continuing the refactor in https://codereview.chromium.org/2780313002. This CL moves the accessor methods that are specific to subclasses of DocumentMarker into those subclasses, requiring callers to cast if they're holding a DocumentMarker[*/&]. BUG=707867 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2

Patch Set 1 #

Total comments: 1

Patch Set 2 : Move CompositionMarkerList::at() into previous CL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -83 lines) Patch
M third_party/WebKit/Source/core/editing/markers/CompositionMarker.h View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarker.h View 1 chunk +0 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp View 1 chunk +0 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp View 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/markers/SpellCheckMarker.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/line/InlineTextBox.h View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp View 1 chunk +12 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/InlineTextBoxPainter.h View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp View 4 chunks +17 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp View 5 chunks +5 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.cpp View 3 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/ContextMenuClientImpl.cpp View 2 chunks +2 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (7 generated)
rlanday
3 years, 8 months ago (2017-03-31 18:42:37 UTC) #3
rlanday
3 years, 8 months ago (2017-03-31 18:42:37 UTC) #4
Xiaocheng
https://codereview.chromium.org/2790703004/diff/1/third_party/WebKit/Source/core/editing/markers/CompositionMarkerList.h File third_party/WebKit/Source/core/editing/markers/CompositionMarkerList.h (right): https://codereview.chromium.org/2790703004/diff/1/third_party/WebKit/Source/core/editing/markers/CompositionMarkerList.h#newcode19 third_party/WebKit/Source/core/editing/markers/CompositionMarkerList.h:19: CompositionMarker* at(size_t index) final; Virtual |at()| should be in ...
3 years, 8 months ago (2017-03-31 20:07:31 UTC) #5
rlanday
On 2017/03/31 at 20:07:31, xiaochengh wrote: > https://codereview.chromium.org/2790703004/diff/1/third_party/WebKit/Source/core/editing/markers/CompositionMarkerList.h > File third_party/WebKit/Source/core/editing/markers/CompositionMarkerList.h (right): > > https://codereview.chromium.org/2790703004/diff/1/third_party/WebKit/Source/core/editing/markers/CompositionMarkerList.h#newcode19 ...
3 years, 8 months ago (2017-04-03 18:00:50 UTC) #7
Xiaocheng
On 2017/04/03 at 18:00:50, rlanday wrote: > On 2017/03/31 at 20:07:31, xiaochengh wrote: > > ...
3 years, 8 months ago (2017-04-03 18:22:07 UTC) #11
rlanday
On 2017/04/03 at 18:22:08, xiaochengh wrote: > On 2017/04/03 at 18:00:50, rlanday wrote: > > ...
3 years, 8 months ago (2017-04-03 18:44:04 UTC) #12
Xiaocheng
3 years, 8 months ago (2017-04-03 18:52:04 UTC) #13
OK, lgtm

Powered by Google App Engine
This is Rietveld 408576698