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

Issue 2649923012: Avoid reporting space as NBSP in TextInputState. (Closed)

Created:
3 years, 11 months ago by aelias_OOO_until_Jul13
Modified:
3 years, 11 months ago
Reviewers:
yosin_UTC9
CC:
agrieve+watch_chromium.org, blink-reviews, Changwan Ryu, chromium-reviews, darin-cc_chromium.org, jam, yabinh
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid reporting space as NBSP in TextInputState. This removes a fix done at the top level Android layer and moves it into TextIterator. Because the text is stored away in intermediate caches (mLastText, mCachedTextInputState), it seems more principled to do it at emission time to avoid potential cache mismatch issues. This change also avoids allocating a new Java String for every update. BUG=663880 Review-Url: https://codereview.chromium.org/2649923012 Cr-Commit-Position: refs/heads/master@{#445972} Committed: https://chromium.googlesource.com/chromium/src/+/34f2476fb5c0fab47e6d0b99d18b99a1b6fce7be

Patch Set 1 #

Total comments: 5

Patch Set 2 : Code review comments #

Total comments: 1

Messages

Total messages: 23 (14 generated)
aelias_OOO_until_Jul13
3 years, 11 months ago (2017-01-24 21:08:16 UTC) #4
aelias_OOO_until_Jul13
Hi yosin@, PTAL.
3 years, 11 months ago (2017-01-24 21:08:22 UTC) #5
yosin_UTC9
https://codereview.chromium.org/2649923012/diff/1/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp File third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp (right): https://codereview.chromium.org/2649923012/diff/1/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp#newcode1178 third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp:1178: // In a contenteditable, multiple spaces or spaces at ...
3 years, 11 months ago (2017-01-25 03:41:23 UTC) #8
aelias_OOO_until_Jul13
https://codereview.chromium.org/2649923012/diff/1/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.cpp File third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.cpp (right): https://codereview.chromium.org/2649923012/diff/1/third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.cpp#newcode34 third_party/WebKit/Source/core/editing/iterators/TextIteratorTextState.cpp:34: TextIteratorTextState::TextIteratorTextState(bool emitsOriginalText, On 2017/01/25 at 03:41:23, Yosi_UTC9 wrote: > ...
3 years, 11 months ago (2017-01-25 04:33:29 UTC) #11
aelias_OOO_until_Jul13
https://codereview.chromium.org/2649923012/diff/20001/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp File third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp (right): https://codereview.chromium.org/2649923012/diff/20001/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp#newcode1178 third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp:1178: // In a contenteditable, multiple spaces or a space ...
3 years, 11 months ago (2017-01-25 04:34:09 UTC) #12
yosin_UTC9
lgtm Thanks!
3 years, 11 months ago (2017-01-25 06:42:18 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/2649923012/20001
3 years, 11 months ago (2017-01-25 06:42:29 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/2649923012/20001
3 years, 11 months ago (2017-01-25 06:42:49 UTC) #20
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 06:46:47 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/34f2476fb5c0fab47e6d0b99d18b...

Powered by Google App Engine
This is Rietveld 408576698