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

Issue 1240943002: Mac: Fix Korean input on OSX 10.11 (Closed)

Created:
5 years, 5 months ago by Andre
Modified:
5 years, 5 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, penghuang+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@ElCapitan
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mac: Fix Korean input on OSX 10.11 handling_input_event_ needs to be set in RenderWidget::OnImeSetComposition, otherwise RenderView::DidChangeSelection will skip sending the selection change message the the browser, even though it was correctly set on the renderer side. Also fix incorrectly set selectedRange_ in -setMarkedText, |newSelRange| is relative to the marked text while selectedRange_ is relative to the entire text storage. BUG=500376 Committed: https://crrev.com/28025f2c0eebbd850c745005f955b53b9dfa1cdf Cr-Commit-Position: refs/heads/master@{#339754}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Set handling_input_event_ #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -5 lines) Patch
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 4 chunks +7 lines, -5 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (4 generated)
Andre
James, PTAL. I'm very unfamiliar with this code so I'm not sure what the proper ...
5 years, 5 months ago (2015-07-16 22:36:47 UTC) #2
James Su
Your change makes sense, except one concern. https://codereview.chromium.org/1240943002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/1240943002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode2869 content/browser/renderer_host/render_widget_host_view_mac.mm:2869: return NSMakeRange(NSMaxRange(markedRange_), ...
5 years, 5 months ago (2015-07-17 03:47:37 UTC) #3
Andre
https://codereview.chromium.org/1240943002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/1240943002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode2869 content/browser/renderer_host/render_widget_host_view_mac.mm:2869: return NSMakeRange(NSMaxRange(markedRange_), 0); Thanks James. This is actually the ...
5 years, 5 months ago (2015-07-17 18:05:44 UTC) #4
James Su
https://codereview.chromium.org/1240943002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/1240943002/diff/1/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode2869 content/browser/renderer_host/render_widget_host_view_mac.mm:2869: return NSMakeRange(NSMaxRange(markedRange_), 0); On 2015/07/17 18:05:44, Andre wrote: > ...
5 years, 5 months ago (2015-07-18 02:26:33 UTC) #5
Andre
Thanks. I traced blink's composition and selection code, and I think the problem is with ...
5 years, 5 months ago (2015-07-20 20:27:32 UTC) #6
James Su
lgtm
5 years, 5 months ago (2015-07-21 01:52:24 UTC) #7
Andre
Avi PTAL for owners.
5 years, 5 months ago (2015-07-21 18:14:24 UTC) #9
Avi (use Gerrit)
lgtm stampity stamp
5 years, 5 months ago (2015-07-21 20:49:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1240943002/40001
5 years, 5 months ago (2015-07-21 21:04:42 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 5 months ago (2015-07-21 21:46:17 UTC) #14
commit-bot: I haz the power
5 years, 5 months ago (2015-07-21 21:47:14 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/28025f2c0eebbd850c745005f955b53b9dfa1cdf
Cr-Commit-Position: refs/heads/master@{#339754}

Powered by Google App Engine
This is Rietveld 408576698