summaryrefslogtreecommitdiffstats
path: root/WebCore/plugins/PluginView.h
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2009-10-27 09:50:23 -0400
committerDerek Sollenberger <djsollen@google.com>2009-10-27 11:11:18 -0400
commitc7d9090583638605a2c8a779642ad09d1a228520 (patch)
tree7693477019ffab57fe521cad49464ab29f1c432a /WebCore/plugins/PluginView.h
parent21088f4092362b3eac4b6ad7d7050aabb833dfcf (diff)
downloadexternal_webkit-c7d9090583638605a2c8a779642ad09d1a228520.zip
external_webkit-c7d9090583638605a2c8a779642ad09d1a228520.tar.gz
external_webkit-c7d9090583638605a2c8a779642ad09d1a228520.tar.bz2
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
Diffstat (limited to 'WebCore/plugins/PluginView.h')
-rw-r--r--WebCore/plugins/PluginView.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/plugins/PluginView.h b/WebCore/plugins/PluginView.h
index 0fd0d4f..b385d41 100644
--- a/WebCore/plugins/PluginView.h
+++ b/WebCore/plugins/PluginView.h
@@ -289,6 +289,7 @@ namespace WebCore {
#endif
#ifdef ANDROID_PLUGINS
+ void handleFocusEvent(bool hasFocus);
void handleTouchEvent(TouchEvent*);
// called at the end of the base constructor
void platformInit();