[Qt] Add a way to have experimental features in WebKit2
authoralexis.menard@openbossa.org <alexis.menard@openbossa.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Nov 2011 13:19:06 +0000 (13:19 +0000)
committeralexis.menard@openbossa.org <alexis.menard@openbossa.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Nov 2011 13:19:06 +0000 (13:19 +0000)
commitd03562507f9e9740824f80215574b676cb8ccd43
tree56f139fd63f96f1189e1f8988f06717f1eef32f0
parentde0063c8a9cbcc628600f3e9190f8adac014927a
[Qt] Add a way to have experimental features in WebKit2
https://bugs.webkit.org/show_bug.cgi?id=67707

Reviewed by Kenneth Rohde Christiansen.

.:

Add the new private QML module in the build.

* Source/QtWebKit.pro:

Source/WebKit/qt:

This patch is adding a new module for accessing private
method and property from the view. It requires an import
QtWebKit.private in QML to be used.

* declarative/private/plugin.cpp: Added.
(WebKitQmlPluginPrivate::registerTypes):
* declarative/private/private.pro: Added.
* declarative/private/qmldir: Added.

Source/WebKit2:

Add new QML extensions for our public view. This extension
returns the private object of the view so that the user could
use unstable/unreleased APIs. This requires our private class
to be exported and QObject subclass.

* Target.pri:
* UIProcess/API/qt/qquickwebview.cpp:
* UIProcess/API/qt/qquickwebview_p.h:
* UIProcess/API/qt/qquickwebviewprivateextension.cpp: Added.
(QQuickWebViewPrivateExtension::QQuickWebViewPrivateExtension):
(QQuickWebViewPrivateExtension::viewPrivate):
* UIProcess/API/qt/qquickwebviewprivateextension_p.h: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99952 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
ChangeLog
Source/QtWebKit.pro
Source/WebKit/qt/ChangeLog
Source/WebKit/qt/declarative/private/plugin.cpp [new file with mode: 0644]
Source/WebKit/qt/declarative/private/private.pro [new file with mode: 0644]
Source/WebKit/qt/declarative/private/qmldir [new file with mode: 0644]
Source/WebKit2/ChangeLog
Source/WebKit2/Target.pri
Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp
Source/WebKit2/UIProcess/API/qt/qquickwebview_p.h
Source/WebKit2/UIProcess/API/qt/qquickwebviewprivateextension.cpp [new file with mode: 0644]
Source/WebKit2/UIProcess/API/qt/qquickwebviewprivateextension_p.h [new file with mode: 0644]