| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 43 enum AvailableLogicalHeightType { ExcludeMarginBorderPadding, IncludeMarginBorde
      rPadding }; | 43 enum AvailableLogicalHeightType { ExcludeMarginBorderPadding, IncludeMarginBorde
      rPadding }; | 
| 44 // When painting, overlay scrollbars do not take up space and should not affect | 44 // When painting, overlay scrollbars do not take up space and should not affect | 
| 45 // clipping behavior. During hit testing, overlay scrollbars behave like regular | 45 // clipping behavior. During hit testing, overlay scrollbars behave like regular | 
| 46 // scrollbars and should change how hit testing is clipped. | 46 // scrollbars and should change how hit testing is clipped. | 
| 47 enum MarginDirection { BlockDirection, InlineDirection }; | 47 enum MarginDirection { BlockDirection, InlineDirection }; | 
| 48 | 48 | 
| 49 enum ShouldComputePreferred { ComputeActual, ComputePreferred }; | 49 enum ShouldComputePreferred { ComputeActual, ComputePreferred }; | 
| 50 | 50 | 
| 51 enum ApplyOverflowClipFlag { | 51 enum ApplyOverflowClipFlag { | 
| 52     ApplyOverflowClip, | 52     ApplyOverflowClip, | 
|  | 53     // Don't apply overflow clipping or scrolling. | 
| 53     ApplyNonScrollOverflowClip | 54     ApplyNonScrollOverflowClip | 
| 54 }; | 55 }; | 
| 55 | 56 | 
| 56 using SnapAreaSet = HashSet<const LayoutBox*>; | 57 using SnapAreaSet = HashSet<const LayoutBox*>; | 
| 57 | 58 | 
| 58 struct LayoutBoxRareData { | 59 struct LayoutBoxRareData { | 
| 59     WTF_MAKE_NONCOPYABLE(LayoutBoxRareData); USING_FAST_MALLOC(LayoutBoxRareData
      ); | 60     WTF_MAKE_NONCOPYABLE(LayoutBoxRareData); USING_FAST_MALLOC(LayoutBoxRareData
      ); | 
| 60 public: | 61 public: | 
| 61     LayoutBoxRareData() | 62     LayoutBoxRareData() | 
| 62         : m_spannerPlaceholder(nullptr) | 63         : m_spannerPlaceholder(nullptr) | 
| (...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1234         || breakValue == BreakLeft | 1235         || breakValue == BreakLeft | 
| 1235         || breakValue == BreakPage | 1236         || breakValue == BreakPage | 
| 1236         || breakValue == BreakRecto | 1237         || breakValue == BreakRecto | 
| 1237         || breakValue == BreakRight | 1238         || breakValue == BreakRight | 
| 1238         || breakValue == BreakVerso; | 1239         || breakValue == BreakVerso; | 
| 1239 } | 1240 } | 
| 1240 | 1241 | 
| 1241 } // namespace blink | 1242 } // namespace blink | 
| 1242 | 1243 | 
| 1243 #endif // LayoutBox_h | 1244 #endif // LayoutBox_h | 
| OLD | NEW | 
|---|