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

Issue 2733183002: Make TypingCommand::insertText() to take SelectionInDOMTree instead of VisibleSelection (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 TypingCommand::insertText() to take SelectionInDOMTree instead of VisibleSelection This patch makes |TypingCommand::insertText()| to take |SelectionInDOMTree| instead of |VisibleSelection| to reduce usage of |VisibleSelection| for improving code health. BUG=657237 TEST=n/a Review-Url: https://codereview.chromium.org/2733183002 Cr-Commit-Position: refs/heads/master@{#455368} Committed: https://chromium.googlesource.com/chromium/src/+/a69c7b5d863dacbb08bfaa04359e3bc0bb4470dc

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

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -11 lines) Patch
M third_party/WebKit/Source/core/editing/Editor.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/commands/TypingCommand.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp View 2 chunks +11 lines, -9 lines 1 comment Download

Messages

Total messages: 13 (9 generated)
yosin_UTC9
PTAL
3 years, 9 months ago (2017-03-07 08:04:11 UTC) #5
Xiaocheng
lgtm with a nit https://codereview.chromium.org/2733183002/diff/1/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp File third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp (right): https://codereview.chromium.org/2733183002/diff/1/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp#newcode293 third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp:293: // FIXME: We shouldn't need ...
3 years, 9 months ago (2017-03-07 18:56:01 UTC) #8
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/2733183002/1
3 years, 9 months ago (2017-03-08 00:59:47 UTC) #10
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 03:21:22 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/a69c7b5d863dacbb08bfaa04359e...

Powered by Google App Engine
This is Rietveld 408576698