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-25 20:32:56 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-25 20:32:56 +0000
commit9c90deb6ab28f8043574331bb3d2ba6c624f5106 (patch)
tree31b17aa69e5d1d389c489d070d671c9fce886686 /chrome/plugin/plugin_interpose_util_mac.mm
parent51d772b68710df707c1ab5fff713b8c19e8fe0be (diff)
downloadchromium_src-9c90deb6ab28f8043574331bb3d2ba6c624f5106.zip
chromium_src-9c90deb6ab28f8043574331bb3d2ba6c624f5106.tar.gz
chromium_src-9c90deb6ab28f8043574331bb3d2ba6c624f5106.tar.bz2
Plumb Carbon SetCursor through.
BUG=http://crbug.com/32703 TEST=when hiding cursor (Flash 10.0), cursor hides (but doesn't stay hidden; that gets fixed later) Review URL: http://codereview.chromium.org/552132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37028 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/plugin_interpose_util_mac.mm')
-rw-r--r--chrome/plugin/plugin_interpose_util_mac.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/plugin/plugin_interpose_util_mac.mm b/chrome/plugin/plugin_interpose_util_mac.mm
index 801efbe..7dd20ad 100644
--- a/chrome/plugin/plugin_interpose_util_mac.mm
+++ b/chrome/plugin/plugin_interpose_util_mac.mm
@@ -76,6 +76,12 @@ void NotifyPluginOfSetThemeCursor(WebPluginDelegateImpl* delegate,
}
__attribute__((visibility("default")))
+void NotifyPluginOfSetCursor(WebPluginDelegateImpl* delegate,
+ const Cursor* cursor) {
+ delegate->SetCursor(cursor);
+}
+
+__attribute__((visibility("default")))
bool GetPluginWindowHasFocus(const WebPluginDelegateImpl* delegate) {
return delegate->GetWindowHasFocus();
}