Changeset 90693 in webkit
- Timestamp:
- Jul 10, 2011 11:04:07 AM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r90689 r90693 1 2011-07-10 Balazs Kelemen <kbalazs@webkit.org> 2 3 [Qt][WK2] Implement the rest of WTR::PlatformWebView 4 https://bugs.webkit.org/show_bug.cgi?id=63630 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 * WebKitTestRunner/qt/PlatformWebViewQt.cpp: 9 (WTR::PlatformWebView::windowFrame): 10 (WTR::PlatformWebView::setWindowFrame): 11 1 12 2011-07-10 Mark Rowe <mrowe@apple.com> 2 13 -
trunk/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp
r90458 r90693 90 90 WKRect PlatformWebView::windowFrame() 91 91 { 92 // Implement. 93 92 QRect windowRect = m_window->geometry(); 94 93 WKRect wkFrame; 95 wkFrame.origin.x = 0;96 wkFrame.origin.y = 0;97 wkFrame.size.width = 0;98 wkFrame.size.height = 0;94 wkFrame.origin.x = windowRect.x(); 95 wkFrame.origin.y = windowRect.y(); 96 wkFrame.size.width = windowRect.size().width(); 97 wkFrame.size.height = windowRect.size().height(); 99 98 return wkFrame; 100 99 } 101 100 102 void PlatformWebView::setWindowFrame(WKRect )101 void PlatformWebView::setWindowFrame(WKRect wkRect) 103 102 { 104 // Implement.103 m_window->setGeometry(wkRect.origin.x, wkRect.origin.y, wkRect.size.width, wkRect.size.height); 105 104 } 106 105
Note: See TracChangeset
for help on using the changeset viewer.