Bug 65339

Summary: [Qt] [WK2] Expose web view classes to QML
Product: WebKit Reporter: Caio Marcelo de Oliveira Filho <cmarcelo>
Component: WebKit QtAssignee: Caio Marcelo de Oliveira Filho <cmarcelo>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, kling, menard
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch benjamin: review+

Caio Marcelo de Oliveira Filho
Reported 2011-07-28 13:16:38 PDT
Create a plugin that expose our web view classes for WK2 as QML elements.
Attachments
Patch (7.15 KB, patch)
2011-07-28 13:27 PDT, Caio Marcelo de Oliveira Filho
no flags
Patch (12.36 KB, patch)
2011-08-02 16:47 PDT, Caio Marcelo de Oliveira Filho
benjamin: review+
Caio Marcelo de Oliveira Filho
Comment 1 2011-07-28 13:27:47 PDT
Caio Marcelo de Oliveira Filho
Comment 2 2011-07-29 10:08:49 PDT
Comment on attachment 102292 [details] Patch After talking in #qtwebkit with Benjamin and others, I'm working on adding tests for the QML plugin as well.
Caio Marcelo de Oliveira Filho
Comment 3 2011-08-02 16:47:08 PDT
Caio Marcelo de Oliveira Filho
Comment 4 2011-08-02 16:50:17 PDT
Benjamin, could you take a look? This commit depends on https://qt.gitorious.org/qt/qtdeclarative/merge_requests/1, I sent an email for QML devs that might want to merge, but feel welcome to take a look there too :-)
Benjamin Poulain
Comment 5 2011-08-02 18:58:01 PDT
Comment on attachment 102713 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=102713&action=review Looks great > Source/WebKit2/UIProcess/API/qt/qmlplugin/plugin.cpp:37 > + qmlRegisterUncreatableType<QTouchWebPage>(uri, 5, 0, "TouchWebPage", QString::fromLatin1("Cannot create separate instance of TouchWebPage, use TouchWebView")); QString::fromLatin1() -> QObject::tr().
Alexis Menard (darktears)
Comment 6 2011-08-03 04:35:01 PDT
Comment on attachment 102713 [details] Patch yeahhhh good stuff
Caio Marcelo de Oliveira Filho
Comment 7 2011-08-03 05:23:43 PDT
(In reply to comment #4) > This commit depends on https://qt.gitorious.org/qt/qtdeclarative/merge_requests/1, I sent an email for QML devs that might want to merge, but feel welcome to take a look there too :-) For the record, the fix was already merged in qt-declarative:master https://qt.gitorious.org/qt/qtdeclarative/commit/73aa113181fa2295729d24317c187661f740b898
Caio Marcelo de Oliveira Filho
Comment 8 2011-08-03 07:25:52 PDT
Note You need to log in before you can comment on or make changes to this bug.