Changeset 99952 in webkit
- Timestamp:
- Nov 11, 2011, 5:19:06 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 6 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r99872 r99952 1 2011-11-11 Alexis Menard <alexis.menard@openbossa.org> 2 3 [Qt] Add a way to have experimental features in WebKit2 4 https://bugs.webkit.org/show_bug.cgi?id=67707 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Add the new private QML module in the build. 9 10 * Source/QtWebKit.pro: 11 1 12 2011-11-10 Balazs Kelemen <kbalazs@webkit.org> 2 13 -
trunk/Source/QtWebKit.pro
r99843 r99952 19 19 20 20 SUBDIRS += WebKit/qt/declarative 21 haveQt(5) { 22 SUBDIRS += WebKit/qt/declarative/private 23 } 21 24 22 25 tests.file = tests.pri -
trunk/Source/WebKit/qt/ChangeLog
r99946 r99952 1 2011-11-11 Alexis Menard <alexis.menard@openbossa.org> 2 3 [Qt] Add a way to have experimental features in WebKit2 4 https://bugs.webkit.org/show_bug.cgi?id=67707 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 This patch is adding a new module for accessing private 9 method and property from the view. It requires an import 10 QtWebKit.private in QML to be used. 11 12 * declarative/private/plugin.cpp: Added. 13 (WebKitQmlPluginPrivate::registerTypes): 14 * declarative/private/private.pro: Added. 15 * declarative/private/qmldir: Added. 16 1 17 2011-11-11 Simon Hausmann <simon.hausmann@nokia.com> 2 18 -
trunk/Source/WebKit2/ChangeLog
r99946 r99952 1 2011-11-11 Alexis Menard <alexis.menard@openbossa.org> 2 3 [Qt] Add a way to have experimental features in WebKit2 4 https://bugs.webkit.org/show_bug.cgi?id=67707 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Add new QML extensions for our public view. This extension 9 returns the private object of the view so that the user could 10 use unstable/unreleased APIs. This requires our private class 11 to be exported and QObject subclass. 12 13 * Target.pri: 14 * UIProcess/API/qt/qquickwebview.cpp: 15 * UIProcess/API/qt/qquickwebview_p.h: 16 * UIProcess/API/qt/qquickwebviewprivateextension.cpp: Added. 17 (QQuickWebViewPrivateExtension::QQuickWebViewPrivateExtension): 18 (QQuickWebViewPrivateExtension::viewPrivate): 19 * UIProcess/API/qt/qquickwebviewprivateextension_p.h: Added. 20 1 21 2011-11-11 Simon Hausmann <simon.hausmann@nokia.com> 2 22 -
trunk/Source/WebKit2/Target.pri
r99946 r99952 248 248 UIProcess/API/qt/qquickwebview.h \ 249 249 UIProcess/API/qt/qquickwebview_p.h \ 250 UIProcess/API/qt/qquickwebviewprivateextension_p.h \ 250 251 UIProcess/Authentication/AuthenticationChallengeProxy.h \ 251 252 UIProcess/Authentication/AuthenticationDecisionListener.h \ … … 547 548 UIProcess/API/qt/qquickwebview.cpp \ 548 549 UIProcess/API/qt/qwebpreferences.cpp \ 550 UIProcess/API/qt/qquickwebviewprivateextension.cpp \ 549 551 UIProcess/Authentication/AuthenticationChallengeProxy.cpp \ 550 552 UIProcess/Authentication/AuthenticationDecisionListener.cpp \ -
trunk/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp
r99946 r99952 496 496 497 497 #include "moc_qquickwebview.cpp" 498 #include "moc_qquickwebview_p.cpp" -
trunk/Source/WebKit2/UIProcess/API/qt/qquickwebview_p.h
r99845 r99952 29 29 #include "qquickwebview.h" 30 30 31 #include <QtCore/QObject> 31 32 #include <QtCore/QScopedPointer> 32 33 … … 38 39 QT_END_NAMESPACE 39 40 40 class QWEBKIT_EXPORT QQuickWebViewPrivate : public WebKit::QtPolicyInterface { 41 class QWEBKIT_EXPORT QQuickWebViewPrivate : public QObject, public WebKit::QtPolicyInterface { 42 Q_OBJECT 41 43 Q_DECLARE_PUBLIC(QQuickWebView) 42 44 public: … … 55 57 void updateViewportSize(); 56 58 void updateViewportConstraints(); 57 void setUseTraditionalDesktopBehaviour(bool enable);58 59 59 60 static QQuickWebViewPrivate* get(QQuickWebView* view) … … 77 78 void didChangeViewportProperties(const WebCore::ViewportArguments& args); 78 79 80 public slots: 81 void setUseTraditionalDesktopBehaviour(bool enable); 82 83 private: 79 84 QScopedPointer<QQuickWebPage> pageView; 80 85 QScopedPointer<WebKit::QtViewInterface> viewInterface;
Note:
See TracChangeset
for help on using the changeset viewer.