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 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const; | 748 LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const; |
749 LayoutUnit availableLogicalHeightUsing(const Length&, AvailableLogicalHeight
Type) const; | 749 LayoutUnit availableLogicalHeightUsing(const Length&, AvailableLogicalHeight
Type) const; |
750 | 750 |
751 // There are a few cases where we need to refer specifically to the availabl
e physical width and available physical height. | 751 // There are a few cases where we need to refer specifically to the availabl
e physical width and available physical height. |
752 // Relative positioning is one of those cases, since left/top offsets are ph
ysical. | 752 // Relative positioning is one of those cases, since left/top offsets are ph
ysical. |
753 LayoutUnit availableWidth() const { return style()->isHorizontalWritingMode(
) ? availableLogicalWidth() : availableLogicalHeight(IncludeMarginBorderPadding)
; } | 753 LayoutUnit availableWidth() const { return style()->isHorizontalWritingMode(
) ? availableLogicalWidth() : availableLogicalHeight(IncludeMarginBorderPadding)
; } |
754 LayoutUnit availableHeight() const { return style()->isHorizontalWritingMode
() ? availableLogicalHeight(IncludeMarginBorderPadding) : availableLogicalWidth(
); } | 754 LayoutUnit availableHeight() const { return style()->isHorizontalWritingMode
() ? availableLogicalHeight(IncludeMarginBorderPadding) : availableLogicalWidth(
); } |
755 | 755 |
756 int verticalScrollbarWidth() const; | 756 int verticalScrollbarWidth() const; |
757 int horizontalScrollbarHeight() const; | 757 int horizontalScrollbarHeight() const; |
758 int intrinsicScrollbarLogicalWidth() const; | |
759 int scrollbarLogicalWidth() const { return style()->isHorizontalWritingMode(
) ? verticalScrollbarWidth() : horizontalScrollbarHeight(); } | 758 int scrollbarLogicalWidth() const { return style()->isHorizontalWritingMode(
) ? verticalScrollbarWidth() : horizontalScrollbarHeight(); } |
760 int scrollbarLogicalHeight() const { return style()->isHorizontalWritingMode
() ? horizontalScrollbarHeight() : verticalScrollbarWidth(); } | 759 int scrollbarLogicalHeight() const { return style()->isHorizontalWritingMode
() ? horizontalScrollbarHeight() : verticalScrollbarWidth(); } |
761 virtual ScrollResult scroll(ScrollGranularity, const FloatSize&); | 760 virtual ScrollResult scroll(ScrollGranularity, const FloatSize&); |
762 bool canBeScrolledAndHasScrollableArea() const; | 761 bool canBeScrolledAndHasScrollableArea() const; |
763 virtual bool canBeProgramaticallyScrolled() const; | 762 virtual bool canBeProgramaticallyScrolled() const; |
764 virtual void autoscroll(const IntPoint&); | 763 virtual void autoscroll(const IntPoint&); |
765 bool canAutoscroll() const; | 764 bool canAutoscroll() const; |
766 IntSize calculateAutoscrollDirection(const IntPoint& pointInRootFrame) const
; | 765 IntSize calculateAutoscrollDirection(const IntPoint& pointInRootFrame) const
; |
767 static LayoutBox* findAutoscrollable(LayoutObject*); | 766 static LayoutBox* findAutoscrollable(LayoutObject*); |
768 virtual void stopAutoscroll() { } | 767 virtual void stopAutoscroll() { } |
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1212 || breakValue == BreakLeft | 1211 || breakValue == BreakLeft |
1213 || breakValue == BreakPage | 1212 || breakValue == BreakPage |
1214 || breakValue == BreakRecto | 1213 || breakValue == BreakRecto |
1215 || breakValue == BreakRight | 1214 || breakValue == BreakRight |
1216 || breakValue == BreakVerso; | 1215 || breakValue == BreakVerso; |
1217 } | 1216 } |
1218 | 1217 |
1219 } // namespace blink | 1218 } // namespace blink |
1220 | 1219 |
1221 #endif // LayoutBox_h | 1220 #endif // LayoutBox_h |
OLD | NEW |