| 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 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1080 } | 1080 } |
| 1081 | 1081 |
| 1082 bool needToSavePreviousBoxSizes(); | 1082 bool needToSavePreviousBoxSizes(); |
| 1083 void savePreviousBoxSizesIfNeeded(); | 1083 void savePreviousBoxSizesIfNeeded(); |
| 1084 LayoutSize computePreviousBorderBoxSize(const LayoutSize& previousBoundsSize
) const; | 1084 LayoutSize computePreviousBorderBoxSize(const LayoutSize& previousBoundsSize
) const; |
| 1085 | 1085 |
| 1086 bool logicalHeightComputesAsNone(SizeType) const; | 1086 bool logicalHeightComputesAsNone(SizeType) const; |
| 1087 | 1087 |
| 1088 bool isBox() const = delete; // This will catch anyone doing an unnecessary
check. | 1088 bool isBox() const = delete; // This will catch anyone doing an unnecessary
check. |
| 1089 | 1089 |
| 1090 void frameRectChanged() | 1090 void frameRectChanged(); |
| 1091 { | |
| 1092 // The frame rect may change because of layout of other objects. | |
| 1093 // Should check this object for paint invalidation. | |
| 1094 if (!needsLayout()) | |
| 1095 setMayNeedPaintInvalidation(); | |
| 1096 } | |
| 1097 | 1091 |
| 1098 // Returns true if the box intersects the viewport visible to the user. | 1092 // Returns true if the box intersects the viewport visible to the user. |
| 1099 bool intersectsVisibleViewport(); | 1093 bool intersectsVisibleViewport(); |
| 1100 | 1094 |
| 1101 virtual bool isInSelfHitTestingPhase(HitTestAction hitTestAction) const { re
turn hitTestAction == HitTestForeground; } | 1095 virtual bool isInSelfHitTestingPhase(HitTestAction hitTestAction) const { re
turn hitTestAction == HitTestForeground; } |
| 1102 | 1096 |
| 1103 void updateBackgroundAttachmentFixedStatusAfterStyleChange(); | 1097 void updateBackgroundAttachmentFixedStatusAfterStyleChange(); |
| 1104 | 1098 |
| 1105 // The CSS border box rect for this box. | 1099 // The CSS border box rect for this box. |
| 1106 // | 1100 // |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1234 || breakValue == BreakLeft | 1228 || breakValue == BreakLeft |
| 1235 || breakValue == BreakPage | 1229 || breakValue == BreakPage |
| 1236 || breakValue == BreakRecto | 1230 || breakValue == BreakRecto |
| 1237 || breakValue == BreakRight | 1231 || breakValue == BreakRight |
| 1238 || breakValue == BreakVerso; | 1232 || breakValue == BreakVerso; |
| 1239 } | 1233 } |
| 1240 | 1234 |
| 1241 } // namespace blink | 1235 } // namespace blink |
| 1242 | 1236 |
| 1243 #endif // LayoutBox_h | 1237 #endif // LayoutBox_h |
| OLD | NEW |