OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 void deleteLineBoxTree(RenderArena*); | 56 void deleteLineBoxTree(RenderArena*); |
57 void deleteLineBoxes(RenderArena*); | 57 void deleteLineBoxes(RenderArena*); |
58 | 58 |
59 void extractLineBox(InlineFlowBox*); | 59 void extractLineBox(InlineFlowBox*); |
60 void attachLineBox(InlineFlowBox*); | 60 void attachLineBox(InlineFlowBox*); |
61 void removeLineBox(InlineFlowBox*); | 61 void removeLineBox(InlineFlowBox*); |
62 | 62 |
63 void dirtyLineBoxes(); | 63 void dirtyLineBoxes(); |
64 void dirtyLinesFromChangedChild(RenderObject* parent, RenderObject* child); | 64 void dirtyLinesFromChangedChild(RenderObject* parent, RenderObject* child); |
65 | 65 |
66 void paint(RenderBox*, RenderObject::PaintInfo&, int x, int y) const; | 66 void paint(RenderBoxModelObject*, RenderObject::PaintInfo&, int x, int y) co
nst; |
67 bool hitTest(RenderBox*, const HitTestRequest&, HitTestResult&, int x, int y
, int tx, int ty, HitTestAction) const; | 67 bool hitTest(RenderBoxModelObject*, const HitTestRequest&, HitTestResult&, i
nt x, int y, int tx, int ty, HitTestAction) const; |
68 | 68 |
69 private: | 69 private: |
70 // For block flows, each box represents the root inline box for a line in th
e | 70 // For block flows, each box represents the root inline box for a line in th
e |
71 // paragraph. | 71 // paragraph. |
72 // For inline flows, each box represents a portion of that inline. | 72 // For inline flows, each box represents a portion of that inline. |
73 InlineFlowBox* m_firstLineBox; | 73 InlineFlowBox* m_firstLineBox; |
74 InlineFlowBox* m_lastLineBox; | 74 InlineFlowBox* m_lastLineBox; |
75 }; | 75 }; |
76 | 76 |
77 | 77 |
78 #ifdef NDEBUG | 78 #ifdef NDEBUG |
79 inline void RenderLineBoxList::checkConsistency() const | 79 inline void RenderLineBoxList::checkConsistency() const |
80 { | 80 { |
81 } | 81 } |
82 #endif | 82 #endif |
83 | 83 |
84 } // namespace WebCore | 84 } // namespace WebCore |
85 | 85 |
86 #endif // RenderFlow_h | 86 #endif // RenderFlow_h |
OLD | NEW |