diff options
author | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-18 00:02:34 +0000 |
---|---|---|
committer | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-18 00:02:34 +0000 |
commit | 784ea1ab3797a0aade739c3d80f9f12b41160aef (patch) | |
tree | c3abea80550ba03a41eab24e7579d9b0df1beb4f /chrome/common | |
parent | 9c0a58008e54678318d98d0a519bd47e9bd84f07 (diff) | |
download | chromium_src-784ea1ab3797a0aade739c3d80f9f12b41160aef.zip chromium_src-784ea1ab3797a0aade739c3d80f9f12b41160aef.tar.gz chromium_src-784ea1ab3797a0aade739c3d80f9f12b41160aef.tar.bz2 |
Extend improved windowless plugin focus handling to all platforms
Uses the same two-state focus tracking that the Mac currently uses on Windows and Linux as well, so focus is updated correctly when the content area itself gains and loses focus.
BUG=55607
TEST=Windowless plugins should handle key events when focused on all platforms.
Review URL: http://codereview.chromium.org/3397015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59877 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/plugin_messages_internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/plugin_messages_internal.h b/chrome/common/plugin_messages_internal.h index 29388a4..99e265a 100644 --- a/chrome/common/plugin_messages_internal.h +++ b/chrome/common/plugin_messages_internal.h @@ -221,11 +221,11 @@ IPC_BEGIN_MESSAGES(Plugin) bool /* handled */, WebCursor /* cursor type*/) -#if defined(OS_MACOSX) - IPC_MESSAGE_ROUTED1(PluginMsg_SetWindowFocus, + IPC_MESSAGE_ROUTED1(PluginMsg_SetContentAreaFocus, bool /* has_focus */) - IPC_MESSAGE_ROUTED1(PluginMsg_SetContentAreaFocus, +#if defined(OS_MACOSX) + IPC_MESSAGE_ROUTED1(PluginMsg_SetWindowFocus, bool /* has_focus */) IPC_MESSAGE_ROUTED0(PluginMsg_ContainerHidden) |