Changeset 39042 in webkit
- Timestamp:
- Dec 5, 2008 2:10:27 PM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r39037 r39042 1 2008-12-05 Finnur Thorarinsson <finnur.webkit@gmail.com> 2 3 Reviewed by Darin Adler. 4 5 Bug 22579: Providing a function to ScrollbarClient.h which allows us to get at the tickmarks 6 without relying on high-level WebCore types, as requested by Dave Hyatt. 7 8 No functional changes, thus no test cases. 9 10 * page/FrameView.cpp: 11 (WebCore::FrameView::getTickmarks): 12 * page/FrameView.h: 13 * platform/ScrollbarClient.h: 14 1 15 2008-12-05 Dean Jackson <dino@apple.com> 2 16 -
trunk/WebCore/page/FrameView.cpp
r38553 r39042 1079 1079 } 1080 1080 1081 void FrameView::getTickmarks(Vector<IntRect>& tickmarks) const 1082 { 1083 tickmarks = frame()->document()->renderedRectsForMarkers(DocumentMarker::TextMatch); 1084 } 1085 1081 1086 IntRect FrameView::windowResizerRect() const 1082 1087 { -
trunk/WebCore/page/FrameView.h
r38553 r39042 116 116 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&); 117 117 virtual void valueChanged(Scrollbar*); 118 118 virtual void getTickmarks(Vector<IntRect>&) const; 119 119 120 virtual IntRect windowResizerRect() const; 120 121 -
trunk/WebCore/platform/ScrollbarClient.h
r37562 r39042 28 28 29 29 #include "IntRect.h" 30 #include <wtf/Vector.h> 30 31 31 32 namespace WebCore { … … 43 44 44 45 virtual bool scrollbarCornerPresent() const = 0; 46 47 virtual void getTickmarks(Vector<IntRect>&) const { } 45 48 }; 46 49
Note: See TracChangeset
for help on using the changeset viewer.