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

Issue 3808001: Implement IME for Mac plugins using the Cocoa event model on 10.6 (Closed)

Created:
10 years, 2 months ago by stuartmorgan
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org, jam, pam+watch_chromium.org, brettw-cc_chromium.org, darin-cc_chromium.org, stuartmorgan+watch_chromium.org
Visibility:
Public.

Description

Implement IME for Mac plugins using the Cocoa event model on 10.6 Based on the implementation of Gecko's Cocoa event model IME handling on 64-bit, but modified to fit Chrome's cross-process event handling. Because NSTextInputContext is 10.6+, 10.5 will need a cempletely different implementation. BUG=30905 TEST=Plugins implementing the updated NPAPI Cocoa IME spec should handle IME on 10.6. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=62820

Patch Set 1 #

Patch Set 2 : Line length fix #

Total comments: 4

Patch Set 3 : Fixes review comments, a couple bugs #

Total comments: 1

Patch Set 4 : Windows and unit test compile fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+465 lines, -14 lines) Patch
M chrome/browser/renderer_host/render_widget_host.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host.cc View 1 2 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view.h View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_mac.h View 1 2 4 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 8 chunks +75 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/test/test_render_view_host.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/test/test_render_view_host.cc View 1 chunk +9 lines, -0 lines 0 comments Download
chrome/chrome_browser.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/plugin_messages_internal.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 2 chunks +11 lines, -1 line 0 comments Download
M chrome/plugin/webplugin_delegate_stub.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/plugin/webplugin_delegate_stub.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/plugin/webplugin_proxy.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/plugin/webplugin_proxy.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.h View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 3 chunks +22 lines, -0 lines 0 comments Download
M chrome/renderer/webplugin_delegate_proxy.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/renderer/webplugin_delegate_proxy.cc View 1 2 3 chunks +19 lines, -0 lines 0 comments Download
A third_party/mozilla/ComplexTextInputPanel.h View 1 chunk +49 lines, -0 lines 0 comments Download
A third_party/mozilla/ComplexTextInputPanel.mm View 1 chunk +143 lines, -0 lines 0 comments Download
M third_party/mozilla/README.chromium View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M webkit/glue/plugins/webplugin.h View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/plugins/webplugin_delegate_impl.h View 3 chunks +8 lines, -9 lines 0 comments Download
M webkit/glue/plugins/webplugin_delegate_impl_mac.mm View 1 2 7 chunks +38 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
stuartmorgan
This isn't as big a review as it looks like; most of this is just ...
10 years, 2 months ago (2010-10-13 20:12:48 UTC) #1
James Su
Great work! I'll review it asap, but it may take sometime. On 2010/10/13 20:12:48, stuartmorgan ...
10 years, 2 months ago (2010-10-14 01:47:39 UTC) #2
James Su
Just reviewed the RWHV part, which looks good to me except the following issue. http://codereview.chromium.org/3808001/diff/3001/4001 ...
10 years, 2 months ago (2010-10-15 00:55:32 UTC) #3
pink (ping after 24hrs)
lgtm http://codereview.chromium.org/3808001/diff/3001/4019 File third_party/mozilla/LICENSE (right): http://codereview.chromium.org/3808001/diff/3001/4019#newcode40 third_party/mozilla/LICENSE:40: * Copyright (C) 2009 Apple Inc. All Rights ...
10 years, 2 months ago (2010-10-15 14:00:36 UTC) #4
stuartmorgan
New version up; addresses review comments and fixes a couple bugs: - The respondsToSelector check ...
10 years, 2 months ago (2010-10-15 19:29:14 UTC) #5
stuartmorgan
Oops, helps to actually add people when asking them questions. Evan, see the last part ...
10 years, 2 months ago (2010-10-15 19:31:24 UTC) #6
Evan Martin
On 2010/10/15 19:31:24, stuartmorgan wrote: > Oops, helps to actually add people when asking them ...
10 years, 2 months ago (2010-10-15 19:42:16 UTC) #7
James Su
LGTM
10 years, 2 months ago (2010-10-15 19:53:30 UTC) #8
pink (ping after 24hrs)
10 years, 2 months ago (2010-10-15 19:54:40 UTC) #9
cocoa parts lgtm with style nit.

http://codereview.chromium.org/3808001/diff/1024/10005
File chrome/browser/renderer_host/render_widget_host_view_mac.mm (right):

http://codereview.chromium.org/3808001/diff/1024/10005#newcode2533
chrome/browser/renderer_host/render_widget_host_view_mac.mm:2533:
ComplexTextInputPanel* input_panel =
in objc, use objC naming (inputPanel, compositedString, etc

Powered by Google App Engine
This is Rietveld 408576698