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

Issue 2428363004: Get rid of createVisibleSelection() taking PositionWithAffinity (Closed)

Created:
4 years, 2 months ago by yosin_UTC9
Modified:
4 years, 2 months ago
Reviewers:
tkent, yoichio, Xiaocheng
CC:
blink-reviews, chromium-reviews, dcheng, dtapuska+blinkwatch_chromium.org, Navid Zolghadr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Get rid of createVisibleSelection() to take PositionWithAffinity This patch gets rid of |createVisibleSelection()| taking |PositionWithAffinity| by replacing with |SelectionInDOMTree| version to reduce number of overloads for improving code health. BUG=657237 TEST=n/a; no behavior changes Committed: https://crrev.com/9af5344ba29c36f6ec50fd75791c6a606a3309fc Cr-Commit-Position: refs/heads/master@{#426684}

Patch Set 1 : 2016-10-19T16:59:42 #

Patch Set 2 : 2016-10-20T14:00:21 #

Total comments: 4

Messages

Total messages: 26 (15 generated)
yosin_UTC9
PTAL Not only core/editing but also - core/input/EventHandlerTest.cpp - core/page/DragController.cpp
4 years, 2 months ago (2016-10-20 07:17:10 UTC) #12
Xiaocheng
lgtm
4 years, 2 months ago (2016-10-20 07:35:38 UTC) #13
tkent
https://codereview.chromium.org/2428363004/diff/20001/third_party/WebKit/Source/core/page/DragController.cpp File third_party/WebKit/Source/core/page/DragController.cpp (right): https://codereview.chromium.org/2428363004/diff/20001/third_party/WebKit/Source/core/page/DragController.cpp#newcode474 third_party/WebKit/Source/core/page/DragController.cpp:474: if (!position.isConnected()) In the old code, what happened if ...
4 years, 2 months ago (2016-10-20 08:05:19 UTC) #14
yosin_UTC9
https://codereview.chromium.org/2428363004/diff/20001/third_party/WebKit/Source/core/page/DragController.cpp File third_party/WebKit/Source/core/page/DragController.cpp (right): https://codereview.chromium.org/2428363004/diff/20001/third_party/WebKit/Source/core/page/DragController.cpp#newcode474 third_party/WebKit/Source/core/page/DragController.cpp:474: if (!position.isConnected()) On 2016/10/20 at 08:05:19, tkent wrote: > ...
4 years, 2 months ago (2016-10-20 08:34:00 UTC) #15
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/2428363004/20001
4 years, 2 months ago (2016-10-20 09:43:49 UTC) #17
tkent
https://codereview.chromium.org/2428363004/diff/20001/third_party/WebKit/Source/core/page/DragController.cpp File third_party/WebKit/Source/core/page/DragController.cpp (right): https://codereview.chromium.org/2428363004/diff/20001/third_party/WebKit/Source/core/page/DragController.cpp#newcode474 third_party/WebKit/Source/core/page/DragController.cpp:474: if (!position.isConnected()) On 2016/10/20 at 08:34:00, Yosi_UTC9 wrote: > ...
4 years, 2 months ago (2016-10-21 01:06:27 UTC) #19
yosin_UTC9
https://codereview.chromium.org/2428363004/diff/20001/third_party/WebKit/Source/core/page/DragController.cpp File third_party/WebKit/Source/core/page/DragController.cpp (right): https://codereview.chromium.org/2428363004/diff/20001/third_party/WebKit/Source/core/page/DragController.cpp#newcode474 third_party/WebKit/Source/core/page/DragController.cpp:474: if (!position.isConnected()) On 2016/10/21 at 01:06:27, tkent wrote: > ...
4 years, 2 months ago (2016-10-21 01:23:40 UTC) #20
tkent
lgtm
4 years, 2 months ago (2016-10-21 01:24:39 UTC) #21
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/2428363004/20001
4 years, 2 months ago (2016-10-21 01:38:13 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-21 01:51:53 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:25:56 UTC) #26
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9af5344ba29c36f6ec50fd75791c6a606a3309fc
Cr-Commit-Position: refs/heads/master@{#426684}

Powered by Google App Engine
This is Rietveld 408576698