Changeset 90095 in webkit
- Timestamp:
- Jun 30, 2011 1:00:31 AM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r90086 r90095 1 2011-06-30 Balazs Kelemen <kbalazs@webkit.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt][WK2] Implement the rest of WTR::PlatformWebView 6 https://bugs.webkit.org/show_bug.cgi?id=63630 7 8 * WebKitTestRunner/qt/PlatformWebViewQt.cpp: 9 (WTR::PlatformWebView::windowFrame): 10 (WTR::PlatformWebView::setWindowFrame): 11 1 12 2011-06-29 Dirk Pranke <dpranke@chromium.org> 2 13 -
trunk/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp
r88461 r90095 89 89 WKRect PlatformWebView::windowFrame() 90 90 { 91 // Implement. 92 91 QRect windowRect = m_window->geometry(); 93 92 WKRect wkFrame; 94 wkFrame.origin.x = 0;95 wkFrame.origin.y = 0;96 wkFrame.size.width = 0;97 wkFrame.size.height = 0;93 wkFrame.origin.x = windowRect.x(); 94 wkFrame.origin.y = windowRect.y(); 95 wkFrame.size.width = windowRect.size().width(); 96 wkFrame.size.height = windowRect.size().height(); 98 97 return wkFrame; 99 98 } 100 99 101 void PlatformWebView::setWindowFrame(WKRect )100 void PlatformWebView::setWindowFrame(WKRect rect) 102 101 { 103 // Implement.102 m_window->setGeometry(rect.origin.x, rect.origin.y, rect.size.width, rect.size.height); 104 103 } 105 104
Note: See TracChangeset
for help on using the changeset viewer.