Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index b8df750c79cebea59de56344927ca435ab6c7deb..d508b9f89af40d81acec51d2b871d924b4eca29a 100644 |
--- a/content/renderer/render_view_impl.h |
+++ b/content/renderer/render_view_impl.h |
@@ -258,10 +258,12 @@ |
pepper_last_mouse_event_target_ = plugin; |
} |
-#if defined(OS_MACOSX) |
+#if defined(OS_MACOSX) || defined(OS_WIN) |
// Informs the render view that the given plugin has gained or lost focus. |
void PluginFocusChanged(bool focused, int plugin_id); |
- |
+#endif |
+ |
+#if defined(OS_MACOSX) |
// Starts plugin IME. |
void StartPluginIme(); |
#endif |
@@ -940,6 +942,11 @@ |
// location or tab focus and visibily. These are non-owning references. |
std::set<WebPluginDelegateProxy*> plugin_delegates_; |
+#if defined(OS_WIN) |
+ // The ID of the focused NPAPI plugin. |
+ int focused_plugin_id_; |
+#endif |
+ |
#if defined(ENABLE_PLUGINS) |
typedef std::set<PepperPluginInstanceImpl*> PepperPluginSet; |
PepperPluginSet active_pepper_instances_; |