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

Issue 399090: Mac: Simulate the OS-level focus handling that windows and linux plugins... (Closed)

Created:
11 years, 1 month ago by Amanda Walker
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, ben+cc_chromium.org, John Grabowski, jam, pam+watch_chromium.org, darin (slow to review)
Visibility:
Public.

Description

Mac: Simulate the OS-level focus handling that windows and linux plugins rely on to trigger NPAPI keyboard focus notifications. BUG=26585 TEST=On pages with multiple Flash text entry fields, only one should have a blinking caret at any time. Flash elements that use the ActionScript2 "Key.IsDown()" function should only detect keydowns when they are in a visible tab and focused. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=32631

Patch Set 1 #

Total comments: 12

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 8

Patch Set 4 : '' #

Total comments: 4

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -3 lines) Patch
M chrome/browser/plugin_process_host.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/plugin_process_host.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/plugin_process_host_mac.cc View 1 2 3 4 5 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 4 chunks +30 lines, -0 lines 0 comments Download
M chrome/common/plugin_messages_internal.h View 1 2 3 4 5 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/plugin/plugin_thread.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/plugin/plugin_thread.cc View 1 2 3 4 5 3 chunks +19 lines, -0 lines 0 comments Download
M chrome/plugin/webplugin_delegate_stub.cc View 2 chunks +19 lines, -0 lines 0 comments Download
M webkit/glue/plugins/webplugin_delegate_impl.h View 1 2 3 4 5 3 chunks +19 lines, -0 lines 0 comments Download
M webkit/glue/plugins/webplugin_delegate_impl_mac.mm View 1 2 3 4 5 7 chunks +38 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Amanda Walker
11 years, 1 month ago (2009-11-18 22:26:01 UTC) #1
stuartmorgan
http://codereview.chromium.org/399090/diff/1/5 File chrome/browser/plugin_process_host_mac.cc (right): http://codereview.chromium.org/399090/diff/1/5#newcode84 Line 84: // that they no longer do (simulating the ...
11 years, 1 month ago (2009-11-18 22:53:57 UTC) #2
rohitrao (ping after 24h)
A reminder that we need to handle get/resign key status, most likely in browser_window_controller.mm.
11 years, 1 month ago (2009-11-18 23:01:10 UTC) #3
Amanda Walker
http://codereview.chromium.org/399090/diff/1/5 File chrome/browser/plugin_process_host_mac.cc (right): http://codereview.chromium.org/399090/diff/1/5#newcode84 Line 84: // that they no longer do (simulating the ...
11 years, 1 month ago (2009-11-19 21:17:14 UTC) #4
Amanda Walker
On 2009/11/18 23:01:10, rohitrao wrote: > A reminder that we need to handle get/resign key ...
11 years, 1 month ago (2009-11-19 23:35:34 UTC) #5
rohitrao (ping after 24h)
RWHV changes LGTM
11 years, 1 month ago (2009-11-19 23:40:15 UTC) #6
stuartmorgan
http://codereview.chromium.org/399090/diff/5001/5005 File chrome/browser/plugin_process_host_mac.cc (right): http://codereview.chromium.org/399090/diff/5001/5005#newcode90 Line 90: new PluginProcessMsg_PluginReceivedFocus(process_id, instance_id)); Per discussion, calling handle() on ...
11 years, 1 month ago (2009-11-19 23:53:07 UTC) #7
Amanda Walker
http://codereview.chromium.org/399090/diff/5001/5005 File chrome/browser/plugin_process_host_mac.cc (right): http://codereview.chromium.org/399090/diff/5001/5005#newcode90 Line 90: new PluginProcessMsg_PluginReceivedFocus(process_id, instance_id)); Fixed. http://codereview.chromium.org/399090/diff/5001/5006 File chrome/browser/renderer_host/render_widget_host_view_mac.mm (right): ...
11 years, 1 month ago (2009-11-20 00:02:15 UTC) #8
stuartmorgan
LGTM http://codereview.chromium.org/399090/diff/1020/4008 File chrome/browser/plugin_process_host_mac.cc (right): http://codereview.chromium.org/399090/diff/1020/4008#newcode91 Line 91: new PluginProcessMsg_PluginFocusNotify(instance_id)); Maybe use a local variable ...
11 years, 1 month ago (2009-11-20 00:13:33 UTC) #9
Amanda Walker
http://codereview.chromium.org/399090/diff/1020/4008 File chrome/browser/plugin_process_host_mac.cc (right): http://codereview.chromium.org/399090/diff/1020/4008#newcode91 Line 91: new PluginProcessMsg_PluginFocusNotify(instance_id)); Done. http://codereview.chromium.org/399090/diff/1020/4009 File chrome/browser/renderer_host/render_widget_host_view_mac.mm (right): http://codereview.chromium.org/399090/diff/1020/4009#newcode67 ...
11 years, 1 month ago (2009-11-20 00:37:27 UTC) #10
stuartmorgan
11 years, 1 month ago (2009-11-20 00:40:29 UTC) #11
LGTM

Powered by Google App Engine
This is Rietveld 408576698