| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 | 29 |
| 30 #ifndef LineBoxList_h | 30 #ifndef LineBoxList_h |
| 31 #define LineBoxList_h | 31 #define LineBoxList_h |
| 32 | 32 |
| 33 #include "core/layout/api/HitTestAction.h" | 33 #include "core/layout/api/HitTestAction.h" |
| 34 #include "wtf/Allocator.h" |
| 34 #include "wtf/Assertions.h" | 35 #include "wtf/Assertions.h" |
| 35 | 36 |
| 36 namespace blink { | 37 namespace blink { |
| 37 | 38 |
| 38 class HitTestLocation; | 39 class HitTestLocation; |
| 39 class HitTestResult; | 40 class HitTestResult; |
| 40 class InlineFlowBox; | 41 class InlineFlowBox; |
| 41 class LayoutBoxModelObject; | 42 class LayoutBoxModelObject; |
| 42 class LayoutPoint; | 43 class LayoutPoint; |
| 43 class LayoutRect; | 44 class LayoutRect; |
| 44 class LayoutUnit; | 45 class LayoutUnit; |
| 45 class LineLayoutBoxModel; | 46 class LineLayoutBoxModel; |
| 46 class LineLayoutItem; | 47 class LineLayoutItem; |
| 47 struct PaintInfo; | 48 struct PaintInfo; |
| 48 | 49 |
| 49 class LineBoxList { | 50 class LineBoxList { |
| 51 DISALLOW_ALLOCATION(); |
| 50 public: | 52 public: |
| 51 LineBoxList() | 53 LineBoxList() |
| 52 : m_firstLineBox(nullptr) | 54 : m_firstLineBox(nullptr) |
| 53 , m_lastLineBox(nullptr) | 55 , m_lastLineBox(nullptr) |
| 54 { | 56 { |
| 55 } | 57 } |
| 56 | 58 |
| 57 #if ENABLE(ASSERT) | 59 #if ENABLE(ASSERT) |
| 58 ~LineBoxList(); | 60 ~LineBoxList(); |
| 59 #endif | 61 #endif |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 | 94 |
| 93 #if !ENABLE(ASSERT) | 95 #if !ENABLE(ASSERT) |
| 94 inline void LineBoxList::checkConsistency() const | 96 inline void LineBoxList::checkConsistency() const |
| 95 { | 97 { |
| 96 } | 98 } |
| 97 #endif | 99 #endif |
| 98 | 100 |
| 99 } // namespace blink | 101 } // namespace blink |
| 100 | 102 |
| 101 #endif // LineBoxList_h | 103 #endif // LineBoxList_h |
| OLD | NEW |