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/platform/graphics/Font.h" | |
26 #include "core/platform/graphics/GraphicsContextStateSaver.h" | |
27 #include "core/rendering/HitTestResult.h" | 25 #include "core/rendering/HitTestResult.h" |
28 #include "core/rendering/InlineTextBox.h" | 26 #include "core/rendering/InlineTextBox.h" |
29 #include "core/rendering/RenderBlock.h" | 27 #include "core/rendering/RenderBlock.h" |
30 #include "core/rendering/RenderInline.h" | 28 #include "core/rendering/RenderInline.h" |
31 #include "core/rendering/RenderLayer.h" | 29 #include "core/rendering/RenderLayer.h" |
32 #include "core/rendering/RenderListMarker.h" | 30 #include "core/rendering/RenderListMarker.h" |
33 #include "core/rendering/RenderRubyBase.h" | 31 #include "core/rendering/RenderRubyBase.h" |
34 #include "core/rendering/RenderRubyRun.h" | 32 #include "core/rendering/RenderRubyRun.h" |
35 #include "core/rendering/RenderRubyText.h" | 33 #include "core/rendering/RenderRubyText.h" |
36 #include "core/rendering/RenderView.h" | 34 #include "core/rendering/RenderView.h" |
37 #include "core/rendering/RootInlineBox.h" | 35 #include "core/rendering/RootInlineBox.h" |
| 36 #include "platform/fonts/Font.h" |
| 37 #include "platform/graphics/GraphicsContextStateSaver.h" |
38 | 38 |
39 #include <math.h> | 39 #include <math.h> |
40 | 40 |
41 using namespace std; | 41 using namespace std; |
42 | 42 |
43 namespace WebCore { | 43 namespace WebCore { |
44 | 44 |
45 struct SameSizeAsInlineFlowBox : public InlineBox { | 45 struct SameSizeAsInlineFlowBox : public InlineBox { |
46 void* pointers[5]; | 46 void* pointers[5]; |
47 uint32_t bitfields : 23; | 47 uint32_t bitfields : 23; |
(...skipping 1586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1634 ASSERT(child->prevOnLine() == prev); | 1634 ASSERT(child->prevOnLine() == prev); |
1635 prev = child; | 1635 prev = child; |
1636 } | 1636 } |
1637 ASSERT(prev == m_lastChild); | 1637 ASSERT(prev == m_lastChild); |
1638 #endif | 1638 #endif |
1639 } | 1639 } |
1640 | 1640 |
1641 #endif | 1641 #endif |
1642 | 1642 |
1643 } // namespace WebCore | 1643 } // namespace WebCore |
OLD | NEW |