Changeset 52611 in webkit
- Timestamp:
- Dec 29, 2009 12:18:35 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r52609 r52611 1 2009-12-29 Robert Hogan <robert@roberthogan.net> 2 3 Reviewed by Eric Seidel. 4 5 [Qt] fix fast/dom/Window/window-onFocus.html 6 7 Add support for layouttestcontroller.windowIsKey to Qt DRT and fix issue where 8 window.onblur was getting dispatched twice from QtWebKit. 9 10 https://bugs.webkit.org/show_bug.cgi?id=32990 11 12 * platform/qt/Skipped: 13 1 14 2009-12-28 Charles Wei <charles.wei@torchmobile.com.cn> 2 15 -
trunk/LayoutTests/platform/qt/Skipped
r52608 r52611 431 431 fast/dom/object-embed-plugin-scripting.html 432 432 fast/dom/replaceChild.html 433 fast/dom/Window/window-onFocus.html434 433 fast/dynamic/layer-hit-test-crash.html 435 434 # seems to trigger some bugs/missing features in QTextCodec -
trunk/WebKit/qt/Api/qwebpage.cpp
r52452 r52611 1069 1069 // focusInEvent() we can re-activate the frame. 1070 1070 FocusController *focusController = page->focusController(); 1071 // Call setFocused first so that window.onblur doesn't get called twice 1072 focusController->setFocused(false); 1071 1073 focusController->setActive(false); 1072 focusController->setFocused(false);1073 1074 } 1074 1075 -
trunk/WebKit/qt/ChangeLog
r52552 r52611 1 2009-12-29 Robert Hogan <robert@roberthogan.net> 2 3 Reviewed by Eric Seidel. 4 5 [Qt] fix fast/dom/Window/window-onFocus.html 6 7 Add support for layouttestcontroller.windowIsKey to Qt DRT and fix issue where 8 window.onblur was getting dispatched twice from QtWebKit. 9 10 https://bugs.webkit.org/show_bug.cgi?id=32990 11 12 * Api/qwebpage.cpp: 13 (QWebPagePrivate::focusOutEvent): 14 1 15 2009-12-24 Girish Ramakrishnan <girish@forwardbias.in> 2 16 -
trunk/WebKitTools/ChangeLog
r52608 r52611 1 2009-12-29 Robert Hogan <robert@roberthogan.net> 2 3 Reviewed by Eric Seidel. 4 5 [Qt] fix fast/dom/Window/window-onFocus.html 6 7 Add support for layouttestcontroller.windowIsKey to Qt DRT and fix issue where 8 window.onblur was getting dispatched twice from QtWebKit. 9 10 https://bugs.webkit.org/show_bug.cgi?id=32990 11 12 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 13 (WebCore::DumpRenderTree::DumpRenderTree): 14 (WebCore::DumpRenderTree::switchFocus): 15 * DumpRenderTree/qt/DumpRenderTreeQt.h: 16 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 17 (LayoutTestController::setWindowIsKey): 18 (LayoutTestController::setMainFrameIsFirstResponder): 19 * DumpRenderTree/qt/LayoutTestControllerQt.h: 20 1 21 2009-12-28 Kinuko Yasuda <kinuko@chromium.org> 2 22 -
trunk/WebKitTools/DumpRenderTree/qt/DumpRenderTreeQt.cpp
r52601 r52611 319 319 m_mainView->setPage(m_page); 320 320 321 // create ou tcontrollers. This has to be done before connectFrame,321 // create our controllers. This has to be done before connectFrame, 322 322 // as it exports there to the JavaScript DOM window. 323 323 m_controller = new LayoutTestController(this); … … 757 757 } 758 758 759 void DumpRenderTree::switchFocus(bool focused) 760 { 761 QFocusEvent event((focused) ? QEvent::FocusIn : QEvent::FocusOut, Qt::ActiveWindowFocusReason); 762 QApplication::sendEvent(m_mainView, &event); 763 } 764 759 765 #if defined(Q_WS_X11) 760 766 void DumpRenderTree::initializeFonts() -
trunk/WebKitTools/DumpRenderTree/qt/DumpRenderTreeQt.h
r52150 r52611 89 89 QWebPage *createWindow(); 90 90 int windowCount() const; 91 92 void switchFocus(bool focused); 91 93 92 94 WebPage *webPage() const { return m_page; } -
trunk/WebKitTools/DumpRenderTree/qt/LayoutTestControllerQt.cpp
r52601 r52611 288 288 } 289 289 290 void LayoutTestController::setWindowIsKey(bool isKey) 291 { 292 m_drt->switchFocus(isKey); 293 } 294 295 void LayoutTestController::setMainFrameIsFirstResponder(bool isFirst) 296 { 297 //FIXME: only need this for the moment: https://bugs.webkit.org/show_bug.cgi?id=32990 298 } 299 290 300 bool LayoutTestController::pauseAnimationAtTimeOnElementWithId(const QString& animationName, 291 301 double time, -
trunk/WebKitTools/DumpRenderTree/qt/LayoutTestControllerQt.h
r52118 r52611 114 114 void setPOSIXLocale(const QString& locale); 115 115 void resetLoadFinished() { m_loadFinished = false; } 116 void setWindowIsKey(bool isKey); 117 void setMainFrameIsFirstResponder(bool isFirst); 116 118 117 119 bool pauseAnimationAtTimeOnElementWithId(const QString& animationName, double time, const QString& elementId);
Note: See TracChangeset
for help on using the changeset viewer.