Commit 28ea4676 authored by andersca@apple.com's avatar andersca@apple.com

2008-05-01 Anders Carlsson <andersca@apple.com>

        Fix 64-bit build.
        
        * Plugins/WebNetscapePluginEventHandlerCocoa.h:
        * Plugins/WebNetscapePluginEventHandlerCocoa.mm:
        * WebCoreSupport/WebFrameLoaderClient.mm:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32778 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a2b73671
2008-05-01 Anders Carlsson <andersca@apple.com>
Fix 64-bit build.
* Plugins/WebNetscapePluginEventHandlerCocoa.h:
* Plugins/WebNetscapePluginEventHandlerCocoa.mm:
* WebCoreSupport/WebFrameLoaderClient.mm:
2008-05-01 Anders Carlsson <andersca@apple.com>
Fix build.
......
......@@ -23,6 +23,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#if ENABLE(NETSCAPE_PLUGIN_API)
#ifndef WebNetscapePluginEventHandlerCocoa_h
#define WebNetscapePluginEventHandlerCocoa_h
......@@ -59,4 +61,5 @@ private:
#endif //WebNetscapePluginEventHandlerCocoa_h
#endif // ENABLE(NETSCAPE_PLUGIN_API)
......@@ -23,6 +23,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#if ENABLE(NETSCAPE_PLUGIN_API)
#import "WebNetscapePluginEventHandlerCocoa.h"
#import "WebBaseNetscapePluginViewInternal.h"
......@@ -190,3 +192,5 @@ bool WebNetscapePluginEventHandlerCocoa::sendEvent(NPCocoaEvent* event)
m_currentEventIsUserGesture = false;
return result;
}
#endif // ENABLE(NETSCAPE_PLUGIN_API)
......@@ -1208,6 +1208,8 @@ static NSView *pluginView(WebFrame *frame, WebPluginPackage *pluginPackage,
return view;
}
#if ENABLE(NETSCAPE_PLUGIN_API)
class NetscapePluginWidget : public Widget {
public:
NetscapePluginWidget(WebNetscapePluginEmbeddedView *view)
......@@ -1228,6 +1230,8 @@ public:
};
#endif // ENABLE(NETSCAPE_PLUGIN_API)
Widget* WebFrameLoaderClient::createPlugin(const IntSize& size, Element* element, const KURL& url,
const Vector<String>& paramNames, const Vector<String>& paramValues, const String& mimeType, bool loadManually)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment