| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 bool autoscrollInProgress() const; | 457 bool autoscrollInProgress() const; |
| 458 bool canAutoscroll() const; | 458 bool canAutoscroll() const; |
| 459 IntSize calculateAutoscrollDirection(const IntPoint& windowPoint) const; | 459 IntSize calculateAutoscrollDirection(const IntPoint& windowPoint) const; |
| 460 static RenderBox* findAutoscrollable(RenderObject*); | 460 static RenderBox* findAutoscrollable(RenderObject*); |
| 461 virtual void stopAutoscroll() { } | 461 virtual void stopAutoscroll() { } |
| 462 virtual void panScroll(const IntPoint&); | 462 virtual void panScroll(const IntPoint&); |
| 463 | 463 |
| 464 bool hasAutoVerticalScrollbar() const { return hasOverflowClip() && (style()
->overflowY() == OAUTO || style()->overflowY() == OOVERLAY); } | 464 bool hasAutoVerticalScrollbar() const { return hasOverflowClip() && (style()
->overflowY() == OAUTO || style()->overflowY() == OOVERLAY); } |
| 465 bool hasAutoHorizontalScrollbar() const { return hasOverflowClip() && (style
()->overflowX() == OAUTO || style()->overflowX() == OOVERLAY); } | 465 bool hasAutoHorizontalScrollbar() const { return hasOverflowClip() && (style
()->overflowX() == OAUTO || style()->overflowX() == OOVERLAY); } |
| 466 bool scrollsOverflow() const { return scrollsOverflowX() || scrollsOverflowY
(); } | 466 bool scrollsOverflow() const { return scrollsOverflowX() || scrollsOverflowY
(); } |
| 467 bool scrollsOverflowX() const { return hasOverflowClip() && (style()->overfl
owX() == OSCROLL || hasAutoHorizontalScrollbar()); } | 467 virtual bool scrollsOverflowX() const { return hasOverflowClip() && (style()
->overflowX() == OSCROLL || hasAutoHorizontalScrollbar()); } |
| 468 bool scrollsOverflowY() const { return hasOverflowClip() && (style()->overfl
owY() == OSCROLL || hasAutoVerticalScrollbar()); } | 468 virtual bool scrollsOverflowY() const { return hasOverflowClip() && (style()
->overflowY() == OSCROLL || hasAutoVerticalScrollbar()); } |
| 469 bool usesCompositedScrolling() const; | 469 bool usesCompositedScrolling() const; |
| 470 | 470 |
| 471 bool hasUnsplittableScrollingOverflow() const; | 471 bool hasUnsplittableScrollingOverflow() const; |
| 472 bool isUnsplittableForPagination() const; | 472 bool isUnsplittableForPagination() const; |
| 473 | 473 |
| 474 virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* e
xtraWidthToEndOfLine = 0); | 474 virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* e
xtraWidthToEndOfLine = 0); |
| 475 | 475 |
| 476 virtual LayoutRect overflowClipRect(const LayoutPoint& location, RenderRegio
n*, OverlayScrollbarSizeRelevancy = IgnoreOverlayScrollbarSize); | 476 virtual LayoutRect overflowClipRect(const LayoutPoint& location, RenderRegio
n*, OverlayScrollbarSizeRelevancy = IgnoreOverlayScrollbarSize); |
| 477 LayoutRect clipRect(const LayoutPoint& location, RenderRegion*); | 477 LayoutRect clipRect(const LayoutPoint& location, RenderRegion*); |
| 478 virtual bool hasControlClip() const { return false; } | 478 virtual bool hasControlClip() const { return false; } |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 750 if (UNLIKELY(m_inlineBoxWrapper != 0)) | 750 if (UNLIKELY(m_inlineBoxWrapper != 0)) |
| 751 deleteLineBoxWrapper(); | 751 deleteLineBoxWrapper(); |
| 752 } | 752 } |
| 753 | 753 |
| 754 m_inlineBoxWrapper = boxWrapper; | 754 m_inlineBoxWrapper = boxWrapper; |
| 755 } | 755 } |
| 756 | 756 |
| 757 } // namespace WebCore | 757 } // namespace WebCore |
| 758 | 758 |
| 759 #endif // RenderBox_h | 759 #endif // RenderBox_h |
| OLD | NEW |