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

Issue 2764743004: Add DocumentMarker::createGrammarMarker() and createSpellingMarker() (Closed)

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

Description

Add DocumentMarker::createGrammarMarker() and createSpellingMarker() DocumentMarkerController refactor part 5: replace DocumentMarker's Grammar/Spelling-specific constructor with clearly-named createGrammarMarker() and createSpellingMarker() methods, and update the Grammar/Spelling-specific DocumentMarkerController:addMarker() method to use these new methods. BUG=

Patch Set 1 #

Total comments: 4

Patch Set 2 : Move test case changes into createTextMatchMarker() CL #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -20 lines) Patch
M third_party/WebKit/Source/core/editing/markers/DocumentMarker.h View 1 1 chunk +8 lines, -5 lines 2 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp View 2 chunks +15 lines, -11 lines 3 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp View 1 1 chunk +12 lines, -4 lines 1 comment Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 24 (12 generated)
rlanday
3 years, 9 months ago (2017-03-22 01:28:50 UTC) #4
Xiaocheng
https://codereview.chromium.org/2764743004/diff/1/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h File third_party/WebKit/Source/core/editing/markers/DocumentMarker.h (right): https://codereview.chromium.org/2764743004/diff/1/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h#newcode102 third_party/WebKit/Source/core/editing/markers/DocumentMarker.h:102: const String& description = emptyString); No need to introduce ...
3 years, 9 months ago (2017-03-22 01:42:51 UTC) #6
rlanday
https://codereview.chromium.org/2764743004/diff/1/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h File third_party/WebKit/Source/core/editing/markers/DocumentMarker.h (right): https://codereview.chromium.org/2764743004/diff/1/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h#newcode102 third_party/WebKit/Source/core/editing/markers/DocumentMarker.h:102: const String& description = emptyString); On 2017/03/22 at 01:42:51, ...
3 years, 9 months ago (2017-03-22 01:51:31 UTC) #7
Xiaocheng
https://codereview.chromium.org/2764743004/diff/1/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h File third_party/WebKit/Source/core/editing/markers/DocumentMarker.h (right): https://codereview.chromium.org/2764743004/diff/1/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h#newcode102 third_party/WebKit/Source/core/editing/markers/DocumentMarker.h:102: const String& description = emptyString); On 2017/03/22 at 01:51:30, ...
3 years, 9 months ago (2017-03-22 01:56:07 UTC) #8
yosin_UTC9
https://codereview.chromium.org/2764743004/diff/1/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp File third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp (right): https://codereview.chromium.org/2764743004/diff/1/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp#newcode1467 third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp:1467: document().markers().addTextMatchMarker(markerRange, false); Please exclude addTextMatchmarker() changes.
3 years, 9 months ago (2017-03-22 05:10:26 UTC) #11
rlanday
https://codereview.chromium.org/2764743004/diff/20001/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h File third_party/WebKit/Source/core/editing/markers/DocumentMarker.h (right): https://codereview.chromium.org/2764743004/diff/20001/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h#newcode142 third_party/WebKit/Source/core/editing/markers/DocumentMarker.h:142: static DocumentMarker* createGrammarMarker( I think we should pick whether ...
3 years, 9 months ago (2017-03-22 21:07:00 UTC) #14
Xiaocheng
lgtm Please exclude "and fix some test cases..." from patch description.
3 years, 9 months ago (2017-03-22 21:12:01 UTC) #15
Xiaocheng
On 2017/03/22 at 21:07:00, rlanday wrote: > https://codereview.chromium.org/2764743004/diff/20001/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h > File third_party/WebKit/Source/core/editing/markers/DocumentMarker.h (right): > > https://codereview.chromium.org/2764743004/diff/20001/third_party/WebKit/Source/core/editing/markers/DocumentMarker.h#newcode142 ...
3 years, 9 months ago (2017-03-22 21:14:34 UTC) #16
yosin_UTC9
lgtm w/ nits https://codereview.chromium.org/2764743004/diff/20001/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp File third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp (right): https://codereview.chromium.org/2764743004/diff/20001/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp#newcode154 third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp:154: return new DocumentMarker(Grammar, startOffset, endOffset, Could ...
3 years, 9 months ago (2017-03-23 04:01:27 UTC) #21
rlanday
https://codereview.chromium.org/2764743004/diff/20001/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp File third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp (right): https://codereview.chromium.org/2764743004/diff/20001/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp#newcode154 third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp:154: return new DocumentMarker(Grammar, startOffset, endOffset, On 2017/03/23 at 04:01:27, ...
3 years, 9 months ago (2017-03-23 04:38:21 UTC) #22
yosin_UTC9
On 2017/03/23 at 04:38:21, rlanday wrote: > https://codereview.chromium.org/2764743004/diff/20001/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp > File third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp (right): > > https://codereview.chromium.org/2764743004/diff/20001/third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp#newcode154 ...
3 years, 9 months ago (2017-03-23 05:39:50 UTC) #23
rlanday
3 years, 8 months ago (2017-03-29 23:15:11 UTC) #24

Powered by Google App Engine
This is Rietveld 408576698