| 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 1298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1309 void willBeDestroyed() override; | 1309 void willBeDestroyed() override; |
| 1310 | 1310 |
| 1311 void insertedIntoTree() override; | 1311 void insertedIntoTree() override; |
| 1312 void willBeRemovedFromTree() override; | 1312 void willBeRemovedFromTree() override; |
| 1313 | 1313 |
| 1314 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) override; | 1314 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) override; |
| 1315 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; | 1315 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; |
| 1316 void updateFromStyle() override; | 1316 void updateFromStyle() override; |
| 1317 | 1317 |
| 1318 virtual ItemPosition selfAlignmentNormalBehavior() const { | 1318 virtual ItemPosition selfAlignmentNormalBehavior() const { |
| 1319 return ItemPositionStretch; | 1319 return ItemPositionStart; |
| 1320 } | 1320 } |
| 1321 | 1321 |
| 1322 // Returns false if it could not cheaply compute the extent (e.g. fixed | 1322 // Returns false if it could not cheaply compute the extent (e.g. fixed |
| 1323 // background), in which case the returned rect may be incorrect. | 1323 // background), in which case the returned rect may be incorrect. |
| 1324 // FIXME: make this a const method once the LayoutBox reference in BoxPainter | 1324 // FIXME: make this a const method once the LayoutBox reference in BoxPainter |
| 1325 // is const. | 1325 // is const. |
| 1326 bool getBackgroundPaintedExtent(LayoutRect&) const; | 1326 bool getBackgroundPaintedExtent(LayoutRect&) const; |
| 1327 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, | 1327 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, |
| 1328 unsigned maxDepthToTest) const; | 1328 unsigned maxDepthToTest) const; |
| 1329 bool computeBackgroundIsKnownToBeObscured() const override; | 1329 bool computeBackgroundIsKnownToBeObscured() const override; |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1622 | 1622 |
| 1623 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { | 1623 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { |
| 1624 return breakValue == BreakColumn || breakValue == BreakLeft || | 1624 return breakValue == BreakColumn || breakValue == BreakLeft || |
| 1625 breakValue == BreakPage || breakValue == BreakRecto || | 1625 breakValue == BreakPage || breakValue == BreakRecto || |
| 1626 breakValue == BreakRight || breakValue == BreakVerso; | 1626 breakValue == BreakRight || breakValue == BreakVerso; |
| 1627 } | 1627 } |
| 1628 | 1628 |
| 1629 } // namespace blink | 1629 } // namespace blink |
| 1630 | 1630 |
| 1631 #endif // LayoutBox_h | 1631 #endif // LayoutBox_h |
| OLD | NEW |