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 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
834 LayoutRect visualOverflowRectForPropagation(const ComputedStyle&) const; | 834 LayoutRect visualOverflowRectForPropagation(const ComputedStyle&) const; |
835 LayoutRect logicalLayoutOverflowRectForPropagation(const ComputedStyle&) con st; | 835 LayoutRect logicalLayoutOverflowRectForPropagation(const ComputedStyle&) con st; |
836 LayoutRect layoutOverflowRectForPropagation(const ComputedStyle&) const; | 836 LayoutRect layoutOverflowRectForPropagation(const ComputedStyle&) const; |
837 | 837 |
838 bool hasOverflowModel() const { return m_overflow; } | 838 bool hasOverflowModel() const { return m_overflow; } |
839 bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().conta ins(m_overflow->visualOverflowRect()); } | 839 bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().conta ins(m_overflow->visualOverflowRect()); } |
840 | 840 |
841 virtual bool needsPreferredWidthsRecalculation() const; | 841 virtual bool needsPreferredWidthsRecalculation() const; |
842 | 842 |
843 IntSize scrolledContentOffset() const; | 843 IntSize scrolledContentOffset() const; |
844 void mapScrollingContentsRectToBoxSpace(LayoutRect&) const; | 844 |
845 // See LayoutObject::mapToVisibleRectInAncestorSpace() for the meaning of re turn value. | |
846 bool mapContentsRectToVisibleRectInBorderBoxSpace(LayoutRect&, VisibleRectFl ags) const; | |
chrishtr
2016/03/28 20:38:59
This is not a visual rect right? Because it doesn'
Xianzhu
2016/03/28 21:12:08
Right. I'm going to modify mapToVisibleRectInAnces
| |
845 | 847 |
846 // Returns true if the rect actually intersects the clipping region. | 848 // Returns true if the rect actually intersects the clipping region. |
847 // If edgeInclusive is true, then this method may return true even | 849 // If edgeInclusive is true, then this method may return true even |
848 // if the resulting rect has zero area. | 850 // if the resulting rect has zero area. |
849 bool applyOverflowClip(LayoutRect&, VisibleRectFlags = DefaultVisibleRectFla gs) const; | 851 bool applyOverflowClip(LayoutRect&, VisibleRectFlags = DefaultVisibleRectFla gs) const; |
850 | 852 |
851 virtual bool hasRelativeLogicalWidth() const; | 853 virtual bool hasRelativeLogicalWidth() const; |
852 virtual bool hasRelativeLogicalHeight() const; | 854 virtual bool hasRelativeLogicalHeight() const; |
853 | 855 |
854 bool hasHorizontalLayoutOverflow() const | 856 bool hasHorizontalLayoutOverflow() const |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1146 || breakValue == BreakLeft | 1148 || breakValue == BreakLeft |
1147 || breakValue == BreakPage | 1149 || breakValue == BreakPage |
1148 || breakValue == BreakRecto | 1150 || breakValue == BreakRecto |
1149 || breakValue == BreakRight | 1151 || breakValue == BreakRight |
1150 || breakValue == BreakVerso; | 1152 || breakValue == BreakVerso; |
1151 } | 1153 } |
1152 | 1154 |
1153 } // namespace blink | 1155 } // namespace blink |
1154 | 1156 |
1155 #endif // LayoutBox_h | 1157 #endif // LayoutBox_h |
OLD | NEW |