summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/render_view.h')
-rw-r--r--content/renderer/render_view.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/content/renderer/render_view.h b/content/renderer/render_view.h
index e22152e..fe293aa 100644
--- a/content/renderer/render_view.h
+++ b/content/renderer/render_view.h
@@ -309,10 +309,12 @@ class RenderView : public RenderWidget,
// Request updated policy regarding firewall NAT traversal being enabled.
void RequestRemoteAccessClientFirewallTraversal();
-#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();
@@ -1130,6 +1132,11 @@ class RenderView : public RenderWidget,
// 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 plug-in.
+ int focused_plugin_id_;
+#endif
+
// Helper objects ------------------------------------------------------------
RendererWebCookieJarImpl cookie_jar_;