| 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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 | 401 |
| 402 void addLayoutOverflow(const LayoutRect&); | 402 void addLayoutOverflow(const LayoutRect&); |
| 403 void addSelfVisualOverflow(const LayoutRect&); | 403 void addSelfVisualOverflow(const LayoutRect&); |
| 404 void addContentsVisualOverflow(const LayoutRect&); | 404 void addContentsVisualOverflow(const LayoutRect&); |
| 405 | 405 |
| 406 void addVisualEffectOverflow(); | 406 void addVisualEffectOverflow(); |
| 407 LayoutRectOutsets computeVisualEffectOverflowOutsets() const; | 407 LayoutRectOutsets computeVisualEffectOverflowOutsets() const; |
| 408 void addOverflowFromChild(LayoutBox* child) { addOverflowFromChild(child, ch
ild->locationOffset()); } | 408 void addOverflowFromChild(LayoutBox* child) { addOverflowFromChild(child, ch
ild->locationOffset()); } |
| 409 void addOverflowFromChild(LayoutBox* child, const LayoutSize& delta); | 409 void addOverflowFromChild(LayoutBox* child, const LayoutSize& delta); |
| 410 void clearLayoutOverflow(); | 410 void clearLayoutOverflow(); |
| 411 void clearAllOverflows() { m_overflow.clear(); } | 411 void clearAllOverflows() { m_overflow.reset(); } |
| 412 | 412 |
| 413 void updateLayerTransformAfterLayout(); | 413 void updateLayerTransformAfterLayout(); |
| 414 | 414 |
| 415 LayoutUnit contentWidth() const { return clientWidth() - paddingLeft() - pad
dingRight(); } | 415 LayoutUnit contentWidth() const { return clientWidth() - paddingLeft() - pad
dingRight(); } |
| 416 LayoutUnit contentHeight() const { return clientHeight() - paddingTop() - pa
ddingBottom(); } | 416 LayoutUnit contentHeight() const { return clientHeight() - paddingTop() - pa
ddingBottom(); } |
| 417 LayoutSize contentSize() const { return LayoutSize(contentWidth(), contentHe
ight()); } | 417 LayoutSize contentSize() const { return LayoutSize(contentWidth(), contentHe
ight()); } |
| 418 LayoutUnit contentLogicalWidth() const { return style()->isHorizontalWriting
Mode() ? contentWidth() : contentHeight(); } | 418 LayoutUnit contentLogicalWidth() const { return style()->isHorizontalWriting
Mode() ? contentWidth() : contentHeight(); } |
| 419 LayoutUnit contentLogicalHeight() const { return style()->isHorizontalWritin
gMode() ? contentHeight() : contentWidth(); } | 419 LayoutUnit contentLogicalHeight() const { return style()->isHorizontalWritin
gMode() ? contentHeight() : contentWidth(); } |
| 420 | 420 |
| 421 // IE extensions. Used to calculate offsetWidth/Height. Overridden by inlin
es (LayoutFlow) | 421 // IE extensions. Used to calculate offsetWidth/Height. Overridden by inlin
es (LayoutFlow) |
| (...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1213 || breakValue == BreakLeft | 1213 || breakValue == BreakLeft |
| 1214 || breakValue == BreakPage | 1214 || breakValue == BreakPage |
| 1215 || breakValue == BreakRecto | 1215 || breakValue == BreakRecto |
| 1216 || breakValue == BreakRight | 1216 || breakValue == BreakRight |
| 1217 || breakValue == BreakVerso; | 1217 || breakValue == BreakVerso; |
| 1218 } | 1218 } |
| 1219 | 1219 |
| 1220 } // namespace blink | 1220 } // namespace blink |
| 1221 | 1221 |
| 1222 #endif // LayoutBox_h | 1222 #endif // LayoutBox_h |
| OLD | NEW |