Searched refs:scrollOffset (Results 1 - 25 of 50) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DElementRareData.cpp44 IntSize scrollOffset; member in struct:WebCore::SameSizeAsElementRareData
/external/chromium_org/third_party/WebKit/Source/core/platform/
H A DScrollView.cpp140 updateScrollbars(scrollOffset());
227 updateScrollbars(scrollOffset());
242 updateScrollbars(scrollOffset());
256 updateScrollbars(scrollOffset());
356 updateScrollbars(scrollOffset());
605 return viewPoint + scrollOffset();
610 IntPoint viewPoint = contentsPoint - scrollOffset();
617 viewRect.move(scrollOffset());
624 viewRect.move(-scrollOffset());
631 return viewPoint + scrollOffset();
[all...]
H A DScrollView.h151 IntSize scrollOffset() const { return toIntSize(visibleContentRect().location()); } // Gets the scrolled position as an IntSize. Convenient for adding to other sizes. function in class:WebCore::ScrollView
224 newPoint = point - scrollOffset();
233 newPoint = point + scrollOffset();
/external/chromium_org/third_party/WebKit/Source/web/
H A DScrollbarGroup.cpp105 if (m_horizontalScrollbar && m_horizontalScrollbar->scrollOffset() != offset.x())
107 else if (m_verticalScrollbar && m_verticalScrollbar->scrollOffset() != offset.y())
177 int x = m_horizontalScrollbar ? m_horizontalScrollbar->scrollOffset() : 0;
178 int y = m_verticalScrollbar ? m_verticalScrollbar->scrollOffset() : 0;
H A DWebPluginScrollbarImpl.h57 int scrollOffset() { return m_scrollOffset; } function in class:WebKit::WebPluginScrollbarImpl
H A DWebHistoryItem.cpp181 WebPoint WebHistoryItem::scrollOffset() const function in class:WebKit::WebHistoryItem
186 void WebHistoryItem::setScrollOffset(const WebPoint& scrollOffset) argument
189 m_private->setScrollPoint(scrollOffset);
H A DFullscreenController.cpp81 m_exitFullscreenScrollOffset = m_webViewImpl->mainFrame()->scrollOffset();
H A DWebPluginScrollbarImpl.cpp81 void WebPluginScrollbarImpl::setScrollOffset(int scrollOffset) argument
83 m_scrollOffset = scrollOffset;
H A DWebViewImpl.cpp1111 IntSize scrollOffset; local
1113 scrollOffset = mainFrame()->scrollOffset();
1117 const int absoluteSourceX = source.x + scrollOffset.width();
1133 ASSERT(scrollOffset.width() + newX + newWidth <= maxSize.width);
2740 textboxRectInDocumentCoordinates.move(mainFrame()->scrollOffset());
2742 caretInDocumentCoordinates.move(mainFrame()->scrollOffset());
2914 IntPoint scrollOffset(mainFrame()->scrollOffset().width, mainFrame()->scrollOffset()
4065 WebSize scrollOffset = mainFrame()->scrollOffset(); local
[all...]
/external/chromium_org/chrome/browser/resources/uber/
H A Duber.js324 * @param {number} scrollOffset The scroll offset from the content frame.
326 function adjustToScroll(scrollOffset) {
330 if (scrollOffset != 0)
336 scrollOffset);
337 var navWidth = Math.max(0, +navFrame.dataset.width + scrollOffset);
340 navFrame.style.webkitTransform = 'translateX(' + -scrollOffset + 'px)';
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DSpectrum.js123 var scrollOffset;
135 var dragX = Math.max(0, Math.min(e.pageX - offset.left + scrollOffset.left, maxWidth));
136 var dragY = Math.max(0, Math.min(e.pageY - offset.top + scrollOffset.top, maxHeight));
156 scrollOffset = element.scrollOffset();
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DGraphicsLayerTest.cpp139 virtual void setScrollOffset(const IntPoint& scrollOffset) OVERRIDE { m_scrollPosition = scrollOffset; }
H A DWebViewTest.cpp771 EXPECT_EQ(0, webViewImpl->mainFrame()->scrollOffset().width);
772 EXPECT_EQ(0, webViewImpl->mainFrame()->scrollOffset().height);
777 EXPECT_EQ(116, webViewImpl->mainFrame()->scrollOffset().width);
778 EXPECT_EQ(84, webViewImpl->mainFrame()->scrollOffset().height);
784 EXPECT_EQ(16, webViewImpl->mainFrame()->scrollOffset().width);
785 EXPECT_EQ(24, webViewImpl->mainFrame()->scrollOffset().height);
792 EXPECT_EQ(116, webViewImpl->mainFrame()->scrollOffset().width);
793 EXPECT_EQ(84, webViewImpl->mainFrame()->scrollOffset().height);
801 EXPECT_EQ(0, webViewImpl->mainFrame()->scrollOffset().width);
802 EXPECT_EQ(0, webViewImpl->mainFrame()->scrollOffset()
[all...]
H A DProgrammaticScrollTest.cpp189 EXPECT_EQ(200, webViewImpl->mainFrameImpl()->scrollOffset().height);
223 EXPECT_EQ(400, webViewImpl->mainFrameImpl()->scrollOffset().height);
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLDialogElement.cpp98 int scrollTop = frameView->scrollOffset().height();
H A DTextFieldInputType.cpp184 IntSize scrollOffset(!renderTextControl->style()->isLeftToRightDirection() ? innerLayer->scrollWidth() : 0, 0);
185 innerLayer->scrollToOffset(scrollOffset, RenderLayer::ScrollOffsetClamped);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderGeometryMap.h112 void pushView(const RenderView*, const LayoutSize& scrollOffset, const TransformationMatrix* = 0);
H A DRenderPart.cpp121 LayoutPoint contentOffset = LayoutPoint(borderLeft() + paddingLeft(), borderTop() + paddingTop()) - childFrameView->scrollOffset();
H A DRenderGeometryMap.cpp235 void RenderGeometryMap::pushView(const RenderView* view, const LayoutSize& scrollOffset, const TransformationMatrix* t) argument
243 step.m_offset = scrollOffset;
H A DRenderView.cpp320 transformState.move(-frame()->view()->scrollOffset());
339 LayoutSize scrollOffset; local
342 scrollOffset = m_frameView->scrollOffsetForFixedPosition();
347 geometryMap.pushView(this, scrollOffset, &t);
349 geometryMap.pushView(this, scrollOffset);
/external/chromium_org/third_party/WebKit/Source/core/platform/mac/
H A DScrollbarThemeMac.mm215 IntSize scrollOffset = view->scrollOffset();
225 if (scrollOffset.height() < 0) {
243 if (scrollOffset.width() < 0) {
257 if (scrollOffset.height() < 0) {
273 if (scrollOffset.width() < 0) {
/external/chromium_org/third_party/WebKit/public/web/
H A DWebHistoryItem.h93 WEBKIT_EXPORT WebPoint scrollOffset() const;
/external/chromium/webkit/glue/
H A Dglue_serialize_unittest.cc92 EXPECT_EQ(a.scrollOffset(), b.scrollOffset());
H A Dglue_serialize.cc311 WriteInteger(item.scrollOffset().x, obj);
312 WriteInteger(item.scrollOffset().y, obj);
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGSVGElement.cpp458 LayoutSize scrollOffset = view->scrollOffset(); local
459 scrollOffset.scale(zoomFactor);
460 transform.translate(-scrollOffset.width(), -scrollOffset.height());

Completed in 327 milliseconds

12