Changeset 37764 in webkit
- Timestamp:
- Oct 21, 2008 3:33:10 PM (16 years ago)
- Location:
- trunk/WebKit/qt
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/qt/Api/qwebframe.cpp
r37706 r37764 985 985 return; 986 986 pos = hitTest.point(); 987 boundingBox = hitTest.boundingBox(); 987 988 title = hitTest.title(); 988 989 linkText = hitTest.textContent(); … … 1073 1074 1074 1075 /*! 1076 \since 4.5 1077 Returns the bounding box of the element. 1078 */ 1079 QRect QWebHitTestResult::boundingBox() const 1080 { 1081 if (!d) 1082 return QRect(); 1083 return d->boundingBox; 1084 } 1085 1086 /*! 1075 1087 Returns the title of the nearest enclosing HTML element. 1076 1088 */ -
trunk/WebKit/qt/Api/qwebframe.h
r37061 r37764 68 68 69 69 QPoint pos() const; 70 QRect boundingBox() const; 70 71 QString title() const; 71 72 -
trunk/WebKit/qt/Api/qwebframe_p.h
r37061 r37764 101 101 102 102 QPoint pos; 103 QRect boundingBox; 103 104 QString title; 104 105 QString linkText; -
trunk/WebKit/qt/ChangeLog
r37754 r37764 1 2008-06-03 Siraj Razick <siraj.razick@collabora.co.uk> 2 3 Reviewed by Simon Hausmann. 4 5 https://bugs.webkit.org/show_bug.cgi?id=19374 6 7 Expose boundingBox value in QWebHitTestResult 8 9 Add API function QRect QWebHitResult::boundingBox() const 10 11 API docs by Ariya. 12 13 * Api/qwebframe.cpp: 14 (QWebHitTestResultPrivate::QWebHitTestResultPrivate): 15 (QWebHitTestResult::boundingBox): 16 * Api/qwebframe.h: 17 * Api/qwebframe_p.h: 18 1 19 2008-10-20 Sam Weinig <sam@webkit.org> 2 20
Note: See TracChangeset
for help on using the changeset viewer.