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

Issue 2720063002: Make Editor::changeSelectionAfterCommand take SelectionInDOMTree (Closed)

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

Description

Make Editor::changeSelectionAfterCommand take SelectionInDOMTree Now that changing selection no longer requires layout, there is no need to pass a canonicalized selection to changeSelectionAfterCommand at the end of an editing command. Hence, this patch makes the above mentioned function take a SelectionInDOMTree instead. BUG=657237 TEST=n/a; no behavior change Review-Url: https://codereview.chromium.org/2720063002 Cr-Commit-Position: refs/heads/master@{#453795} Committed: https://chromium.googlesource.com/chromium/src/+/9891ad7aa94964b5cee2cd7c73ee02fdd173fbbe

Patch Set 1 #

Patch Set 2 : Rebased #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -27 lines) Patch
M third_party/WebKit/Source/core/editing/Editor.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/Editor.cpp View 6 chunks +21 lines, -26 lines 3 comments Download

Depends on Patchset:

Messages

Total messages: 23 (16 generated)
Xiaocheng
PTAL.
3 years, 9 months ago (2017-02-28 22:03:52 UTC) #10
yosin_UTC9
https://codereview.chromium.org/2720063002/diff/20001/third_party/WebKit/Source/core/editing/Editor.cpp File third_party/WebKit/Source/core/editing/Editor.cpp (right): https://codereview.chromium.org/2720063002/diff/20001/third_party/WebKit/Source/core/editing/Editor.cpp#newcode869 third_party/WebKit/Source/core/editing/Editor.cpp:869: static VisibleSelection correctedVisibleSelection( It seems you need to rebase. ...
3 years, 9 months ago (2017-03-01 01:20:39 UTC) #13
Xiaocheng
https://codereview.chromium.org/2720063002/diff/20001/third_party/WebKit/Source/core/editing/Editor.cpp File third_party/WebKit/Source/core/editing/Editor.cpp (right): https://codereview.chromium.org/2720063002/diff/20001/third_party/WebKit/Source/core/editing/Editor.cpp#newcode869 third_party/WebKit/Source/core/editing/Editor.cpp:869: static VisibleSelection correctedVisibleSelection( On 2017/03/01 at 01:20:39, yosin_UTC9 wrote: ...
3 years, 9 months ago (2017-03-01 01:41:23 UTC) #14
yosin_UTC9
lgtm https://codereview.chromium.org/2720063002/diff/20001/third_party/WebKit/Source/core/editing/Editor.cpp File third_party/WebKit/Source/core/editing/Editor.cpp (right): https://codereview.chromium.org/2720063002/diff/20001/third_party/WebKit/Source/core/editing/Editor.cpp#newcode869 third_party/WebKit/Source/core/editing/Editor.cpp:869: static VisibleSelection correctedVisibleSelection( On 2017/03/01 at 01:41:23, Xiaocheng ...
3 years, 9 months ago (2017-03-01 01:44:01 UTC) #16
commit-bot: I haz the power
This CL has an open dependency (Issue 2720123002 Patch 20001). Please resolve the dependency and ...
3 years, 9 months ago (2017-03-01 01:44:22 UTC) #18
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/2720063002/20001
3 years, 9 months ago (2017-03-01 01:46:42 UTC) #20
commit-bot: I haz the power
3 years, 9 months ago (2017-03-01 02:46:48 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/9891ad7aa94964b5cee2cd7c73ee...

Powered by Google App Engine
This is Rietveld 408576698