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

Issue 2959553002: [MarkersIntersectingRange #4] Refactor ContextMenuClient::SelectMisspellingAsync() (Closed)

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

Description

Refactor ContextMenuClient::SelectMisspellingAsync() Currently, ContextMenuClient::SelectMisspellingAsync() duplicates logic that we also implement in SpellChecker::GetSpellCheckMarkerUnderSelection(). This CL implements SelectMisspellingAsync() on top of GetSpellCheckMarkerUnderSelection() to reduce code duplication. BUG=736181 Review-Url: https://codereview.chromium.org/2959553002 Cr-Commit-Position: refs/heads/master@{#489417} Committed: https://chromium.googlesource.com/chromium/src/+/76cf4f1fd0db79aeb3c6c08d92afcae00b0cd08e

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Total comments: 3

Patch Set 7 : Respond to comments #

Total comments: 1

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -44 lines) Patch
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp View 1 2 3 4 5 6 7 1 chunk +17 lines, -44 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 35 (25 generated)
rlanday
See https://docs.google.com/document/d/1znHQwY6KUongMRwytBh9RvLJENjz_HnUfunx_uFt5QI for an overview of the MarkersIntersectingRange series of patches https://codereview.chromium.org/2959553002/diff/1/third_party/WebKit/Source/core/page/ContextMenuClient.cpp File third_party/WebKit/Source/core/page/ContextMenuClient.cpp (right): ...
3 years, 6 months ago (2017-06-23 23:08:29 UTC) #2
Xiaocheng
Code change seems good. I'll wait for yosin's review of the earlier patches in this ...
3 years, 5 months ago (2017-06-26 22:51:29 UTC) #5
yosin_UTC9
Could you move SelectMisspellingAsync() to SpellChecker? We would like to put all spell checker functionality ...
3 years, 5 months ago (2017-06-27 01:23:53 UTC) #8
rlanday
On 2017/06/27 at 01:23:53, yosin wrote: > Could you move SelectMisspellingAsync() to SpellChecker? > We ...
3 years, 5 months ago (2017-07-05 19:21:16 UTC) #11
yosin_UTC9
Is this patch obsolete? It seems the patch[1] supersedes this patch. [1] http://crrev.com//2966223003 [SelectMisspellingAsync #1] ...
3 years, 5 months ago (2017-07-20 01:19:07 UTC) #22
rlanday
On 2017/07/20 at 01:19:07, yosin wrote: > Is this patch obsolete? > It seems the ...
3 years, 5 months ago (2017-07-21 00:15:18 UTC) #25
rlanday
https://codereview.chromium.org/2959553002/diff/100001/third_party/WebKit/Source/core/page/ContextMenuClient.cpp File third_party/WebKit/Source/core/page/ContextMenuClient.cpp (right): https://codereview.chromium.org/2959553002/diff/100001/third_party/WebKit/Source/core/page/ContextMenuClient.cpp#newcode114 third_party/WebKit/Source/core/page/ContextMenuClient.cpp:114: if (!node_and_marker) On 2017/07/20 at 01:19:07, yosin_UTC9 wrote: > ...
3 years, 5 months ago (2017-07-21 00:16:04 UTC) #26
yosin_UTC9
lgtm w/ nit https://codereview.chromium.org/2959553002/diff/120001/third_party/WebKit/Source/core/page/ContextMenuClient.cpp File third_party/WebKit/Source/core/page/ContextMenuClient.cpp (right): https://codereview.chromium.org/2959553002/diff/120001/third_party/WebKit/Source/core/page/ContextMenuClient.cpp#newcode121 third_party/WebKit/Source/core/page/ContextMenuClient.cpp:121: VisibleSelection selection = nit: s/VisibleSelection/const VisibleSelection/
3 years, 5 months ago (2017-07-21 01:03:48 UTC) #27
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/2959553002/140001
3 years, 5 months ago (2017-07-25 17:58:23 UTC) #32
commit-bot: I haz the power
3 years, 5 months ago (2017-07-25 20:42:00 UTC) #35
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/76cf4f1fd0db79aeb3c6c08d92af...

Powered by Google App Engine
This is Rietveld 408576698