| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef LineLayoutItem_h | 5 #ifndef LineLayoutItem_h |
| 6 #define LineLayoutItem_h | 6 #define LineLayoutItem_h |
| 7 | 7 |
| 8 #include "core/layout/LayoutObject.h" | 8 #include "core/layout/LayoutObject.h" |
| 9 #include "core/layout/LayoutObjectInlines.h" | 9 #include "core/layout/LayoutObjectInlines.h" |
| 10 #include "core/layout/LayoutText.h" | 10 #include "core/layout/LayoutText.h" |
| 11 #include "core/paint/ObjectPaintInvalidator.h" | 11 #include "core/paint/ObjectPaintInvalidator.h" |
| 12 | 12 |
| 13 #include "platform/LayoutUnit.h" | 13 #include "platform/LayoutUnit.h" |
| 14 #include "platform/wtf/Allocator.h" | 14 #include "platform/wtf/Allocator.h" |
| 15 #include "platform/wtf/HashTableDeletedValueType.h" | 15 #include "platform/wtf/HashTableDeletedValueType.h" |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 class ComputedStyle; | 19 class ComputedStyle; |
| 20 class Document; | 20 class Document; |
| 21 class HitTestRequest; | 21 class HitTestRequest; |
| 22 class HitTestLocation; | 22 class HitTestLocation; |
| 23 class LayoutObject; | 23 class LayoutObject; |
| 24 class LineLayoutBox; | 24 class LineLayoutBox; |
| 25 class LineLayoutBoxModel; | 25 class LineLayoutBoxModel; |
| 26 class LineLayoutAPIShim; | 26 class LineLayoutAPIShim; |
| 27 | 27 |
| 28 enum HitTestFilter; | |
| 29 | |
| 30 static LayoutObject* const kHashTableDeletedValue = | 28 static LayoutObject* const kHashTableDeletedValue = |
| 31 reinterpret_cast<LayoutObject*>(-1); | 29 reinterpret_cast<LayoutObject*>(-1); |
| 32 | 30 |
| 33 class LineLayoutItem { | 31 class LineLayoutItem { |
| 34 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 32 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
| 35 | 33 |
| 36 public: | 34 public: |
| 37 explicit LineLayoutItem(LayoutObject* layout_object) | 35 explicit LineLayoutItem(LayoutObject* layout_object) |
| 38 : layout_object_(layout_object) {} | 36 : layout_object_(layout_object) {} |
| 39 | 37 |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 | 356 |
| 359 template <> | 357 template <> |
| 360 struct HashTraits<blink::LineLayoutItem> | 358 struct HashTraits<blink::LineLayoutItem> |
| 361 : SimpleClassHashTraits<blink::LineLayoutItem> { | 359 : SimpleClassHashTraits<blink::LineLayoutItem> { |
| 362 STATIC_ONLY(HashTraits); | 360 STATIC_ONLY(HashTraits); |
| 363 }; | 361 }; |
| 364 | 362 |
| 365 } // namespace WTF | 363 } // namespace WTF |
| 366 | 364 |
| 367 #endif // LineLayoutItem_h | 365 #endif // LineLayoutItem_h |
| OLD | NEW |