Lines Matching refs:ScrollView
27 #import "ScrollView.h"
45 inline NSScrollView<WebCoreFrameScrollView> *ScrollView::scrollView() const
52 NSView *ScrollView::documentView() const
55 return [scrollView() documentView];
60 void ScrollView::platformAddChild(Widget* child)
77 void ScrollView::platformRemoveChild(Widget* child)
82 void ScrollView::platformSetScrollbarModes()
85 [scrollView() setScrollingModes:m_horizontalScrollbarMode vertical:m_verticalScrollbarMode andLock:NO];
89 void ScrollView::platformScrollbarModes(ScrollbarMode& horizontal, ScrollbarMode& vertical) const
92 [scrollView() scrollingModes:&horizontal vertical:&vertical];
96 void ScrollView::platformSetCanBlitOnScroll(bool canBlitOnScroll)
99 [[scrollView() contentView] setCopiesOnScroll:canBlitOnScroll];
103 bool ScrollView::platformCanBlitOnScroll() const
105 return [[scrollView() contentView] copiesOnScroll];
108 IntRect ScrollView::platformVisibleContentRect(bool includeScrollbars) const
111 IntRect result = enclosingIntRect([scrollView() documentVisibleRect]);
113 result.setSize(IntSize([scrollView() frame].size));
119 IntSize ScrollView::platformContentsSize() const
128 void ScrollView::platformSetContentsSize()
139 void ScrollView::platformSetScrollbarsSuppressed(bool repaintOnUnsuppress)
142 [scrollView() setScrollBarsSuppressed:m_scrollbarsSuppressed
147 void ScrollView::platformSetScrollPosition(const IntPoint& scrollPoint)
151 NSPoint tempPoint = { max(-[scrollView() scrollOrigin].x, floatPoint.x), max(-[scrollView() scrollOrigin].y, floatPoint.y) }; // Don't use NSMakePoint to work around 4213314.
156 bool ScrollView::platformScroll(ScrollDirection, ScrollGranularity)
163 void ScrollView::platformRepaintContentRectangle(const IntRect& rect, bool now)
177 IntRect ScrollView::platformContentsToScreen(const IntRect& rect) const
190 IntPoint ScrollView::platformScreenToContents(const IntPoint& point) const
201 bool ScrollView::platformIsOffscreen() const
206 void ScrollView::platformSetScrollOrigin(const IntPoint& origin, bool updatePositionAtAll, bool updatePositionSynchronously)
209 [scrollView() setScrollOrigin:origin updatePositionAtAll:updatePositionAtAll immediately:updatePositionSynchronously];