Changeset 90095 in webkit


Ignore:
Timestamp:
Jun 30, 2011 1:00:31 AM (13 years ago)
Author:
kbalazs@webkit.org
Message:

2011-06-30 Balazs Kelemen <kbalazs@webkit.org>

Reviewed by Kenneth Rohde Christiansen.

[Qt][WK2] Implement the rest of WTR::PlatformWebView
https://bugs.webkit.org/show_bug.cgi?id=63630

  • WebKitTestRunner/qt/PlatformWebViewQt.cpp: (WTR::PlatformWebView::windowFrame): (WTR::PlatformWebView::setWindowFrame):
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r90086 r90095  
     12011-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
    1122011-06-29  Dirk Pranke  <dpranke@chromium.org>
    213
  • trunk/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp

    r88461 r90095  
    8989WKRect PlatformWebView::windowFrame()
    9090{
    91     // Implement.
    92 
     91    QRect windowRect = m_window->geometry();
    9392    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();
    9897    return wkFrame;
    9998}
    10099
    101 void PlatformWebView::setWindowFrame(WKRect)
     100void PlatformWebView::setWindowFrame(WKRect rect)
    102101{
    103     // Implement.
     102    m_window->setGeometry(rect.origin.x, rect.origin.y, rect.size.width, rect.size.height);
    104103}
    105104
Note: See TracChangeset for help on using the changeset viewer.