Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1372)

Unified Diff: content/plugin/plugin_interpose_util_mac.mm

Issue 19761007: Move NPAPI implementation out of webkit/plugins/npapi and into content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/plugin/plugin_interpose_util_mac.mm
===================================================================
--- content/plugin/plugin_interpose_util_mac.mm (revision 212369)
+++ content/plugin/plugin_interpose_util_mac.mm (working copy)
@@ -7,9 +7,9 @@
#import <AppKit/AppKit.h>
#import <objc/runtime.h>
+#include "content/child/npapi/webplugin_delegate_impl.h"
#include "content/common/plugin_process_messages.h"
#include "content/plugin/plugin_thread.h"
-#include "webkit/plugins/npapi/webplugin_delegate_impl.h"
using content::PluginThread;
@@ -34,7 +34,7 @@
__attribute__((visibility("default")))
OpaquePluginRef GetActiveDelegate() {
- return webkit::npapi::WebPluginDelegateImpl::GetActiveDelegate();
+ return content::WebPluginDelegateImpl::GetActiveDelegate();
}
__attribute__((visibility("default")))
@@ -211,8 +211,7 @@
- (void)chromePlugin_set {
OpaquePluginRef delegate = mac_plugin_interposing::GetActiveDelegate();
if (delegate) {
- static_cast<webkit::npapi::WebPluginDelegateImpl*>(delegate)->SetNSCursor(
- self);
+ static_cast<content::WebPluginDelegateImpl*>(delegate)->SetNSCursor(self);
return;
}
[self chromePlugin_set];

Powered by Google App Engine
This is Rietveld 408576698