summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/plugin_interpose_util_mac.mm
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-15 21:51:19 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-15 21:51:19 +0000
commit997a47ac989abd294e94f8384f1eba6ad5698ad2 (patch)
tree5e1b92105eb5f52626c583953ed7204584e37885 /chrome/plugin/plugin_interpose_util_mac.mm
parentfa1cf0b87092ed3f3069a8549270f999e05cca20 (diff)
downloadchromium_src-997a47ac989abd294e94f8384f1eba6ad5698ad2.zip
chromium_src-997a47ac989abd294e94f8384f1eba6ad5698ad2.tar.gz
chromium_src-997a47ac989abd294e94f8384f1eba6ad5698ad2.tar.bz2
(Mac) Intercept (Carbon) cursor setting by plugins and forward it on properly.
BUG=http://crbug.com/20717 TEST=as in bug; this covers old Flash Review URL: http://codereview.chromium.org/550062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36416 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/plugin_interpose_util_mac.mm')
-rw-r--r--chrome/plugin/plugin_interpose_util_mac.mm8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/plugin/plugin_interpose_util_mac.mm b/chrome/plugin/plugin_interpose_util_mac.mm
index 58165e2..1cad1bb 100644
--- a/chrome/plugin/plugin_interpose_util_mac.mm
+++ b/chrome/plugin/plugin_interpose_util_mac.mm
@@ -9,6 +9,7 @@
#include "chrome/common/plugin_messages.h"
#include "chrome/plugin/plugin_thread.h"
+#include "webkit/glue/plugins/webplugin_delegate_impl.h"
namespace mac_plugin_interposing {
@@ -63,6 +64,13 @@ void NotifyBrowserOfPluginHideWindow(uint32 window_id, CGRect bounds) {
}
}
+__attribute__((visibility("default")))
+void NotifyPluginOfSetThemeCursor(WebPluginDelegateImpl* delegate,
+ ThemeCursor cursor) {
+ delegate->SetThemeCursor(cursor);
+}
+
+
} // namespace mac_plugin_interposing
#pragma mark -