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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
343 if (mode & IsFixed && m_frameView) | 343 if (mode & IsFixed && m_frameView) |
344 transformState.move(m_frameView->scrollOffsetForFixedPosition()); | 344 transformState.move(m_frameView->scrollOffsetForFixedPosition()); |
345 | 345 |
346 if (mode & UseTransforms && shouldUseTransformFromContainer(0)) { | 346 if (mode & UseTransforms && shouldUseTransformFromContainer(0)) { |
347 TransformationMatrix t; | 347 TransformationMatrix t; |
348 getTransformFromContainer(0, LayoutSize(), t); | 348 getTransformFromContainer(0, LayoutSize(), t); |
349 transformState.applyTransform(t); | 349 transformState.applyTransform(t); |
350 } | 350 } |
351 } | 351 } |
352 | 352 |
353 void RenderView::computeOwnHitTestRects(Vector<IntRect>& rects, const LayoutPoin t& layerOffset) const | |
354 { | |
355 // A RenderView doesn't really have any hit testing of it's own. | |
leviw_travelin_and_unemployed
2013/07/10 01:51:16
Why is this needed?
| |
356 } | |
357 | |
353 bool RenderView::requiresColumns(int desiredColumnCount) const | 358 bool RenderView::requiresColumns(int desiredColumnCount) const |
354 { | 359 { |
355 if (m_frameView) | 360 if (m_frameView) |
356 return m_frameView->pagination().mode != Pagination::Unpaginated; | 361 return m_frameView->pagination().mode != Pagination::Unpaginated; |
357 | 362 |
358 return RenderBlock::requiresColumns(desiredColumnCount); | 363 return RenderBlock::requiresColumns(desiredColumnCount); |
359 } | 364 } |
360 | 365 |
361 void RenderView::calcColumnWidth() | 366 void RenderView::calcColumnWidth() |
362 { | 367 { |
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1143 #endif | 1148 #endif |
1144 | 1149 |
1145 if (layoutState) | 1150 if (layoutState) |
1146 layoutState->m_isPaginated = m_fragmenting; | 1151 layoutState->m_isPaginated = m_fragmenting; |
1147 | 1152 |
1148 if (m_flowThreadState != RenderObject::NotInsideFlowThread) | 1153 if (m_flowThreadState != RenderObject::NotInsideFlowThread) |
1149 m_root->setFlowThreadStateIncludingDescendants(m_flowThreadState); | 1154 m_root->setFlowThreadStateIncludingDescendants(m_flowThreadState); |
1150 } | 1155 } |
1151 | 1156 |
1152 } // namespace WebCore | 1157 } // namespace WebCore |
OLD | NEW |