Chromium Code Reviews| 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 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 796 }; | 796 }; |
| 797 PaginationBreakability getPaginationBreakability() const; | 797 PaginationBreakability getPaginationBreakability() const; |
| 798 | 798 |
| 799 LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidt hToEndOfLine = nullptr) override; | 799 LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidt hToEndOfLine = nullptr) override; |
| 800 | 800 |
| 801 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro llbarClipBehavior = IgnoreOverlayScrollbarSize) const; | 801 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro llbarClipBehavior = IgnoreOverlayScrollbarSize) const; |
| 802 LayoutRect clipRect(const LayoutPoint& location) const; | 802 LayoutRect clipRect(const LayoutPoint& location) const; |
| 803 virtual bool hasControlClip() const { return false; } | 803 virtual bool hasControlClip() const { return false; } |
| 804 virtual LayoutRect controlClipRect(const LayoutPoint&) const { return Layout Rect(); } | 804 virtual LayoutRect controlClipRect(const LayoutPoint&) const { return Layout Rect(); } |
| 805 | 805 |
| 806 // Returns the combination of overflow clip, contain: paint clip and CSS cli p for this object, in local space. | |
|
Xianzhu
2016/08/12 17:07:57
What about control clip?
chrishtr
2016/08/12 17:56:24
Control clip on only affects LayoutButton, LayoutM
Xianzhu
2016/08/12 18:45:46
SGTM.
| |
| 807 LayoutRect clippingRect() const; | |
| 808 | |
| 806 virtual void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoin t&) const; | 809 virtual void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoin t&) const; |
| 807 virtual void paintMask(const PaintInfo&, const LayoutPoint&) const; | 810 virtual void paintMask(const PaintInfo&, const LayoutPoint&) const; |
| 808 void imageChanged(WrappedImagePtr, const IntRect* = nullptr) override; | 811 void imageChanged(WrappedImagePtr, const IntRect* = nullptr) override; |
| 809 ResourcePriority computeResourcePriority() const final; | 812 ResourcePriority computeResourcePriority() const final; |
| 810 | 813 |
| 811 void logicalExtentAfterUpdatingLogicalWidth(const LayoutUnit& logicalTop, Lo gicalExtentComputedValues&); | 814 void logicalExtentAfterUpdatingLogicalWidth(const LayoutUnit& logicalTop, Lo gicalExtentComputedValues&); |
| 812 | 815 |
| 813 PositionWithAffinity positionForPoint(const LayoutPoint&) override; | 816 PositionWithAffinity positionForPoint(const LayoutPoint&) override; |
| 814 | 817 |
| 815 void removeFloatingOrPositionedChildFromBlockLists(); | 818 void removeFloatingOrPositionedChildFromBlockLists(); |
| (...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1233 || breakValue == BreakLeft | 1236 || breakValue == BreakLeft |
| 1234 || breakValue == BreakPage | 1237 || breakValue == BreakPage |
| 1235 || breakValue == BreakRecto | 1238 || breakValue == BreakRecto |
| 1236 || breakValue == BreakRight | 1239 || breakValue == BreakRight |
| 1237 || breakValue == BreakVerso; | 1240 || breakValue == BreakVerso; |
| 1238 } | 1241 } |
| 1239 | 1242 |
| 1240 } // namespace blink | 1243 } // namespace blink |
| 1241 | 1244 |
| 1242 #endif // LayoutBox_h | 1245 #endif // LayoutBox_h |
| OLD | NEW |