Changeset 66217 in webkit
- Timestamp:
- Aug 27, 2010 6:45:03 AM (14 years ago)
- Location:
- trunk/WebKit/qt
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/qt/Api/qwebpage.cpp
r65771 r66217 2132 2132 If \a type is WebModalDialog, the application must call setWindowModality(Qt::ApplicationModal) on the new window. 2133 2133 2134 \sa acceptNavigationRequest() 2134 \note In the cases when the window creation is being triggered by JavaScript, apart from 2135 reimplementing this method application must also set the JavaScriptCanOpenWindows attribute 2136 of QWebSettings to true in order to get it called. 2137 2138 \sa acceptNavigationRequest(), QWebView::createWindow() 2135 2139 */ 2136 2140 QWebPage *QWebPage::createWindow(WebWindowType type) -
trunk/WebKit/qt/Api/qwebview.cpp
r65789 r66217 954 954 method is not called, unless explicitly done so in the reimplementation. 955 955 956 \sa QWebPage::createWindow() 956 \note In the cases when the window creation is being triggered by JavaScript, apart from 957 reimplementing this method application must also set the JavaScriptCanOpenWindows attribute 958 of QWebSettings to true in order to get it called.. 959 960 \sa QWebPage::createWindow(), QWebPage::acceptNavigationRequest() 957 961 */ 958 962 QWebView *QWebView::createWindow(QWebPage::WebWindowType type) -
trunk/WebKit/qt/ChangeLog
r66198 r66217 1 2010-08-26 Antonio Gomes <tonikitoo@webkit.org> 2 3 Reviewed by Simon Hausmann. 4 5 [Qt] Add support for automatically creating new windows in QWebView 6 https://bugs.webkit.org/show_bug.cgi?id=29847 7 8 Improved the documentation of createWindow methods of both QWebView and 9 QWebPage by mentioning that for any of them be called, QWebSettings' 10 JavaScriptCanOpenWindows attribute must be set to true. 11 12 * Api/qwebpage.cpp: 13 * Api/qwebview.cpp: 14 1 15 2010-08-27 Yury Semikhatsky <yurys@chromium.org> 2 16
Note: See TracChangeset
for help on using the changeset viewer.