Commit 0cfb023a authored by hausmann@webkit.org's avatar hausmann@webkit.org

2008-05-21 Ariya Hidayat <ariya.hidayat@trolltech.com>

        Reviewed by Simon.

        For the Qt port, allow building without NPAPI plugin support.

        * WebCore.pro:
        * plugins/PluginView.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 4b136860
2008-05-21 Ariya Hidayat <ariya.hidayat@trolltech.com>
Reviewed by Simon.
For the Qt port, allow building without NPAPI plugin support.
* WebCore.pro:
* plugins/PluginView.h:
2008-05-20 Kevin McCullough <kmccullough@apple.com>
Reviewed by Tim.
......@@ -820,7 +820,6 @@ SOURCES += \
plugins/PluginPackage.cpp \
plugins/PluginStream.cpp \
plugins/PluginView.cpp \
plugins/npapi.cpp \
rendering/AutoTableLayout.cpp \
rendering/bidi.cpp \
rendering/break_lines.cpp \
......@@ -1020,6 +1019,9 @@ SOURCES += \
}
contains(DEFINES, ENABLE_NETSCAPE_PLUGIN_API=1) {
SOURCES += plugins/npapi.cpp
unix:!mac {
SOURCES += \
plugins/qt/PluginPackageQt.cpp \
......
......@@ -118,10 +118,14 @@ namespace WebCore {
int32 write(NPStream* stream, int32 len, void* buffer);
NPError destroyStream(NPStream* stream, NPReason reason);
const char* userAgent();
#if ENABLE(NETSCAPE_PLUGIN_API)
static const char* userAgentStatic();
#endif
void status(const char* message);
NPError getValue(NPNVariable variable, void* value);
#if ENABLE(NETSCAPE_PLUGIN_API)
static NPError getValueStatic(NPNVariable variable, void* value);
#endif
NPError setValue(NPPVariable variable, void* value);
void invalidateRect(NPRect*);
void invalidateRegion(NPRegion);
......
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