OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 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 |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 * Library General Public License for more details. | 12 * Library General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU Library General Public License | 14 * You should have received a copy of the GNU Library General Public License |
15 * along with this library; see the file COPYING.LIB. If not, write to | 15 * along with this library; see the file COPYING.LIB. If not, write to |
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
17 * Boston, MA 02110-1301, USA. | 17 * Boston, MA 02110-1301, USA. |
18 */ | 18 */ |
19 | 19 |
20 #include "config.h" | 20 #include "config.h" |
21 #include "core/rendering/InlineFlowBox.h" | 21 #include "core/rendering/InlineFlowBox.h" |
22 | 22 |
23 #include "CSSPropertyNames.h" | 23 #include "CSSPropertyNames.h" |
24 #include "core/dom/Document.h" | 24 #include "core/dom/Document.h" |
25 #include "core/dom/Text.h" | |
26 #include "core/dom/WebCoreMemoryInstrumentation.h" | 25 #include "core/dom/WebCoreMemoryInstrumentation.h" |
27 #include "core/loader/cache/CachedImage.h" | |
28 #include "core/platform/graphics/Font.h" | 26 #include "core/platform/graphics/Font.h" |
29 #include "core/platform/graphics/GraphicsContextStateSaver.h" | 27 #include "core/platform/graphics/GraphicsContextStateSaver.h" |
30 #include "core/rendering/EllipsisBox.h" | |
31 #include "core/rendering/HitTestResult.h" | 28 #include "core/rendering/HitTestResult.h" |
32 #include "core/rendering/InlineTextBox.h" | 29 #include "core/rendering/InlineTextBox.h" |
33 #include "core/rendering/RenderBlock.h" | 30 #include "core/rendering/RenderBlock.h" |
34 #include "core/rendering/RenderInline.h" | 31 #include "core/rendering/RenderInline.h" |
35 #include "core/rendering/RenderLayer.h" | 32 #include "core/rendering/RenderLayer.h" |
36 #include "core/rendering/RenderListMarker.h" | 33 #include "core/rendering/RenderListMarker.h" |
37 #include "core/rendering/RenderRubyBase.h" | 34 #include "core/rendering/RenderRubyBase.h" |
38 #include "core/rendering/RenderRubyRun.h" | 35 #include "core/rendering/RenderRubyRun.h" |
39 #include "core/rendering/RenderRubyText.h" | 36 #include "core/rendering/RenderRubyText.h" |
40 #include "core/rendering/RenderTableCell.h" | |
41 #include "core/rendering/RenderView.h" | 37 #include "core/rendering/RenderView.h" |
42 #include "core/rendering/RootInlineBox.h" | 38 #include "core/rendering/RootInlineBox.h" |
43 | 39 |
44 #include <math.h> | 40 #include <math.h> |
45 | 41 |
46 using namespace std; | 42 using namespace std; |
47 | 43 |
48 namespace WebCore { | 44 namespace WebCore { |
49 | 45 |
50 struct SameSizeAsInlineFlowBox : public InlineBox { | 46 struct SameSizeAsInlineFlowBox : public InlineBox { |
(...skipping 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1651 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::Rendering); | 1647 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::Rendering); |
1652 InlineBox::reportMemoryUsage(memoryObjectInfo); | 1648 InlineBox::reportMemoryUsage(memoryObjectInfo); |
1653 info.addMember(m_overflow, "overflow"); | 1649 info.addMember(m_overflow, "overflow"); |
1654 info.addMember(m_firstChild, "firstChild"); | 1650 info.addMember(m_firstChild, "firstChild"); |
1655 info.addMember(m_lastChild, "lastChild"); | 1651 info.addMember(m_lastChild, "lastChild"); |
1656 info.addMember(m_prevLineBox, "prevLineBox"); | 1652 info.addMember(m_prevLineBox, "prevLineBox"); |
1657 info.addMember(m_nextLineBox, "nextLineBox"); | 1653 info.addMember(m_nextLineBox, "nextLineBox"); |
1658 } | 1654 } |
1659 | 1655 |
1660 } // namespace WebCore | 1656 } // namespace WebCore |
OLD | NEW |