Changeset 37787 in webkit


Ignore:
Timestamp:
Oct 22, 2008 12:53:00 PM (15 years ago)
Author:
Simon Hausmann
Message:

2008-10-22 Ariya Hidayat <ariya.hidayat@trolltech.com>

Reviewed by Simon Hausmann.

For public API, use the term boundingRect instead of boundingBox.

  • Api/qwebframe.cpp: (QWebHitTestResultPrivate::QWebHitTestResultPrivate): (QWebHitTestResult::boundingRect):
  • Api/qwebframe.h:
  • Api/qwebframe_p.h:
Location:
trunk/WebKit/qt
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/Api/qwebframe.cpp

    r37764 r37787  
    985985        return;
    986986    pos = hitTest.point();
    987     boundingBox = hitTest.boundingBox();
     987    boundingRect = hitTest.boundingBox();
    988988    title = hitTest.title();
    989989    linkText = hitTest.textContent();
     
    10771077    Returns the bounding box of the element.
    10781078*/
    1079 QRect QWebHitTestResult::boundingBox() const
     1079QRect QWebHitTestResult::boundingRect() const
    10801080{
    10811081    if (!d)
    10821082        return QRect();
    1083     return d->boundingBox;
     1083    return d->boundingRect;
    10841084}
    10851085
  • trunk/WebKit/qt/Api/qwebframe.h

    r37764 r37787  
    6868
    6969    QPoint pos() const;
    70     QRect boundingBox() const;
     70    QRect boundingRect() const;
    7171    QString title() const;
    7272
  • trunk/WebKit/qt/Api/qwebframe_p.h

    r37764 r37787  
    101101
    102102    QPoint pos;
    103     QRect boundingBox;
     103    QRect boundingRect;
    104104    QString title;
    105105    QString linkText;
  • trunk/WebKit/qt/ChangeLog

    r37764 r37787  
     12008-10-22  Ariya Hidayat  <ariya.hidayat@trolltech.com>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        For public API, use the term boundingRect instead of boundingBox.
     6
     7        * Api/qwebframe.cpp:
     8        (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
     9        (QWebHitTestResult::boundingRect):
     10        * Api/qwebframe.h:
     11        * Api/qwebframe_p.h:
     12
    1132008-06-03  Siraj Razick  <siraj.razick@collabora.co.uk>
    214
Note: See TracChangeset for help on using the changeset viewer.