From 40736c5763bf61337c8c14e16d8587db021a87d4 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 6 Jan 2012 14:44:00 +0100 Subject: Imported WebKit commit 2ea9d364d0f6efa8fa64acf19f451504c59be0e4 (http://svn.webkit.org/repository/webkit/trunk@104285) --- Source/WebKit/qt/examples/examples.pro | 2 + Source/WebKit/qt/examples/platformplugin/README | 14 + .../platformplugin/WebNotificationPresenter.cpp | 70 +++++ .../platformplugin/WebNotificationPresenter.h | 67 +++++ .../qt/examples/platformplugin/WebPlugin.cpp | 318 +++++++++++++++++++++ .../WebKit/qt/examples/platformplugin/WebPlugin.h | 145 ++++++++++ .../qt/examples/platformplugin/platformplugin.pro | 34 +++ .../platformplugin/qwebkitplatformplugin.h | 186 ++++++++++++ 8 files changed, 836 insertions(+) create mode 100644 Source/WebKit/qt/examples/examples.pro create mode 100644 Source/WebKit/qt/examples/platformplugin/README create mode 100644 Source/WebKit/qt/examples/platformplugin/WebNotificationPresenter.cpp create mode 100644 Source/WebKit/qt/examples/platformplugin/WebNotificationPresenter.h create mode 100644 Source/WebKit/qt/examples/platformplugin/WebPlugin.cpp create mode 100644 Source/WebKit/qt/examples/platformplugin/WebPlugin.h create mode 100644 Source/WebKit/qt/examples/platformplugin/platformplugin.pro create mode 100644 Source/WebKit/qt/examples/platformplugin/qwebkitplatformplugin.h (limited to 'Source/WebKit/qt/examples') diff --git a/Source/WebKit/qt/examples/examples.pro b/Source/WebKit/qt/examples/examples.pro new file mode 100644 index 000000000..f8dc5893e --- /dev/null +++ b/Source/WebKit/qt/examples/examples.pro @@ -0,0 +1,2 @@ +TEMPLATE = subdirs +SUBDIRS = platformplugin \ No newline at end of file diff --git a/Source/WebKit/qt/examples/platformplugin/README b/Source/WebKit/qt/examples/platformplugin/README new file mode 100644 index 000000000..e220d0415 --- /dev/null +++ b/Source/WebKit/qt/examples/platformplugin/README @@ -0,0 +1,14 @@ +Platform plugin example. + +This project will create a shared library named platformplugin in directory $$[QT_INSTALL_PLUGINS]/webkit +that will provide combo boxes popups to QtWebKit. + +QtWebKit will look for the plugins automatically so there is no need to make any other configuration to +put the plugin into use. To stop using the plugin just remove the directory $$[QT_INSTALL_PLUGINS]/webkit. + +A copy of qwebkitplatformplugin.h is provided with the example, as platform plugins should not depend +on the precense of QtWebKit to build. + +This plugin can provide popups for