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 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1374 | 1374 |
1375 void willBeDestroyed() override; | 1375 void willBeDestroyed() override; |
1376 | 1376 |
1377 void insertedIntoTree() override; | 1377 void insertedIntoTree() override; |
1378 void willBeRemovedFromTree() override; | 1378 void willBeRemovedFromTree() override; |
1379 | 1379 |
1380 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) override; | 1380 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) override; |
1381 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; | 1381 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; |
1382 void updateFromStyle() override; | 1382 void updateFromStyle() override; |
1383 | 1383 |
1384 virtual ItemPosition selfAlignmentNormalBehavior() const { | 1384 virtual ItemPosition selfAlignmentNormalBehavior( |
| 1385 const LayoutBox* child = nullptr) const { |
| 1386 DCHECK(!child); |
1385 return ItemPositionStretch; | 1387 return ItemPositionStretch; |
1386 } | 1388 } |
1387 | 1389 |
1388 // Returns false if it could not cheaply compute the extent (e.g. fixed | 1390 // Returns false if it could not cheaply compute the extent (e.g. fixed |
1389 // background), in which case the returned rect may be incorrect. | 1391 // background), in which case the returned rect may be incorrect. |
1390 // FIXME: make this a const method once the LayoutBox reference in BoxPainter | 1392 // FIXME: make this a const method once the LayoutBox reference in BoxPainter |
1391 // is const. | 1393 // is const. |
1392 bool getBackgroundPaintedExtent(LayoutRect&) const; | 1394 bool getBackgroundPaintedExtent(LayoutRect&) const; |
1393 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, | 1395 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, |
1394 unsigned maxDepthToTest) const; | 1396 unsigned maxDepthToTest) const; |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1696 breakValue == EBreakBetween::kLeft || | 1698 breakValue == EBreakBetween::kLeft || |
1697 breakValue == EBreakBetween::kPage || | 1699 breakValue == EBreakBetween::kPage || |
1698 breakValue == EBreakBetween::kRecto || | 1700 breakValue == EBreakBetween::kRecto || |
1699 breakValue == EBreakBetween::kRight || | 1701 breakValue == EBreakBetween::kRight || |
1700 breakValue == EBreakBetween::kVerso; | 1702 breakValue == EBreakBetween::kVerso; |
1701 } | 1703 } |
1702 | 1704 |
1703 } // namespace blink | 1705 } // namespace blink |
1704 | 1706 |
1705 #endif // LayoutBox_h | 1707 #endif // LayoutBox_h |
OLD | NEW |