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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 | 197 |
198 double layoutViewportWidth() const; | 198 double layoutViewportWidth() const; |
199 double layoutViewportHeight() const; | 199 double layoutViewportHeight() const; |
200 | 200 |
201 void viewResized(); | 201 void viewResized(); |
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; | |
208 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; | 207 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; |
209 | 208 |
210 void initializeLayoutState(LayoutState&); | 209 void initializeLayoutState(LayoutState&); |
211 | 210 |
212 bool shouldRepaint(const LayoutRect&) const; | 211 bool shouldRepaint(const LayoutRect&) const; |
213 | 212 |
214 bool rootFillsViewportBackground(RenderBox* rootBox) const; | 213 bool rootFillsViewportBackground(RenderBox* rootBox) const; |
215 | 214 |
216 // These functions may only be accessed by LayoutStateMaintainer. | 215 // These functions may only be accessed by LayoutStateMaintainer. |
217 bool pushLayoutState(RenderBox* renderer, const LayoutSize& offset, LayoutUn
it pageHeight = 0, bool pageHeightChanged = false, ColumnInfo* colInfo = 0) | 216 bool pushLayoutState(RenderBox* renderer, const LayoutSize& offset, LayoutUn
it pageHeight = 0, bool pageHeightChanged = false, ColumnInfo* colInfo = 0) |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 if (m_view) | 367 if (m_view) |
369 m_view->enableLayoutState(); | 368 m_view->enableLayoutState(); |
370 } | 369 } |
371 private: | 370 private: |
372 RenderView* m_view; | 371 RenderView* m_view; |
373 }; | 372 }; |
374 | 373 |
375 } // namespace WebCore | 374 } // namespace WebCore |
376 | 375 |
377 #endif // RenderView_h | 376 #endif // RenderView_h |
OLD | NEW |