OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1085 } | 1085 } |
1086 | 1086 |
1087 FlowThreadController* RenderView::flowThreadController() | 1087 FlowThreadController* RenderView::flowThreadController() |
1088 { | 1088 { |
1089 if (!m_flowThreadController) | 1089 if (!m_flowThreadController) |
1090 m_flowThreadController = FlowThreadController::create(this); | 1090 m_flowThreadController = FlowThreadController::create(this); |
1091 | 1091 |
1092 return m_flowThreadController.get(); | 1092 return m_flowThreadController.get(); |
1093 } | 1093 } |
1094 | 1094 |
1095 RenderBlock::IntervalArena* RenderView::intervalArena() | 1095 IntervalArena* RenderView::intervalArena() |
1096 { | 1096 { |
1097 if (!m_intervalArena) | 1097 if (!m_intervalArena) |
1098 m_intervalArena = IntervalArena::create(); | 1098 m_intervalArena = IntervalArena::create(); |
1099 return m_intervalArena.get(); | 1099 return m_intervalArena.get(); |
1100 } | 1100 } |
1101 | 1101 |
1102 bool RenderView::backgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const | 1102 bool RenderView::backgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const |
1103 { | 1103 { |
1104 // FIXME: Remove this main frame check. Same concept applies to subframes to
o. | 1104 // FIXME: Remove this main frame check. Same concept applies to subframes to
o. |
1105 Page* page = document()->page(); | 1105 Page* page = document()->page(); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1142 #endif | 1142 #endif |
1143 | 1143 |
1144 if (layoutState) | 1144 if (layoutState) |
1145 layoutState->m_isPaginated = m_fragmenting; | 1145 layoutState->m_isPaginated = m_fragmenting; |
1146 | 1146 |
1147 if (m_flowThreadState != RenderObject::NotInsideFlowThread) | 1147 if (m_flowThreadState != RenderObject::NotInsideFlowThread) |
1148 m_root->setFlowThreadStateIncludingDescendants(m_flowThreadState); | 1148 m_root->setFlowThreadStateIncludingDescendants(m_flowThreadState); |
1149 } | 1149 } |
1150 | 1150 |
1151 } // namespace WebCore | 1151 } // namespace WebCore |
OLD | NEW |