| 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 201 |
| 202 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
OVERRIDE; | 202 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
OVERRIDE; |
| 203 | 203 |
| 204 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect)
const OVERRIDE FINAL; | 204 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect)
const OVERRIDE FINAL; |
| 205 | 205 |
| 206 LayoutUnit viewportPercentageWidth(float percentage) const; | 206 LayoutUnit viewportPercentageWidth(float percentage) const; |
| 207 LayoutUnit viewportPercentageHeight(float percentage) const; | 207 LayoutUnit viewportPercentageHeight(float percentage) const; |
| 208 LayoutUnit viewportPercentageMin(float percentage) const; | 208 LayoutUnit viewportPercentageMin(float percentage) const; |
| 209 LayoutUnit viewportPercentageMax(float percentage) const; | 209 LayoutUnit viewportPercentageMax(float percentage) const; |
| 210 | 210 |
| 211 void viewResized(); |
| 212 |
| 211 private: | 213 private: |
| 212 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const OVERRIDE; | 214 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const OVERRIDE; |
| 213 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; | 215 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; |
| 214 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst; | 216 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst; |
| 215 virtual bool requiresColumns(int desiredColumnCount) const OVERRIDE; | 217 virtual bool requiresColumns(int desiredColumnCount) const OVERRIDE; |
| 216 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; | 218 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; |
| 217 | 219 |
| 218 bool initializeLayoutState(LayoutState&); | 220 bool initializeLayoutState(LayoutState&); |
| 219 | 221 |
| 220 virtual void calcColumnWidth() OVERRIDE; | 222 virtual void calcColumnWidth() OVERRIDE; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 void releaseWidgets(Vector<RenderWidget*>&); | 269 void releaseWidgets(Vector<RenderWidget*>&); |
| 268 | 270 |
| 269 void pushLayoutStateForCurrentFlowThread(const RenderObject*); | 271 void pushLayoutStateForCurrentFlowThread(const RenderObject*); |
| 270 void popLayoutStateForCurrentFlowThread(); | 272 void popLayoutStateForCurrentFlowThread(); |
| 271 | 273 |
| 272 friend class LayoutStateMaintainer; | 274 friend class LayoutStateMaintainer; |
| 273 friend class LayoutStateDisabler; | 275 friend class LayoutStateDisabler; |
| 274 | 276 |
| 275 bool shouldUsePrintingLayout() const; | 277 bool shouldUsePrintingLayout() const; |
| 276 | 278 |
| 279 bool needsLayoutOnHeightChange() const; |
| 280 |
| 277 FrameView* m_frameView; | 281 FrameView* m_frameView; |
| 278 | 282 |
| 279 RenderObject* m_selectionStart; | 283 RenderObject* m_selectionStart; |
| 280 RenderObject* m_selectionEnd; | 284 RenderObject* m_selectionEnd; |
| 281 | 285 |
| 282 int m_selectionStartPos; | 286 int m_selectionStartPos; |
| 283 int m_selectionEndPos; | 287 int m_selectionEndPos; |
| 284 | 288 |
| 285 int m_maximalOutlineSize; // Used to apply a fudge factor to dirty-rect chec
ks on blocks/tables. | 289 int m_maximalOutlineSize; // Used to apply a fudge factor to dirty-rect chec
ks on blocks/tables. |
| 286 int m_oldMaximalOutlineSize; // The fudge factor from the previous layout. | 290 int m_oldMaximalOutlineSize; // The fudge factor from the previous layout. |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 RenderObject::FlowThreadState m_flowThreadState; | 400 RenderObject::FlowThreadState m_flowThreadState; |
| 397 bool m_fragmenting; | 401 bool m_fragmenting; |
| 398 #ifndef NDEBUG | 402 #ifndef NDEBUG |
| 399 LayoutState* m_layoutState; | 403 LayoutState* m_layoutState; |
| 400 #endif | 404 #endif |
| 401 }; | 405 }; |
| 402 | 406 |
| 403 } // namespace WebCore | 407 } // namespace WebCore |
| 404 | 408 |
| 405 #endif // RenderView_h | 409 #endif // RenderView_h |
| OLD | NEW |