OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "core/rendering/RenderLineBoxList.h" | 30 #include "core/rendering/RenderLineBoxList.h" |
31 #include "core/rendering/RootInlineBox.h" | 31 #include "core/rendering/RootInlineBox.h" |
32 #include "core/rendering/style/ShapeValue.h" | 32 #include "core/rendering/style/ShapeValue.h" |
33 #include "platform/text/TextBreakIterator.h" | 33 #include "platform/text/TextBreakIterator.h" |
34 #include "platform/text/TextRun.h" | 34 #include "platform/text/TextRun.h" |
35 #include "wtf/ListHashSet.h" | 35 #include "wtf/ListHashSet.h" |
36 #include "wtf/OwnPtr.h" | 36 #include "wtf/OwnPtr.h" |
37 | 37 |
38 namespace WebCore { | 38 namespace WebCore { |
39 | 39 |
40 class BasicShape; | |
41 class BidiContext; | |
42 class LineLayoutState; | 40 class LineLayoutState; |
43 class RenderInline; | 41 class RenderInline; |
44 class RenderText; | |
45 | 42 |
46 struct BidiRun; | |
47 struct PaintInfo; | 43 struct PaintInfo; |
| 44 class WordMeasurement; |
| 45 |
48 class LineInfo; | 46 class LineInfo; |
49 class RenderRubyRun; | 47 class RenderRubyRun; |
50 class WordMeasurement; | |
51 | 48 |
52 template <class Run> class BidiRunList; | 49 template <class Run> class BidiRunList; |
53 typedef WTF::ListHashSet<RenderBox*, 16> TrackedRendererListHashSet; | 50 typedef WTF::ListHashSet<RenderBox*, 16> TrackedRendererListHashSet; |
54 typedef WTF::HashMap<const RenderBlock*, OwnPtr<TrackedRendererListHashSet> > Tr
ackedDescendantsMap; | 51 typedef WTF::HashMap<const RenderBlock*, OwnPtr<TrackedRendererListHashSet> > Tr
ackedDescendantsMap; |
55 typedef WTF::HashMap<const RenderBox*, OwnPtr<HashSet<RenderBlock*> > > TrackedC
ontainerMap; | 52 typedef WTF::HashMap<const RenderBox*, OwnPtr<HashSet<RenderBlock*> > > TrackedC
ontainerMap; |
56 typedef Vector<WordMeasurement, 64> WordMeasurements; | 53 typedef Vector<WordMeasurement, 64> WordMeasurements; |
57 | 54 |
58 enum ContainingBlockState { NewContainingBlock, SameContainingBlock }; | 55 enum ContainingBlockState { NewContainingBlock, SameContainingBlock }; |
59 | 56 |
60 enum TextRunFlag { | 57 enum TextRunFlag { |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 // FIXME: This is temporary as we move code that accesses block flow | 545 // FIXME: This is temporary as we move code that accesses block flow |
549 // member variables out of RenderBlock and into RenderBlockFlow. | 546 // member variables out of RenderBlock and into RenderBlockFlow. |
550 friend class RenderBlockFlow; | 547 friend class RenderBlockFlow; |
551 }; | 548 }; |
552 | 549 |
553 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); | 550 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); |
554 | 551 |
555 } // namespace WebCore | 552 } // namespace WebCore |
556 | 553 |
557 #endif // RenderBlock_h | 554 #endif // RenderBlock_h |
OLD | NEW |