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

Issue 1844663002: Implement backspace state machine for complex emoji sequence. (Closed)

Created:
4 years, 8 months ago by Seigo Nonaka
Modified:
4 years, 8 months ago
Reviewers:
tkent, yosin_UTC9
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement backspace state machine for complex emoji sequence. There are five types of complex emoji sequence as of Unicode 9.0 - Emoji + Variatino selector - Emoji + Emoji modifier - Keycap base + Keycap - Regional indicator symbols - ZWJ sequence By this CL, BackspaceStateMachine can delete above emoji sequence correctly. BUG=594920 Committed: https://crrev.com/808548a16239bb307eae1d369595792f2d8cf277 Cr-Commit-Position: refs/heads/master@{#384511}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : rebase and addresses comments #

Patch Set 3 : rebase #

Total comments: 22

Patch Set 4 : Addressing comments and formatting 80-chars. #

Patch Set 5 : moved iosfwd #

Total comments: 14

Patch Set 6 : rebased to head and addresses the comments #

Total comments: 16

Patch Set 7 : Move char definitions to CharacterNames.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1029 lines, -20 lines) Patch
M third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.h View 1 2 3 4 5 3 chunks +25 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp View 1 2 3 4 5 6 5 chunks +212 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachineTest.cpp View 1 2 3 4 5 3 chunks +786 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/wtf/text/CharacterNames.h View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (11 generated)
Seigo Nonaka
Hi Yosi-san Could you kindly take a look? Thank you.
4 years, 8 months ago (2016-03-29 19:54:52 UTC) #5
yosin_UTC9
https://codereview.chromium.org/1844663002/diff/60001/third_party/WebKit/Source/core/editing/BackspaceStateMachine.cpp File third_party/WebKit/Source/core/editing/BackspaceStateMachine.cpp (right): https://codereview.chromium.org/1844663002/diff/60001/third_party/WebKit/Source/core/editing/BackspaceStateMachine.cpp#newcode34 third_party/WebKit/Source/core/editing/BackspaceStateMachine.cpp:34: return State::Finished; // Already finished. I think attempting update ...
4 years, 8 months ago (2016-03-30 04:05:57 UTC) #6
Seigo Nonaka
Thank you for your review and I'm sorry for mixing rebased change and latest change. ...
4 years, 8 months ago (2016-03-30 08:50:15 UTC) #7
Seigo Nonaka
Thank you for your review and I'm sorry for mixing rebased change and latest change. ...
4 years, 8 months ago (2016-03-30 08:50:17 UTC) #8
yosin_UTC9
https://codereview.chromium.org/1844663002/diff/100001/third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp File third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp (right): https://codereview.chromium.org/1844663002/diff/100001/third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp#newcode34 third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp:34: case BackspaceStateMachine::BackspaceState::Start: FYI: There are technique using #define-macro used ...
4 years, 8 months ago (2016-03-30 10:00:48 UTC) #9
Seigo Nonaka
Addressed comments. Could you kindly take an another look? Thank you. https://codereview.chromium.org/1844663002/diff/100001/third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp File third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp (right): ...
4 years, 8 months ago (2016-03-30 10:53:00 UTC) #10
yosin_UTC9
https://codereview.chromium.org/1844663002/diff/140001/third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp File third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp (right): https://codereview.chromium.org/1844663002/diff/140001/third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp#newcode9 third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp:9: #include <iosfwd> s/iosfwd/ostream/ <iosfwd> declares |std::ostream|, etc by |using|. ...
4 years, 8 months ago (2016-03-31 01:44:45 UTC) #11
Seigo Nonaka
Thank you for your review and I'm sorry I misunderstand some of C++ features. Could ...
4 years, 8 months ago (2016-03-31 13:51:11 UTC) #14
yosin_UTC9
lgtm +tkent@ for second opinion, since I'm deeply involved implementation. Fresh look may find something. ...
4 years, 8 months ago (2016-04-01 01:27:03 UTC) #16
tkent
https://codereview.chromium.org/1844663002/diff/200001/third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp File third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp (right): https://codereview.chromium.org/1844663002/diff/200001/third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp#newcode7 third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp:7: #include "platform/fonts/Character.h" Using platform/fonts/ in core/editing looks weird. This ...
4 years, 8 months ago (2016-04-01 01:50:20 UTC) #17
Seigo Nonaka
Thank you for your review. Please take an another look. https://codereview.chromium.org/1844663002/diff/200001/third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp File third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp (right): https://codereview.chromium.org/1844663002/diff/200001/third_party/WebKit/Source/core/editing/state_machines/BackspaceStateMachine.cpp#newcode7 ...
4 years, 8 months ago (2016-04-01 05:53:15 UTC) #19
tkent
lgtm
4 years, 8 months ago (2016-04-01 06:02:33 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1844663002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1844663002/240001
4 years, 8 months ago (2016-04-01 06:03:43 UTC) #23
commit-bot: I haz the power
Committed patchset #7 (id:240001)
4 years, 8 months ago (2016-04-01 07:35:21 UTC) #24
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 07:38:06 UTC) #26
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/808548a16239bb307eae1d369595792f2d8cf277
Cr-Commit-Position: refs/heads/master@{#384511}

Powered by Google App Engine
This is Rietveld 408576698