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

Issue 2177853002: MacViews: Fix setMarkedText in BridgedContentView to take replacementRange into account. (Closed)

Created:
4 years, 5 months ago by karandeepb
Modified:
4 years, 4 months ago
Reviewers:
tapted
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@ime_regression
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews: Fix setMarkedText in BridgedContentView to take replacementRange into account. This CL changes setMarkedText:selectedRange:replacementRange: method implemented by BridgedContentView to take replacementRange parameter into account. This prevents the insertion of redudant characters by the IME, when accented characters are input. Also, a test is added which fails on the current master. BUG=624657 Committed: https://crrev.com/89e44b6df97a0f5c63586de6a9716b4e18339c23 Cr-Commit-Position: refs/heads/master@{#408331}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -0 lines) Patch
M ui/views/cocoa/bridged_content_view.mm View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/cocoa/bridged_native_widget_unittest.mm View 1 1 chunk +30 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (10 generated)
karandeepb
PTAL Trent. https://codereview.chromium.org/2177853002/diff/1/ui/views/cocoa/bridged_content_view.mm File ui/views/cocoa/bridged_content_view.mm (right): https://codereview.chromium.org/2177853002/diff/1/ui/views/cocoa/bridged_content_view.mm#newcode1225 ui/views/cocoa/bridged_content_view.mm:1225: textInputClient_->DeleteRange(gfx::Range(replacementRange)); The only case I have found ...
4 years, 4 months ago (2016-07-26 03:40:52 UTC) #2
tapted
Can we update BridgedNativeWidgetTest.TextInput_Compose with a case for a non-empty replacement range? https://codereview.chromium.org/2177853002/diff/1/ui/views/cocoa/bridged_content_view.mm File ui/views/cocoa/bridged_content_view.mm ...
4 years, 4 months ago (2016-07-26 05:40:27 UTC) #3
karandeepb
On 2016/07/26 05:40:27, tapted wrote: > Can we update BridgedNativeWidgetTest.TextInput_Compose with a case for a ...
4 years, 4 months ago (2016-07-27 02:45:39 UTC) #10
tapted
lgtm
4 years, 4 months ago (2016-07-27 03:06:20 UTC) #11
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/2177853002/40001
4 years, 4 months ago (2016-07-28 03:03:20 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 4 months ago (2016-07-28 03:48:12 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-07-28 03:49:53 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/89e44b6df97a0f5c63586de6a9716b4e18339c23
Cr-Commit-Position: refs/heads/master@{#408331}

Powered by Google App Engine
This is Rietveld 408576698