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

Issue 2733933003: Move CompositeEditCommand::deleteSelection() to TypingCommand::deleteSelectionIfRange() (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

Move CompositeEditCommand::deleteSelection() to TypingCommand::deleteSelectionIfRange() This patch moves |CompositeEditCommand::deleteSelection()| to |TypingCommand::deleteSelectionIfRange()| since it is used only in |TypingCommand| and reduce overload of |deleteSelection()| to improve readability. This patch is a preparation of replacing |VisibleSelection| parameter from |deleteSelectionIfRange()|. BUG=657256 TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2733933003 Cr-Commit-Position: refs/heads/master@{#455094} Committed: https://chromium.googlesource.com/chromium/src/+/9cee878cc63613dcd82f06850e5ab368b0bf8e57

Patch Set 1 : 2017-03-07T13:11:49 #

Total comments: 1

Patch Set 2 : 2017-03-07T14:29:09 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -23 lines) Patch
M third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h View 1 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp View 1 1 chunk +0 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/TypingCommand.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp View 1 4 chunks +17 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (15 generated)
yosin_UTC9
PTAL
3 years, 9 months ago (2017-03-07 05:09:51 UTC) #6
yoichio
https://codereview.chromium.org/2733933003/diff/1/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h File third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h (right): https://codereview.chromium.org/2733933003/diff/1/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h#newcode109 third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h:109: // class since it is used in |TypingCommand| only. ...
3 years, 9 months ago (2017-03-07 05:16:31 UTC) #7
yosin_UTC9
PTAL Moving rather than renaming.
3 years, 9 months ago (2017-03-07 05:30:14 UTC) #11
yoichio
lgtm
3 years, 9 months ago (2017-03-07 07:57:29 UTC) #14
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/2733933003/20001
3 years, 9 months ago (2017-03-07 07:59:49 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/379383)
3 years, 9 months ago (2017-03-07 08:54:30 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/2733933003/20001
3 years, 9 months ago (2017-03-07 14:37:40 UTC) #20
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 16:39:08 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/9cee878cc63613dcd82f06850e5a...

Powered by Google App Engine
This is Rietveld 408576698