void WebScrollbarThemeGeometryNative::splitTrack(WebScrollbar* scrollbar, const WebRect& webTrack, WebRect& webStartTrack, WebRect& webThumb, WebRect& webEndTrack) { IntRect track(webTrack); IntRect startTrack; IntRect thumb; IntRect endTrack; m_theme.splitTrack(WebScrollbarThemeClientImpl(*scrollbar), track, startTrack, thumb, endTrack); webStartTrack = startTrack; webThumb = thumb; webEndTrack = endTrack; }
WebRect WebScrollbarThemeGeometryNative::forwardButtonEndRect( WebScrollbar* scrollbar) { return m_theme.forwardButtonRect(WebScrollbarThemeClientImpl(*scrollbar), ForwardButtonEndPart, false); }
WebRect WebScrollbarThemeGeometryNative::backButtonEndRect( WebScrollbar* scrollbar) { return m_theme.backButtonRect(WebScrollbarThemeClientImpl(*scrollbar), BackButtonEndPart, false); }
WebRect WebScrollbarThemeGeometryNative::thumbRect(WebScrollbar* scrollbar) { return m_theme.thumbRect(WebScrollbarThemeClientImpl(*scrollbar)); }
bool WebScrollbarThemeGeometryNative::hasThumb(WebScrollbar* scrollbar) { return m_theme.hasThumb(WebScrollbarThemeClientImpl(*scrollbar)); }
int WebScrollbarThemeGeometryNative::scrollbarThickness(WebScrollbar* scrollbar) { return m_theme.scrollbarThickness(WebScrollbarThemeClientImpl(*scrollbar).controlSize()); }
int WebScrollbarThemeGeometryNative::minimumThumbLength(WebScrollbar* scrollbar) { return m_theme.minimumThumbLength(WebScrollbarThemeClientImpl(*scrollbar)); }
int WebScrollbarThemeGeometryNative::trackLength(WebScrollbar* scrollbar) { return m_theme.trackLength(WebScrollbarThemeClientImpl(*scrollbar)); }
int WebScrollbarThemeGeometryNative::thumbPosition(WebScrollbar* scrollbar) { return m_theme.thumbPosition(WebScrollbarThemeClientImpl(*scrollbar)); }
WebRect WebScrollbarThemeGeometryNative::constrainTrackRectToTrackPieces(WebScrollbar* scrollbar, const WebRect& rect) { return m_theme.constrainTrackRectToTrackPieces(WebScrollbarThemeClientImpl(*scrollbar), IntRect(rect)); }