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

Issue 2732963002: Make SelectionController::setNonDirectionalSelectionIfNeeded() to take SelectionInFlatTree (Closed)

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

Description

Make SelectionController::setNonDirectionalSelectionIfNeeded() to take SelectionInFlatTree This patch makes |SelectionController::setNonDirectionalSelectionIfNeeded()| to |SelectionInFlatTree| for reducing |VisibleSelection| usage for improving code health. BUG=657237 TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2732963002 Cr-Commit-Position: refs/heads/master@{#455688} Committed: https://chromium.googlesource.com/chromium/src/+/86769268e85c0913ef8d86c46ff08baff599703e

Patch Set 1 : 2017-03-06T18:46:44 #

Total comments: 1

Patch Set 2 : 2017-03-07T13:12:10 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -20 lines) Patch
M third_party/WebKit/Source/core/editing/SelectionController.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionController.cpp View 1 4 chunks +9 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionControllerTest.cpp View 4 chunks +11 lines, -12 lines 0 comments Download

Messages

Total messages: 21 (13 generated)
yosin_UTC9
PTAL
3 years, 9 months ago (2017-03-06 09:50:30 UTC) #5
Xiaocheng
https://codereview.chromium.org/2732963002/diff/1/third_party/WebKit/Source/core/editing/SelectionController.cpp File third_party/WebKit/Source/core/editing/SelectionController.cpp (left): https://codereview.chromium.org/2732963002/diff/1/third_party/WebKit/Source/core/editing/SelectionController.cpp#oldcode399 third_party/WebKit/Source/core/editing/SelectionController.cpp:399: createVisibleSelection(builder.build()), selection().granularity(), Guess this canonicalization is important and shouldn't ...
3 years, 9 months ago (2017-03-06 19:04:32 UTC) #8
yoichio
Bot failures looks related to this change: fast/forms/text/input-readonly-autoscroll.html editing/selection/select-across-readonly-input-4.html editing/selection/select-across-readonly-input-1.html
3 years, 9 months ago (2017-03-07 01:40:58 UTC) #9
yoichio
On 2017/03/07 01:40:58, yoichio wrote: > Bot failures looks related to this change: > fast/forms/text/input-readonly-autoscroll.html ...
3 years, 9 months ago (2017-03-07 02:06:55 UTC) #10
yosin_UTC9
PTAL Make VisibleSeleciton in setNonIDrecitonalSelectionIfNeeded(). :-<
3 years, 9 months ago (2017-03-09 05:32:32 UTC) #15
yoichio
lgtm
3 years, 9 months ago (2017-03-09 05:49:14 UTC) #16
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/2732963002/20001
3 years, 9 months ago (2017-03-09 06:00:11 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-09 07:23:25 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/86769268e85c0913ef8d86c46ff0...

Powered by Google App Engine
This is Rietveld 408576698