-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=54531 Patch by Kalev Lember <kalevlember@gmail.com> on 2012-06-21 Reviewed by Martin Robinson. .: Define XP_WIN on Windows for plugin support. * GNUmakefile.am: Source/WebCore: Switch to using PluginPackageWin.cpp and PluginViewWin.cpp on Windows platform, and leave plugins/gtk/ only for XP_UNIX platforms. With this we can share a lot of code with other ports and don't have to reimplement all the Windows-specific code in plugins/gtk/. * GNUmakefile.am: * GNUmakefile.list.am: * platform/FileSystem.h: (WebCore): * platform/graphics/GraphicsContext.h: (GraphicsContext): * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h: (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate): (GraphicsContextPlatformPrivate): * platform/graphics/transforms/TransformationMatrix.h: (TransformationMatrix): * platform/graphics/win/GraphicsContextCairoWin.cpp: (WebCore): * platform/graphics/win/GraphicsContextWin.cpp: (WebCore): * platform/gtk/FileSystemGtk.cpp: (WebCore::unloadModule): * plugins/PluginView.h: (PluginView): * plugins/win/PluginViewWin.cpp: (windowHandleForPageClient): (WebCore::registerPluginView): (WebCore::PluginView::paint): (WebCore::PluginView::handleMouseEvent): (WebCore::PluginView::platformStart): (WebCore::PluginView::snapshot): Source/WTF: Define ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH for the GTK+ port, and include OwnPtrWin.cpp in the list of files built on Windows. * GNUmakefile.am: * GNUmakefile.list.am: * wtf/Platform.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@120956 268f45cc-cd09-0410-ab3c-d52691b4dbfc
618672dd