/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
ScrollBehavior.h | 61 struct ScrollAlignment { 62 static ScrollBehavior getVisibleBehavior(const ScrollAlignment& s) { return s.m_rectVisible; } 63 static ScrollBehavior getPartialBehavior(const ScrollAlignment& s) { return s.m_rectPartial; } 64 static ScrollBehavior getHiddenBehavior(const ScrollAlignment& s) { return s.m_rectHidden; } 67 static LayoutRect getRectToExpose(const LayoutRect& visibleRect, const LayoutRect& exposeRect, const ScrollAlignment& alignX, const ScrollAlignment& alignY); 69 static const ScrollAlignment alignCenterIfNeeded; 70 static const ScrollAlignment alignToEdgeIfNeeded; 71 static const ScrollAlignment alignCenterAlways; 72 static const ScrollAlignment alignTopAlways [all...] |
ScrollBehavior.cpp | 51 const ScrollAlignment ScrollAlignment::alignCenterIfNeeded = { noScroll, alignCenter, alignToClosestEdge }; 52 const ScrollAlignment ScrollAlignment::alignToEdgeIfNeeded = { noScroll, alignToClosestEdge, alignToClosestEdge }; 53 const ScrollAlignment ScrollAlignment::alignCenterAlways = { alignCenter, alignCenter, alignCenter }; 54 const ScrollAlignment ScrollAlignment::alignTopAlways = { alignTop, alignTop, alignTop }; 55 const ScrollAlignment ScrollAlignment::alignBottomAlways = { alignBottom, alignBottom, alignBottom } [all...] |
RenderLayerScrollableArea.h | 168 LayoutRect exposeRect(const LayoutRect&, const ScrollAlignment& alignX, const ScrollAlignment& alignY);
|
RenderObject.h | 199 bool scrollRectToVisible(const LayoutRect&, const ScrollAlignment& alignX = ScrollAlignment::alignCenterIfNeeded, const ScrollAlignment& alignY = ScrollAlignment::alignCenterIfNeeded); [all...] |
RenderLayerScrollableArea.cpp | [all...] |
RenderBox.h | 257 void scrollRectToVisible(const LayoutRect&, const ScrollAlignment& alignX, const ScrollAlignment& alignY); [all...] |
RenderBox.cpp | 528 void RenderBox::scrollRectToVisible(const LayoutRect& rect, const ScrollAlignment& alignX, const ScrollAlignment& alignY) 555 LayoutRect exposeRect = ScrollAlignment::getRectToExpose(viewRect, rect, alignX, alignY); 576 LayoutRect r = ScrollAlignment::getRectToExpose(viewRect, rect, alignX, alignY); 839 scrollRectToVisible(LayoutRect(currentDocumentPosition, LayoutSize(1, 1)), ScrollAlignment::alignToEdgeIfNeeded, ScrollAlignment::alignToEdgeIfNeeded); [all...] |
RenderObject.cpp | 556 bool RenderObject::scrollRectToVisible(const LayoutRect& rect, const ScrollAlignment& alignX, const ScrollAlignment& alignY) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
Editor.h | 274 void revealSelectionAfterEditingOperation(const ScrollAlignment& = ScrollAlignment::alignCenterIfNeeded, RevealExtentOption = DoNotRevealExtent);
|
FrameSelection.h | 203 void revealSelection(const ScrollAlignment& = ScrollAlignment::alignCenterIfNeeded, RevealExtentOption = DoNotRevealExtent);
|
Editor.cpp | 106 m_editor->m_frame.selection().revealSelection(ScrollAlignment::alignToEdgeIfNeeded, RevealExtent); 888 page->focusController().focusedOrMainFrame()->selection().revealSelection(ScrollAlignment::alignCenterIfNeeded); 905 revealSelectionAfterEditingOperation(alignToEdge ? ScrollAlignment::alignToEdgeIfNeeded : ScrollAlignment::alignCenterIfNeeded); 922 revealSelectionAfterEditingOperation(alignToEdge ? ScrollAlignment::alignToEdgeIfNeeded : ScrollAlignment::alignCenterIfNeeded); [all...] |
FrameSelection.cpp | 287 ScrollAlignment alignment; 290 alignment = (align == AlignCursorOnScrollAlways) ? ScrollAlignment::alignCenterAlways : ScrollAlignment::alignCenterIfNeeded; 292 alignment = (align == AlignCursorOnScrollAlways) ? ScrollAlignment::alignTopAlways : ScrollAlignment::alignToEdgeIfNeeded; [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Element.cpp | 479 renderer()->scrollRectToVisible(bounds, ScrollAlignment::alignToEdgeIfNeeded, ScrollAlignment::alignTopAlways); 481 renderer()->scrollRectToVisible(bounds, ScrollAlignment::alignToEdgeIfNeeded, ScrollAlignment::alignBottomAlways); 493 renderer()->scrollRectToVisible(bounds, ScrollAlignment::alignCenterIfNeeded, ScrollAlignment::alignCenterIfNeeded); 495 renderer()->scrollRectToVisible(bounds, ScrollAlignment::alignToEdgeIfNeeded, ScrollAlignment::alignToEdgeIfNeeded); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
FrameView.cpp | [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
WebFrameImpl.cpp | [all...] |