WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 37622
[Qt] Moving setViewMode from DumpRenderTreeSupportQt to qwebpage.cpp
https://bugs.webkit.org/show_bug.cgi?id=37622
Summary
[Qt] Moving setViewMode from DumpRenderTreeSupportQt to qwebpage.cpp
Luiz Agostini
Reported
2010-04-14 16:16:02 PDT
Method qt_wrt_setViewMode was removed from qwebpage.cpp by mistake in
r57433
(
bug 35844
). Moving it back.
Attachments
patch 1
(5.69 KB, patch)
2010-04-14 16:21 PDT
,
Luiz Agostini
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Luiz Agostini
Comment 1
2010-04-14 16:21:58 PDT
Created
attachment 53383
[details]
patch 1
Simon Hausmann
Comment 2
2010-04-14 16:55:25 PDT
A nicer way of achieving the same kind of private "API" would be to use dynamic properties. So instead of using a private function QWebPage* page = ... qt_wrt_setViewMode(page, "foobar"); the client could would be much simpler: page->setProperty("wrt_viewMode", "foobar"); and QWebPage would receiver a QEvent::DynamicPropertyChange where the QEvent* is actually a QDynamicPropertyChangeEvent. Here's a link to the docs:
http://doc.qt.nokia.com/4.6/qobject.html#setProperty
WebKit Commit Bot
Comment 3
2010-04-14 20:34:52 PDT
Comment on
attachment 53383
[details]
patch 1 Clearing flags on attachment: 53383 Committed
r57629
: <
http://trac.webkit.org/changeset/57629
>
WebKit Commit Bot
Comment 4
2010-04-14 20:34:57 PDT
All reviewed patches have been landed. Closing bug.
Simon Hausmann
Comment 5
2010-04-20 12:37:27 PDT
Right now the function in question is still present in the qtwebkit-2.0 branch, so I'm removing this as a blocker
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