summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/plugin_interpose_util_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/plugin/plugin_interpose_util_mac.mm')
-rw-r--r--chrome/plugin/plugin_interpose_util_mac.mm5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/plugin/plugin_interpose_util_mac.mm b/chrome/plugin/plugin_interpose_util_mac.mm
index f919c2b..801efbe 100644
--- a/chrome/plugin/plugin_interpose_util_mac.mm
+++ b/chrome/plugin/plugin_interpose_util_mac.mm
@@ -75,6 +75,11 @@ void NotifyPluginOfSetThemeCursor(WebPluginDelegateImpl* delegate,
delegate->SetThemeCursor(cursor);
}
+__attribute__((visibility("default")))
+bool GetPluginWindowHasFocus(const WebPluginDelegateImpl* delegate) {
+ return delegate->GetWindowHasFocus();
+}
+
} // namespace mac_plugin_interposing
#pragma mark -