| 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 12 matching lines...) Expand all Loading... |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 #include "core/layout/LayoutText.h" | 25 #include "core/layout/LayoutText.h" |
| 26 | 26 |
| 27 #include "core/dom/AXObjectCache.h" | 27 #include "core/dom/AXObjectCache.h" |
| 28 #include "core/dom/Text.h" | 28 #include "core/dom/Text.h" |
| 29 #include "core/editing/VisiblePosition.h" | 29 #include "core/editing/VisiblePosition.h" |
| 30 #include "core/editing/iterators/TextIterator.h" | 30 #include "core/editing/iterators/TextIterator.h" |
| 31 #include "core/frame/FrameView.h" | 31 #include "core/frame/FrameView.h" |
| 32 #include "core/frame/Settings.h" | 32 #include "core/frame/Settings.h" |
| 33 #include "core/html/parser/TextResourceDecoder.h" | |
| 34 #include "core/layout/LayoutBlock.h" | 33 #include "core/layout/LayoutBlock.h" |
| 35 #include "core/layout/LayoutTextCombine.h" | 34 #include "core/layout/LayoutTextCombine.h" |
| 36 #include "core/layout/LayoutView.h" | 35 #include "core/layout/LayoutView.h" |
| 37 #include "core/layout/api/LineLayoutBox.h" | 36 #include "core/layout/api/LineLayoutBox.h" |
| 38 #include "core/layout/line/AbstractInlineTextBox.h" | 37 #include "core/layout/line/AbstractInlineTextBox.h" |
| 39 #include "core/layout/line/EllipsisBox.h" | 38 #include "core/layout/line/EllipsisBox.h" |
| 40 #include "core/layout/line/GlyphOverflow.h" | 39 #include "core/layout/line/GlyphOverflow.h" |
| 41 #include "core/layout/line/InlineTextBox.h" | 40 #include "core/layout/line/InlineTextBox.h" |
| 42 #include "core/paint/PaintLayer.h" | |
| 43 #include "platform/LayoutTestSupport.h" | |
| 44 #include "platform/fonts/CharacterRange.h" | 41 #include "platform/fonts/CharacterRange.h" |
| 45 #include "platform/fonts/FontCache.h" | |
| 46 #include "platform/geometry/FloatQuad.h" | 42 #include "platform/geometry/FloatQuad.h" |
| 47 #include "platform/text/BidiResolver.h" | 43 #include "platform/text/BidiResolver.h" |
| 48 #include "platform/text/Character.h" | 44 #include "platform/text/Character.h" |
| 49 #include "platform/text/Hyphenation.h" | 45 #include "platform/text/Hyphenation.h" |
| 50 #include "platform/text/TextBreakIterator.h" | 46 #include "platform/text/TextBreakIterator.h" |
| 51 #include "platform/text/TextRunIterator.h" | 47 #include "platform/text/TextRunIterator.h" |
| 52 #include "wtf/text/CharacterNames.h" | |
| 53 #include "wtf/text/StringBuffer.h" | 48 #include "wtf/text/StringBuffer.h" |
| 54 #include "wtf/text/StringBuilder.h" | 49 #include "wtf/text/StringBuilder.h" |
| 55 | 50 |
| 56 using namespace WTF; | 51 using namespace WTF; |
| 57 using namespace Unicode; | 52 using namespace Unicode; |
| 58 | 53 |
| 59 namespace blink { | 54 namespace blink { |
| 60 | 55 |
| 61 struct SameSizeAsLayoutText : public LayoutObject { | 56 struct SameSizeAsLayoutText : public LayoutObject { |
| 62 uint32_t bitfields : 16; | 57 uint32_t bitfields : 16; |
| (...skipping 1692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1755 for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox()) { | 1750 for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox()) { |
| 1756 paintInvalidationContainer.invalidateDisplayItemClientOnBacking(*box, in
validationReason); | 1751 paintInvalidationContainer.invalidateDisplayItemClientOnBacking(*box, in
validationReason); |
| 1757 if (box->truncation() != cNoTruncation) { | 1752 if (box->truncation() != cNoTruncation) { |
| 1758 if (EllipsisBox* ellipsisBox = box->root().ellipsisBox()) | 1753 if (EllipsisBox* ellipsisBox = box->root().ellipsisBox()) |
| 1759 paintInvalidationContainer.invalidateDisplayItemClientOnBacking(
*ellipsisBox, invalidationReason); | 1754 paintInvalidationContainer.invalidateDisplayItemClientOnBacking(
*ellipsisBox, invalidationReason); |
| 1760 } | 1755 } |
| 1761 } | 1756 } |
| 1762 } | 1757 } |
| 1763 | 1758 |
| 1764 } // namespace blink | 1759 } // namespace blink |
| OLD | NEW |