[WK2][GTK][EFL] Share WebKit2-GTK plugin process implementation with EFL port
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 29 Sep 2012 06:31:08 +0000 (06:31 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 29 Sep 2012 06:31:08 +0000 (06:31 +0000)
commitf14e6b60d478097aa63a9cd2c63f4efee6b83b54
treeae2042b0c8aba9986f1d8d101c160cb1dfecf26d
parentfe8a1762d2eded43924756cf2e557c4303af3e64
[WK2][GTK][EFL] Share WebKit2-GTK plugin process implementation with EFL port
https://bugs.webkit.org/show_bug.cgi?id=91844

Patch by Mariusz Grzegorczyk <mariusz.g@samsung.com> on 2012-09-28
Reviewed by Simon Hausmann.

.:

Turn on Netscape Plugin API by default  for WebKit2-Efl.

* Source/cmake/OptionsEfl.cmake:

Source/WebKit2:

Implement windowless plugin and functions needed to launch PluginProcess.

* GNUmakefile.am: Change files and folders related to plugin process from gtk to unix.
* GNUmakefile.list.am: Change files and folders related to plugin process from gtk to unix.
* Platform/Logging.cpp: Add Plugins channel for LOG.
(WebKit):
(WebKit::getChannelFromName):
(WebKit::initializeLogChannelsIfNecessary):
* Platform/Logging.h:
(WebKit):
* PlatformEfl.cmake: Add files needed by plugin process.
* PluginProcess/unix/PluginControllerProxyUnix.cpp: Renamed from Source/WebKit2/PluginProcess/gtk/PluginControllerProxyGtk.cpp.
(WebKit):
(WebKit::PluginControllerProxy::platformInitialize): Add macros for gtk/efl differents.
(WebKit::PluginControllerProxy::platformDestroy):
(WebKit::PluginControllerProxy::platformGeometryDidChange):
* PluginProcess/unix/PluginProcessMainUnix.cpp: Renamed from Source/WebKit2/PluginProcess/gtk/PluginProcessMainGtk.cpp.
(WebKit):
(WebKit::webkitXError):
(WebKit::PluginProcessMainUnix):
* PluginProcess/unix/PluginProcessMainUnix.h: Renamed from Source/WebKit2/PluginProcess/gtk/PluginProcessMainGtk.h.
(WebKit):
* PluginProcess/unix/PluginProcessUnix.cpp: Renamed from Source/WebKit2/PluginProcess/gtk/PluginProcessGtk.cpp.
(WebKit):
(WebKit::PluginProcess::platformInitialize):
* UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp: Renamed from Source/WebKit2/UIProcess/Plugins/gtk/PluginProcessProxyGtk.cpp.
(WebKit):
(WebKit::PluginProcessProxy::platformInitializePluginProcess):
(WebKit::PluginProcessProxy::scanPlugin):
* UIProcess/efl/WebPageProxyEfl.cpp: Add stubs.
(WebKit::WebPageProxy::createPluginContainer):
(WebKit):
(WebKit::WebPageProxy::windowedPluginGeometryDidChange):
* WebProcess/Plugins/Netscape/unix/PluginProxyUnix.cpp: Renamed from Source/WebKit2/WebProcess/Plugins/Netscape/gtk/PluginProxyGtk.cpp.
(WebKit):
(WebKit::PluginProxy::needsBackingStore):
* WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp: Plugin's windowless implementation.
(WebKit::getPluginDisplay):
(WebKit::x11Screen):
(WebKit::displayDepth):
(WebKit::rootWindowID):
(WebKit::NetscapePlugin::x11HostDisplay):
(WebKit::NetscapePlugin::platformPaint):
* config.h:
* unix/PluginMainUnix.cpp: Renamed from Source/WebKit2/gtk/PluginMainGtk.cpp.
(main):

Tools:

Turn on Netscape Plugin API option by default.

* Scripts/webkitperl/FeatureList.pm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@129972 268f45cc-cd09-0410-ab3c-d52691b4dbfc
20 files changed:
ChangeLog
Source/WebKit2/ChangeLog
Source/WebKit2/GNUmakefile.am
Source/WebKit2/GNUmakefile.list.am
Source/WebKit2/Platform/Logging.cpp
Source/WebKit2/Platform/Logging.h
Source/WebKit2/PlatformEfl.cmake
Source/WebKit2/PluginProcess/unix/PluginControllerProxyUnix.cpp [moved from Source/WebKit2/PluginProcess/gtk/PluginControllerProxyGtk.cpp with 100% similarity]
Source/WebKit2/PluginProcess/unix/PluginProcessMainUnix.cpp [moved from Source/WebKit2/PluginProcess/gtk/PluginProcessMainGtk.cpp with 64% similarity]
Source/WebKit2/PluginProcess/unix/PluginProcessMainUnix.h [moved from Source/WebKit2/PluginProcess/gtk/PluginProcessMainGtk.h with 92% similarity]
Source/WebKit2/PluginProcess/unix/PluginProcessUnix.cpp [moved from Source/WebKit2/PluginProcess/gtk/PluginProcessGtk.cpp with 100% similarity]
Source/WebKit2/UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp [moved from Source/WebKit2/UIProcess/Plugins/gtk/PluginProcessProxyGtk.cpp with 81% similarity]
Source/WebKit2/UIProcess/efl/WebPageProxyEfl.cpp
Source/WebKit2/WebProcess/Plugins/Netscape/unix/PluginProxyUnix.cpp [moved from Source/WebKit2/WebProcess/Plugins/Netscape/gtk/PluginProxyGtk.cpp with 100% similarity]
Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp
Source/WebKit2/config.h
Source/WebKit2/unix/PluginMainUnix.cpp [moved from Source/WebKit2/gtk/PluginMainGtk.cpp with 94% similarity]
Source/cmake/OptionsEfl.cmake
Tools/ChangeLog
Tools/Scripts/webkitperl/FeatureList.pm