| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999 Lars Knoll (knoll@kde.org) | 2 * (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Dirk Mueller (mueller@kde.org) | 3 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 4 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) | 5 * Copyright (C) 2006 Andrew Wellington (proton@wiretapped.net) |
| 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 #include "core/layout/line/EllipsisBox.h" | 41 #include "core/layout/line/EllipsisBox.h" |
| 42 #include "core/layout/line/GlyphOverflow.h" | 42 #include "core/layout/line/GlyphOverflow.h" |
| 43 #include "core/layout/line/InlineTextBox.h" | 43 #include "core/layout/line/InlineTextBox.h" |
| 44 #include "platform/fonts/CharacterRange.h" | 44 #include "platform/fonts/CharacterRange.h" |
| 45 #include "platform/geometry/FloatQuad.h" | 45 #include "platform/geometry/FloatQuad.h" |
| 46 #include "platform/text/BidiResolver.h" | 46 #include "platform/text/BidiResolver.h" |
| 47 #include "platform/text/Character.h" | 47 #include "platform/text/Character.h" |
| 48 #include "platform/text/Hyphenation.h" | 48 #include "platform/text/Hyphenation.h" |
| 49 #include "platform/text/TextBreakIterator.h" | 49 #include "platform/text/TextBreakIterator.h" |
| 50 #include "platform/text/TextRunIterator.h" | 50 #include "platform/text/TextRunIterator.h" |
| 51 #include "platform/wtf/text/StringBuffer.h" |
| 52 #include "platform/wtf/text/StringBuilder.h" |
| 51 #include "public/platform/Platform.h" | 53 #include "public/platform/Platform.h" |
| 52 #include "public/platform/WebScheduler.h" | 54 #include "public/platform/WebScheduler.h" |
| 53 #include "public/platform/WebThread.h" | 55 #include "public/platform/WebThread.h" |
| 54 #include "wtf/text/StringBuffer.h" | |
| 55 #include "wtf/text/StringBuilder.h" | |
| 56 | 56 |
| 57 namespace blink { | 57 namespace blink { |
| 58 | 58 |
| 59 struct SameSizeAsLayoutText : public LayoutObject { | 59 struct SameSizeAsLayoutText : public LayoutObject { |
| 60 uint32_t bitfields : 16; | 60 uint32_t bitfields : 16; |
| 61 float widths[4]; | 61 float widths[4]; |
| 62 String text; | 62 String text; |
| 63 void* pointers[2]; | 63 void* pointers[2]; |
| 64 }; | 64 }; |
| 65 | 65 |
| (...skipping 2046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2112 LayoutRect rect = LayoutRect( | 2112 LayoutRect rect = LayoutRect( |
| 2113 IntRect(FirstRunX(), FirstRunY(), lines_box.Width(), lines_box.Height())); | 2113 IntRect(FirstRunX(), FirstRunY(), lines_box.Width(), lines_box.Height())); |
| 2114 LayoutBlock* block = ContainingBlock(); | 2114 LayoutBlock* block = ContainingBlock(); |
| 2115 if (block && HasTextBoxes()) | 2115 if (block && HasTextBoxes()) |
| 2116 block->AdjustChildDebugRect(rect); | 2116 block->AdjustChildDebugRect(rect); |
| 2117 | 2117 |
| 2118 return rect; | 2118 return rect; |
| 2119 } | 2119 } |
| 2120 | 2120 |
| 2121 } // namespace blink | 2121 } // namespace blink |
| OLD | NEW |