OSDN Git Service

changing how plugins gain/lose focus.
authorDerek Sollenberger <djsollen@google.com>
Tue, 27 Oct 2009 13:50:23 +0000 (09:50 -0400)
committerDerek Sollenberger <djsollen@google.com>
Tue, 27 Oct 2009 15:11:18 +0000 (11:11 -0400)
commitc7d9090583638605a2c8a779642ad09d1a228520
tree7693477019ffab57fe521cad49464ab29f1c432a
parent21088f4092362b3eac4b6ad7d7050aabb833dfcf
changing how plugins gain/lose focus.

Previously we were keeping our own state in the UI thread to
determine when to send events to the plugin. This change removes
that logic and uses the document focus to determine when events
are to be sent. This also fixes problems with the plugins
occasionally not receiving lose focus events.

see bug http://b/2033843
WebCore/plugins/PluginView.cpp
WebCore/plugins/PluginView.h
WebCore/plugins/android/PluginViewAndroid.cpp
WebKit/android/jni/WebViewCore.cpp
WebKit/android/jni/WebViewCore.h
WebKit/android/nav/WebView.cpp