| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "core/layout/HitTestResult.h" | 25 #include "core/layout/HitTestResult.h" |
| 26 #include "core/layout/VerticalPositionCache.h" | 26 #include "core/layout/VerticalPositionCache.h" |
| 27 #include "core/layout/api/LineLayoutBlockFlow.h" | 27 #include "core/layout/api/LineLayoutBlockFlow.h" |
| 28 #include "core/layout/api/LineLayoutItem.h" | 28 #include "core/layout/api/LineLayoutItem.h" |
| 29 #include "core/layout/line/EllipsisBox.h" | 29 #include "core/layout/line/EllipsisBox.h" |
| 30 #include "core/layout/line/GlyphOverflow.h" | 30 #include "core/layout/line/GlyphOverflow.h" |
| 31 #include "core/layout/line/InlineTextBox.h" | 31 #include "core/layout/line/InlineTextBox.h" |
| 32 #include "core/paint/PaintInfo.h" | 32 #include "core/paint/PaintInfo.h" |
| 33 #include "core/paint/RootInlineBoxPainter.h" | 33 #include "core/paint/RootInlineBoxPainter.h" |
| 34 #include "platform/text/BidiResolver.h" | 34 #include "platform/text/BidiResolver.h" |
| 35 #include "wtf/text/Unicode.h" | 35 #include "platform/wtf/text/Unicode.h" |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 struct SameSizeAsRootInlineBox : public InlineFlowBox { | 39 struct SameSizeAsRootInlineBox : public InlineFlowBox { |
| 40 unsigned unsigned_variable; | 40 unsigned unsigned_variable; |
| 41 void* pointers[3]; | 41 void* pointers[3]; |
| 42 LayoutUnit layout_variables[6]; | 42 LayoutUnit layout_variables[6]; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 static_assert(sizeof(RootInlineBox) == sizeof(SameSizeAsRootInlineBox), | 45 static_assert(sizeof(RootInlineBox) == sizeof(SameSizeAsRootInlineBox), |
| (...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 787 } | 787 } |
| 788 end_box = nullptr; | 788 end_box = nullptr; |
| 789 return nullptr; | 789 return nullptr; |
| 790 } | 790 } |
| 791 | 791 |
| 792 const char* RootInlineBox::BoxName() const { | 792 const char* RootInlineBox::BoxName() const { |
| 793 return "RootInlineBox"; | 793 return "RootInlineBox"; |
| 794 } | 794 } |
| 795 | 795 |
| 796 } // namespace blink | 796 } // namespace blink |
| OLD | NEW |