Title: [98337] trunk/Source/WebKit2
- Revision
- 98337
- Author
- commit-qu...@webkit.org
- Date
- 2011-10-25 06:38:28 -0700 (Tue, 25 Oct 2011)
Log Message
[Qt][WK2] QDesktopWebView and QTouchWebView should be declared in the meta type system.
https://bugs.webkit.org/show_bug.cgi?id=70693
This change allows us to use the template based features of the meta type system
such as using the WebView classes as types for QVariant.
Patch by Zeno Albisser <zeno.albis...@nokia.com> on 2011-10-25
Reviewed by Simon Hausmann.
* UIProcess/API/qt/qdesktopwebview.h:
* UIProcess/API/qt/qtouchwebview.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (98336 => 98337)
--- trunk/Source/WebKit2/ChangeLog 2011-10-25 13:17:32 UTC (rev 98336)
+++ trunk/Source/WebKit2/ChangeLog 2011-10-25 13:38:28 UTC (rev 98337)
@@ -1,3 +1,16 @@
+2011-10-25 Zeno Albisser <zeno.albis...@nokia.com>
+
+ [Qt][WK2] QDesktopWebView and QTouchWebView should be declared in the meta type system.
+ https://bugs.webkit.org/show_bug.cgi?id=70693
+
+ This change allows us to use the template based features of the meta type system
+ such as using the WebView classes as types for QVariant.
+
+ Reviewed by Simon Hausmann.
+
+ * UIProcess/API/qt/qdesktopwebview.h:
+ * UIProcess/API/qt/qtouchwebview.h:
+
2011-10-25 Zalan Bujtas <zbuj...@gmail.com>
[Qt][WK2] Remove redundant setPageIsVisible() API
Modified: trunk/Source/WebKit2/UIProcess/API/qt/qdesktopwebview.h (98336 => 98337)
--- trunk/Source/WebKit2/UIProcess/API/qt/qdesktopwebview.h 2011-10-25 13:17:32 UTC (rev 98336)
+++ trunk/Source/WebKit2/UIProcess/API/qt/qdesktopwebview.h 2011-10-25 13:38:28 UTC (rev 98337)
@@ -131,6 +131,7 @@
QDesktopWebViewPrivate *d;
};
+QML_DECLARE_TYPE(QDesktopWebView)
Q_DECLARE_METATYPE(QDesktopWebView::NavigationPolicy)
#endif /* qdesktopwebview_h */
Modified: trunk/Source/WebKit2/UIProcess/API/qt/qtouchwebview.h (98336 => 98337)
--- trunk/Source/WebKit2/UIProcess/API/qt/qtouchwebview.h 2011-10-25 13:17:32 UTC (rev 98336)
+++ trunk/Source/WebKit2/UIProcess/API/qt/qtouchwebview.h 2011-10-25 13:38:28 UTC (rev 98337)
@@ -59,4 +59,6 @@
QTouchWebViewPrivate *d;
};
+QML_DECLARE_TYPE(QTouchWebView)
+
#endif /* qtouchwebview_h */
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes