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

Issue 2441693004: Make editingIgnoresContents() as global function (Closed)

Created:
4 years, 2 months ago by yosin_UTC9
Modified:
4 years, 1 month ago
Reviewers:
yoichio, Xiaocheng
CC:
blink-reviews, chromium-reviews, groby+blinkspell_chromium.org, timvolodine
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make editingIgnoresContents() as global function This patch makes |editingIgnoresContents()| as global function instead of static member function of template class |EditingStratgegy| since it doesn't use template parameter to simplify code for improving code health. BUG=n/a TEST=n/a; no behavior changes Committed: https://crrev.com/d843d2ba859914b09e483c53be80b0150fda0937 Cr-Commit-Position: refs/heads/master@{#427016}

Patch Set 1 : 2016-10-21T11:31:46 #

Patch Set 2 : 2016-10-21T13:07:17 #

Patch Set 3 : 2016-10-21T14:45:18 #

Total comments: 4

Patch Set 4 : 2016-10-24T12:29:25 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -29 lines) Patch
M third_party/WebKit/Source/core/editing/EditingStrategy.h View 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/editing/EditingStrategy.cpp View 1 2 3 2 chunks +14 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/editing/EditingUtilities.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/Position.cpp View 5 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/editing/PositionIterator.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/VisibleUnits.cpp View 4 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (18 generated)
yosin_UTC9
PTAL
4 years, 2 months ago (2016-10-21 08:19:51 UTC) #16
Xiaocheng
lgtm https://codereview.chromium.org/2441693004/diff/40001/third_party/WebKit/Source/core/editing/EditingStrategy.cpp File third_party/WebKit/Source/core/editing/EditingStrategy.cpp (right): https://codereview.chromium.org/2441693004/diff/40001/third_party/WebKit/Source/core/editing/EditingStrategy.cpp#newcode41 third_party/WebKit/Source/core/editing/EditingStrategy.cpp:41: return !NodeTraversal::hasChildren(*node) && !hasEditableStyle(*node) && Nice observation. https://codereview.chromium.org/2441693004/diff/40001/third_party/WebKit/Source/core/editing/EditingStrategy.h ...
4 years, 2 months ago (2016-10-21 10:52:26 UTC) #17
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/2441693004/60001
4 years, 1 month ago (2016-10-24 03:31:55 UTC) #20
yosin_UTC9
Thanks for reviewing! Add TODO comment. Committing... https://codereview.chromium.org/2441693004/diff/40001/third_party/WebKit/Source/core/editing/EditingStrategy.cpp File third_party/WebKit/Source/core/editing/EditingStrategy.cpp (right): https://codereview.chromium.org/2441693004/diff/40001/third_party/WebKit/Source/core/editing/EditingStrategy.cpp#newcode41 third_party/WebKit/Source/core/editing/EditingStrategy.cpp:41: return !NodeTraversal::hasChildren(*node) ...
4 years, 1 month ago (2016-10-24 03:32:36 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-24 04:59:02 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-10-24 05:01:54 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d843d2ba859914b09e483c53be80b0150fda0937
Cr-Commit-Position: refs/heads/master@{#427016}

Powered by Google App Engine
This is Rietveld 408576698