| 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 | 
| 11  * version 2 of the License, or (at your option) any later version. | 11  * version 2 of the License, or (at your option) any later version. | 
| 12  * | 12  * | 
| 13  * This library is distributed in the hope that it will be useful, | 13  * This library is distributed in the hope that it will be useful, | 
| 14  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 14  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| 15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
| 16  * Library General Public License for more details. | 16  * Library General Public License for more details. | 
| 17  * | 17  * | 
| 18  * You should have received a copy of the GNU Library General Public License | 18  * You should have received a copy of the GNU Library General Public License | 
| 19  * along with this library; see the file COPYING.LIB.  If not, write to | 19  * along with this library; see the file COPYING.LIB.  If not, write to | 
| 20  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 20  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 
| 21  * Boston, MA 02110-1301, USA. | 21  * Boston, MA 02110-1301, USA. | 
| 22  * | 22  * | 
| 23  */ | 23  */ | 
| 24 | 24 | 
| 25 #include "config.h" | 25 #include "config.h" | 
| 26 #include "RenderText.h" | 26 #include "RenderText.h" | 
| 27 | 27 | 
| 28 #include "AXObjectCache.h" |  | 
| 29 #include "EllipsisBox.h" | 28 #include "EllipsisBox.h" | 
| 30 #include "FloatQuad.h" | 29 #include "FloatQuad.h" | 
| 31 #include "FontTranscoder.h" | 30 #include "FontTranscoder.h" | 
| 32 #include "FrameView.h" | 31 #include "FrameView.h" | 
| 33 #include "Hyphenation.h" | 32 #include "Hyphenation.h" | 
| 34 #include "InlineTextBox.h" | 33 #include "InlineTextBox.h" | 
| 35 #include "Range.h" | 34 #include "Range.h" | 
| 36 #include "RenderArena.h" | 35 #include "RenderArena.h" | 
| 37 #include "RenderBlock.h" | 36 #include "RenderBlock.h" | 
| 38 #include "RenderCombineText.h" | 37 #include "RenderCombineText.h" | 
| 39 #include "RenderLayer.h" | 38 #include "RenderLayer.h" | 
| 40 #include "RenderView.h" | 39 #include "RenderView.h" | 
| 41 #include "Settings.h" | 40 #include "Settings.h" | 
| 42 #include "Text.h" | 41 #include "Text.h" | 
| 43 #include "TextBreakIterator.h" | 42 #include "TextBreakIterator.h" | 
| 44 #include "TextResourceDecoder.h" | 43 #include "TextResourceDecoder.h" | 
| 45 #include "VisiblePosition.h" | 44 #include "VisiblePosition.h" | 
| 46 #include "WebCoreMemoryInstrumentation.h" | 45 #include "WebCoreMemoryInstrumentation.h" | 
| 47 #include "break_lines.h" | 46 #include "break_lines.h" | 
|  | 47 #include "core/accessibility/AXObjectCache.h" | 
| 48 #include <wtf/text/StringBuffer.h> | 48 #include <wtf/text/StringBuffer.h> | 
| 49 #include <wtf/unicode/CharacterNames.h> | 49 #include <wtf/unicode/CharacterNames.h> | 
| 50 | 50 | 
| 51 using namespace std; | 51 using namespace std; | 
| 52 using namespace WTF; | 52 using namespace WTF; | 
| 53 using namespace Unicode; | 53 using namespace Unicode; | 
| 54 | 54 | 
| 55 namespace WebCore { | 55 namespace WebCore { | 
| 56 | 56 | 
| 57 struct SameSizeAsRenderText : public RenderObject { | 57 struct SameSizeAsRenderText : public RenderObject { | 
| (...skipping 1868 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1926 void RenderText::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const | 1926 void RenderText::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const | 
| 1927 { | 1927 { | 
| 1928     MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Rendering)
      ; | 1928     MemoryClassInfo info(memoryObjectInfo, this, PlatformMemoryTypes::Rendering)
      ; | 
| 1929     RenderObject::reportMemoryUsage(memoryObjectInfo); | 1929     RenderObject::reportMemoryUsage(memoryObjectInfo); | 
| 1930     info.addMember(m_text, "text"); | 1930     info.addMember(m_text, "text"); | 
| 1931     info.addMember(m_firstTextBox, "firstTextBox"); | 1931     info.addMember(m_firstTextBox, "firstTextBox"); | 
| 1932     info.addMember(m_lastTextBox, "lastTextBox"); | 1932     info.addMember(m_lastTextBox, "lastTextBox"); | 
| 1933 } | 1933 } | 
| 1934 | 1934 | 
| 1935 } // namespace WebCore | 1935 } // namespace WebCore | 
| OLD | NEW | 
|---|