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

Issue 2742703002: Make rootEditableElementOrTreeScopeRootNodeOf() to take Position instead of VisibleSeleciton (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 rootEditableElementOrTreeScopeRootNodeOf() to take Position instead of VisibleSelection This patch makes |rootEditableElementOrTreeScopeRootNodeOf() | to take |Position| instead of |VisibleSelection| as preparation of reduce usage of |VisibleSelection| for improving code health. This patch also replaces deprecated version of |computeVisibleSelection()| in |InputMethodController::getSelectionOffsets()| since it is called in after |computeVisibleSelectionDeprecated()|. BUG=657237 TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2742703002 Cr-Commit-Position: refs/heads/master@{#455711} Committed: https://chromium.googlesource.com/chromium/src/+/b4fed54d2920ee4662f7e77049ff500f24fad905

Patch Set 1 : 2017-03-09T14:58:18 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -7 lines) Patch
M third_party/WebKit/Source/core/editing/EditingUtilities.h View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/FrameSelection.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/InputMethodController.cpp View 1 chunk +1 line, -1 line 1 comment Download
M third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (11 generated)
yosin_UTC9
PTAL https://codereview.chromium.org/2742703002/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.cpp File third_party/WebKit/Source/core/editing/InputMethodController.cpp (right): https://codereview.chromium.org/2742703002/diff/20001/third_party/WebKit/Source/core/editing/InputMethodController.cpp#newcode778 third_party/WebKit/Source/core/editing/InputMethodController.cpp:778: frame().selection().computeVisibleSelectionInDOMTree().base()); L774 calls computeVisibleSelectionInDOMTreeDeprecated()
3 years, 9 months ago (2017-03-09 07:00:13 UTC) #7
yoichio
lgtm
3 years, 9 months ago (2017-03-09 08:55:23 UTC) #10
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/2742703002/20001
3 years, 9 months ago (2017-03-09 09:04:45 UTC) #12
commit-bot: I haz the power
3 years, 9 months ago (2017-03-09 11:17:16 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b4fed54d2920ee4662f7e77049ff...

Powered by Google App Engine
This is Rietveld 408576698