Lines Matching full:m_scrollbar
66 m_scrollbar = Scrollbar::create(
87 webrect.x += m_scrollbar->x();
88 webrect.y += m_scrollbar->y();
103 IntPoint offset(parentPoint.x() - m_scrollbar->x(), parentPoint.y() - m_scrollbar->y());
104 return m_scrollbar->Widget::convertFromContainingView(offset);
114 return m_scrollbar->isOverlayScrollbar();
124 return m_scrollbar->frameRect().location();
129 return m_scrollbar->frameRect().size();
134 return m_scrollbar->enabled();
139 return m_scrollbar->maximum();
144 return m_scrollbar->totalSize();
149 return m_scrollbar->isScrollViewScrollbar();
154 return m_scrollbar->isScrollableAreaActive();
164 return static_cast<WebScrollbar::ScrollbarControlSize>(m_scrollbar->controlSize());
169 return static_cast<WebScrollbar::ScrollbarPart>(m_scrollbar->pressedPart());
174 return static_cast<WebScrollbar::ScrollbarPart>(m_scrollbar->hoveredPart());
179 return static_cast<WebScrollbar::ScrollbarOverlayStyle>(m_scrollbar->scrollbarOverlayStyle());
184 if (m_scrollbar->orientation() == HorizontalScrollbar)
196 return m_scrollbar->isCustomScrollbar();
201 IntRect oldRect = m_scrollbar->frameRect();
202 m_scrollbar->setFrameRect(rect);
204 m_scrollbar->invalidate();
206 int length = m_scrollbar->orientation() == HorizontalScrollbar ? m_scrollbar->width() : m_scrollbar->height();
207 m_scrollbar->setEnabled(m_scrollbar->totalSize() > length);
208 m_scrollbar->setProportion(length, m_scrollbar->totalSize());
213 m_group->scrollToOffsetWithoutAnimation(m_scrollbar->orientation(), static_cast<float>(position));
218 int length = m_scrollbar->orientation() == HorizontalScrollbar ? m_scrollbar->width() : m_scrollbar->height();
219 m_scrollbar->setEnabled(size > length);
220 m_scrollbar->setProportion(length, size);
226 bool horizontal = m_scrollbar->orientation() == HorizontalScrollbar;
238 m_scrollbar->paint(&context, rect);
273 return m_scrollbar->isAlphaLocked();
278 return m_scrollbar->setIsAlphaLocked(flag);
284 if (!m_scrollbar->frameRect().contains(mousedown.x, mousedown.y))
287 mousedown.x -= m_scrollbar->x();
288 mousedown.y -= m_scrollbar->y();
289 m_scrollbar->mouseDown(PlatformMouseEventBuilder(m_scrollbar.get(), mousedown));
296 if (m_scrollbar->pressedPart() == blink::NoPart)
299 m_scrollbar->mouseUp(PlatformMouseEventBuilder(m_scrollbar.get(), mouseup));
306 if (m_scrollbar->frameRect().contains(mousemove.x, mousemove.y)
307 || m_scrollbar->pressedPart() != blink::NoPart) {
308 mousemove.x -= m_scrollbar->x();
309 mousemove.y -= m_scrollbar->y();
310 m_scrollbar->mouseMoved(PlatformMouseEventBuilder(m_scrollbar.get(), mousemove));
314 if (m_scrollbar->hoveredPart() != blink::NoPart && !m_scrollbar->isOverlayScrollbar())
315 m_scrollbar->mouseExited();
321 if (m_scrollbar->hoveredPart() != blink::NoPart)
322 m_scrollbar->mouseExited();
330 PlatformWheelEventBuilder platformEvent(m_scrollbar.get(), mousewheel);