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

Issue 3158026: Add support for receiving text from system services on Mac.... (Closed)

Created:
10 years, 4 months ago by dmac
Modified:
9 years, 7 months ago
CC:
chromium-reviews, John Grabowski, darin-cc_chromium.org, brettw-cc_chromium.org, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Add support for receiving text from system services on Mac. BUG=20868 TEST=manual Review: http://codereview.chromium.org/3158026 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57087

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -18 lines) Patch
M chrome/browser/app_controller_mac.mm View 1 1 chunk +4 lines, -8 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 3 chunks +27 lines, -10 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Nico
LG insertText: is ime-related and hence inherently tricky, so maybe James can take a look, ...
10 years, 4 months ago (2010-08-23 00:58:54 UTC) #1
gmorrita
LGTM. Thank you for doing this! Testing PGP service manually would be great because the ...
10 years, 4 months ago (2010-08-23 01:34:11 UTC) #2
James Su
http://codereview.chromium.org/3158026/diff/2001/3002 File chrome/browser/renderer_host/render_widget_host_view_mac.mm (right): http://codereview.chromium.org/3158026/diff/2001/3002#newcode2307 chrome/browser/renderer_host/render_widget_host_view_mac.mm:2307: [self insertText:string]; Calling [self insertText:] while an input method ...
10 years, 4 months ago (2010-08-23 04:45:20 UTC) #3
dmac
On 2010/08/23 00:58:54, Nico wrote: > LG > > insertText: is ime-related and hence inherently ...
10 years, 4 months ago (2010-08-23 16:15:34 UTC) #4
dmac
On 2010/08/23 01:34:11, morrita wrote: > LGTM. Thank you for doing this! > Testing PGP ...
10 years, 4 months ago (2010-08-23 16:15:54 UTC) #5
dmac
On 2010/08/23 04:45:20, James Su wrote: > http://codereview.chromium.org/3158026/diff/2001/3002 > File chrome/browser/renderer_host/render_widget_host_view_mac.mm (right): > > http://codereview.chromium.org/3158026/diff/2001/3002#newcode2307 ...
10 years, 4 months ago (2010-08-23 16:17:03 UTC) #6
James Su
10 years, 4 months ago (2010-08-23 18:39:36 UTC) #7
LGTM.

On 2010/08/23 16:17:03, dmac wrote:
> On 2010/08/23 04:45:20, James Su wrote:
> > http://codereview.chromium.org/3158026/diff/2001/3002
> > File chrome/browser/renderer_host/render_widget_host_view_mac.mm (right):
> > 
> > http://codereview.chromium.org/3158026/diff/2001/3002#newcode2307
> > chrome/browser/renderer_host/render_widget_host_view_mac.mm:2307: [self
> > insertText:string];
> > Calling [self insertText:] while an input method is activated and a text is
> > being composed may cause problem. But we should not encounter this situation
> at
> > all, so it's probably better to add a DCHECK(!hasMarkedText_) here to ensure
> it.
> 
> Actually it is possible. I entered some text in Hiragana and while I was
> composing I triggered the service. It did a replace of the text which was
> different than textedit or safari. I have updated the patch to imitate how
> TextEdit and Safari handle it. Please take a look and see what you think.

Powered by Google App Engine
This is Rietveld 408576698