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) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 double layoutViewportWidth() const; | 200 double layoutViewportWidth() const; |
201 double layoutViewportHeight() const; | 201 double layoutViewportHeight() const; |
202 | 202 |
203 private: | 203 private: |
204 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const OVERRIDE; | 204 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const OVERRIDE; |
205 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; | 205 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; |
206 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst OVERRIDE; | 206 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst OVERRIDE; |
207 virtual bool requiresColumns(int desiredColumnCount) const OVERRIDE; | 207 virtual bool requiresColumns(int desiredColumnCount) const OVERRIDE; |
208 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; | 208 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; |
209 | 209 |
210 bool initializeLayoutState(LayoutState&); | 210 void initializeLayoutState(LayoutState&); |
211 | 211 |
212 virtual void calcColumnWidth() OVERRIDE; | 212 virtual void calcColumnWidth() OVERRIDE; |
213 virtual ColumnInfo::PaginationUnit paginationUnit() const OVERRIDE; | 213 virtual ColumnInfo::PaginationUnit paginationUnit() const OVERRIDE; |
214 | 214 |
215 bool shouldRepaint(const LayoutRect&) const; | 215 bool shouldRepaint(const LayoutRect&) const; |
216 | 216 |
217 // These functions may only be accessed by LayoutStateMaintainer. | 217 // These functions may only be accessed by LayoutStateMaintainer. |
218 bool pushLayoutState(RenderBox* renderer, const LayoutSize& offset, LayoutUn
it pageHeight = 0, bool pageHeightChanged = false, ColumnInfo* colInfo = 0) | 218 bool pushLayoutState(RenderBox* renderer, const LayoutSize& offset, LayoutUn
it pageHeight = 0, bool pageHeightChanged = false, ColumnInfo* colInfo = 0) |
219 { | 219 { |
220 // We push LayoutState even if layoutState is disabled because it stores
layoutDelta too. | 220 // We push LayoutState even if layoutState is disabled because it stores
layoutDelta too. |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 if (m_view) | 367 if (m_view) |
368 m_view->enableLayoutState(); | 368 m_view->enableLayoutState(); |
369 } | 369 } |
370 private: | 370 private: |
371 RenderView* m_view; | 371 RenderView* m_view; |
372 }; | 372 }; |
373 | 373 |
374 } // namespace WebCore | 374 } // namespace WebCore |
375 | 375 |
376 #endif // RenderView_h | 376 #endif // RenderView_h |
OLD | NEW |