WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
50750
[Qt][WK2] Add the QWKContext API class to wrap the WebContext.
https://bugs.webkit.org/show_bug.cgi?id=50750
Summary
[Qt][WK2] Add the QWKContext API class to wrap the WebContext.
Jocelyn Turcotte
Reported
2010-12-09 05:14:29 PST
[Qt][WK2] Add the QWKContext API class to wrap the WebContext.
Attachments
Patch
(16.49 KB, patch)
2010-12-09 05:22 PST
,
Jocelyn Turcotte
no flags
Details
Formatted Diff
Diff
Patch v2
(15.52 KB, patch)
2010-12-10 01:25 PST
,
Jocelyn Turcotte
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jocelyn Turcotte
Comment 1
2010-12-09 05:22:01 PST
Created
attachment 76048
[details]
Patch
Kenneth Rohde Christiansen
Comment 2
2010-12-10 00:38:03 PST
Comment on
attachment 76048
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=76048&action=review
> WebKit2/UIProcess/API/qt/qwkcontext.h:36 > + // Bridge from the C API > + QWKContext(WKPageNamespaceRef pageNamespaceRef, QObject* parent = 0);
Do we need this if the namespace is going away anyway?
> WebKit2/UIProcess/API/qt/qwkcontext_p.h:37 > + RefPtr<WebKit::WebPageNamespace> pageNamespace; > +
unneeded newspace
Jocelyn Turcotte
Comment 3
2010-12-10 01:25:58 PST
Created
attachment 76175
[details]
Patch v2 (In reply to
comment #2
)
> (From update of
attachment 76048
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=76048&action=review
> > > WebKit2/UIProcess/API/qt/qwkcontext.h:36 > > + // Bridge from the C API > > + QWKContext(WKPageNamespaceRef pageNamespaceRef, QObject* parent = 0); > > Do we need this if the namespace is going away anyway? >
This namespace is given to us in WebKitTools/WebKitTestRunner/qt/PlatformWebViewQt.cpp. It shouldn't be public so we might have to find a different way sooner or later. Having this contstructor in QWKContextPrivate and have a non-public friend factory method kind of trick could do it.
> > WebKit2/UIProcess/API/qt/qwkcontext_p.h:37 > > + RefPtr<WebKit::WebPageNamespace> pageNamespace; > > + > > unneeded newspace
Fixed
WebKit Review Bot
Comment 4
2010-12-10 04:03:35 PST
Comment on
attachment 76175
[details]
Patch v2 Clearing flags on attachment: 76175 Committed
r73716
: <
http://trac.webkit.org/changeset/73716
>
WebKit Review Bot
Comment 5
2010-12-10 04:03:42 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug