Changeset 79672 in webkit
- Timestamp:
- Feb 25, 2011 4:48:11 AM (13 years ago)
- Location:
- trunk/Source/WebKit/qt
- Files:
-
- 7 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/qt/ChangeLog
r79668 r79672 1 2011-02-25 Gopal Raghavan <gopal.1.raghavan@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] QML WebView inside a Flickable shows checkers pattern at startup 6 https://bugs.webkit.org/show_bug.cgi?id=50222. 7 8 This patch fixes the checkerboard visible at startup even if preferredWidth and preferredHeight are not set. 9 10 * declarative/qdeclarativewebview.cpp: 11 (QDeclarativeWebView::init): 12 * tests/qdeclarativewebview: Added. 13 * tests/qdeclarativewebview/qdeclarativewebview.pro: Added. 14 * tests/qdeclarativewebview/resources: Added. 15 * tests/qdeclarativewebview/resources/webviewtest.qml: Added. 16 * tests/qdeclarativewebview/resources/webviewtestdefault.qml: Added. 17 * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Added. 18 (tst_QDeclarativeWebView::initTestCase): 19 (tst_QDeclarativeWebView::cleanupTestCase): 20 (tst_QDeclarativeWebView::init): 21 (tst_QDeclarativeWebView::cleanup): 22 (tst_QDeclarativeWebView::preferredWidthTest): 23 (tst_QDeclarativeWebView::preferredHeightTest): 24 (tst_QDeclarativeWebView::preferredWidthDefaultTest): 25 (tst_QDeclarativeWebView::preferredHeightDefaultTest): 26 (tst_QDeclarativeWebView::checkNoErrors): 27 * tests/tests.pri: 28 * tests/tests.pro: 29 1 30 2011-02-24 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> 2 31 -
trunk/Source/WebKit/qt/declarative/qdeclarativewebview.cpp
r78270 r79672 276 276 QWebPage* wp = new QDeclarativeWebPage(this); 277 277 setPage(wp); 278 if (!preferredWidth()) 279 setPreferredWidth(d->view->preferredWidth()); 280 if (!preferredHeight()) 281 setPreferredHeight(d->view->preferredHeight()); 278 282 connect(d->view, SIGNAL(geometryChanged()), this, SLOT(updateDeclarativeWebViewSize())); 279 283 connect(d->view, SIGNAL(doubleClick(int, int)), this, SIGNAL(doubleClick(int, int))); -
trunk/Source/WebKit/qt/tests/tests.pri
r78817 r79672 21 21 22 22 include(../../../WebKit.pri) 23 QT += testlib network 23 QT += testlib network declarative 24 24 25 25 QMAKE_RPATHDIR = $$OUTPUT_DIR/lib $$QMAKE_RPATHDIR -
trunk/Source/WebKit/qt/tests/tests.pro
r56386 r79672 1 1 2 2 TEMPLATE = subdirs 3 SUBDIRS = qwebframe qwebpage qwebelement qgraphicswebview qwebhistoryinterface qwebview qwebhistory q webinspector hybridPixmap3 SUBDIRS = qwebframe qwebpage qwebelement qgraphicswebview qwebhistoryinterface qwebview qwebhistory qdeclarativewebview qwebinspector hybridPixmap 4 4 SUBDIRS += benchmarks/painting benchmarks/loading
Note: See TracChangeset
for help on using the changeset viewer.