summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins/npapi/webplugin_delegate_impl_mac.mm')
-rw-r--r--webkit/plugins/npapi/webplugin_delegate_impl_mac.mm6
1 files changed, 4 insertions, 2 deletions
diff --git a/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm b/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
index e43453d..41f41e7 100644
--- a/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
+++ b/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -934,13 +934,15 @@ void WebPluginDelegateImpl::ImeCompositionCompleted(const string16& text) {
}
}
+#ifndef NP_NO_CARBON
void WebPluginDelegateImpl::SetThemeCursor(ThemeCursor cursor) {
current_windowless_cursor_.InitFromThemeCursor(cursor);
}
-void WebPluginDelegateImpl::SetCursor(const Cursor* cursor) {
+void WebPluginDelegateImpl::SetCarbonCursor(const Cursor* cursor) {
current_windowless_cursor_.InitFromCursor(cursor);
}
+#endif
void WebPluginDelegateImpl::SetNSCursor(NSCursor* cursor) {
current_windowless_cursor_.InitFromNSCursor(cursor);