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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 // right-to-left (e.g. direction:rtl) or or bottom-to-top (e.g. direction:rtl | 473 // right-to-left (e.g. direction:rtl) or or bottom-to-top (e.g. direction:rtl |
474 // writing-mode:vertical-rl). | 474 // writing-mode:vertical-rl). |
475 virtual bool hasTopOverflow() const; | 475 virtual bool hasTopOverflow() const; |
476 virtual bool hasLeftOverflow() const; | 476 virtual bool hasLeftOverflow() const; |
477 | 477 |
478 void addLayoutOverflow(const LayoutRect&); | 478 void addLayoutOverflow(const LayoutRect&); |
479 void addSelfVisualOverflow(const LayoutRect&); | 479 void addSelfVisualOverflow(const LayoutRect&); |
480 void addContentsVisualOverflow(const LayoutRect&); | 480 void addContentsVisualOverflow(const LayoutRect&); |
481 | 481 |
482 void addVisualEffectOverflow(); | 482 void addVisualEffectOverflow(); |
483 LayoutRectOutsets computeVisualEffectOverflowOutsets() const; | 483 LayoutRectOutsets computeVisualEffectOverflowOutsets(); |
484 void addOverflowFromChild(LayoutBox* child) { | 484 void addOverflowFromChild(LayoutBox* child) { |
485 addOverflowFromChild(child, child->locationOffset()); | 485 addOverflowFromChild(child, child->locationOffset()); |
486 } | 486 } |
487 void addOverflowFromChild(LayoutBox* child, const LayoutSize& delta); | 487 void addOverflowFromChild(LayoutBox* child, const LayoutSize& delta); |
488 void clearLayoutOverflow(); | 488 void clearLayoutOverflow(); |
489 void clearAllOverflows() { m_overflow.reset(); } | 489 void clearAllOverflows() { m_overflow.reset(); } |
490 | 490 |
491 void updateLayerTransformAfterLayout(); | 491 void updateLayerTransformAfterLayout(); |
492 | 492 |
493 DISABLE_CFI_PERF LayoutUnit contentWidth() const { | 493 DISABLE_CFI_PERF LayoutUnit contentWidth() const { |
(...skipping 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1632 | 1632 |
1633 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { | 1633 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { |
1634 return breakValue == BreakColumn || breakValue == BreakLeft || | 1634 return breakValue == BreakColumn || breakValue == BreakLeft || |
1635 breakValue == BreakPage || breakValue == BreakRecto || | 1635 breakValue == BreakPage || breakValue == BreakRecto || |
1636 breakValue == BreakRight || breakValue == BreakVerso; | 1636 breakValue == BreakRight || breakValue == BreakVerso; |
1637 } | 1637 } |
1638 | 1638 |
1639 } // namespace blink | 1639 } // namespace blink |
1640 | 1640 |
1641 #endif // LayoutBox_h | 1641 #endif // LayoutBox_h |
OLD | NEW |