| 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 void removeRenderCounter() { ASSERT(m_renderCounterCount > 0); m_renderCount
erCount--; } | 199 void removeRenderCounter() { ASSERT(m_renderCounterCount > 0); m_renderCount
erCount--; } |
| 200 bool hasRenderCounters() { return m_renderCounterCount; } | 200 bool hasRenderCounters() { return m_renderCounterCount; } |
| 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 double layoutViewportWidth() const; | 206 double layoutViewportWidth() const; |
| 207 double layoutViewportHeight() const; | 207 double layoutViewportHeight() const; |
| 208 | 208 |
| 209 void viewResized(); |
| 210 |
| 209 private: | 211 private: |
| 210 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const OVERRIDE; | 212 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const OVERRIDE; |
| 211 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; | 213 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; |
| 212 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst; | 214 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst; |
| 213 virtual bool requiresColumns(int desiredColumnCount) const OVERRIDE; | 215 virtual bool requiresColumns(int desiredColumnCount) const OVERRIDE; |
| 214 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; | 216 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; |
| 215 | 217 |
| 216 bool initializeLayoutState(LayoutState&); | 218 bool initializeLayoutState(LayoutState&); |
| 217 | 219 |
| 218 virtual void calcColumnWidth() OVERRIDE; | 220 virtual void calcColumnWidth() OVERRIDE; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 void releaseWidgets(Vector<RenderWidget*>&); | 267 void releaseWidgets(Vector<RenderWidget*>&); |
| 266 | 268 |
| 267 void pushLayoutStateForCurrentFlowThread(const RenderObject*); | 269 void pushLayoutStateForCurrentFlowThread(const RenderObject*); |
| 268 void popLayoutStateForCurrentFlowThread(); | 270 void popLayoutStateForCurrentFlowThread(); |
| 269 | 271 |
| 270 friend class LayoutStateMaintainer; | 272 friend class LayoutStateMaintainer; |
| 271 friend class LayoutStateDisabler; | 273 friend class LayoutStateDisabler; |
| 272 | 274 |
| 273 bool shouldUsePrintingLayout() const; | 275 bool shouldUsePrintingLayout() const; |
| 274 | 276 |
| 277 bool needsLayoutOnLogicalHeightChange() const; |
| 278 |
| 275 FrameView* m_frameView; | 279 FrameView* m_frameView; |
| 276 | 280 |
| 277 RenderObject* m_selectionStart; | 281 RenderObject* m_selectionStart; |
| 278 RenderObject* m_selectionEnd; | 282 RenderObject* m_selectionEnd; |
| 279 | 283 |
| 280 int m_selectionStartPos; | 284 int m_selectionStartPos; |
| 281 int m_selectionEndPos; | 285 int m_selectionEndPos; |
| 282 | 286 |
| 283 int m_maximalOutlineSize; // Used to apply a fudge factor to dirty-rect chec
ks on blocks/tables. | 287 int m_maximalOutlineSize; // Used to apply a fudge factor to dirty-rect chec
ks on blocks/tables. |
| 284 int m_oldMaximalOutlineSize; // The fudge factor from the previous layout. | 288 int m_oldMaximalOutlineSize; // The fudge factor from the previous layout. |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 RenderObject::FlowThreadState m_flowThreadState; | 398 RenderObject::FlowThreadState m_flowThreadState; |
| 395 bool m_fragmenting; | 399 bool m_fragmenting; |
| 396 #ifndef NDEBUG | 400 #ifndef NDEBUG |
| 397 LayoutState* m_layoutState; | 401 LayoutState* m_layoutState; |
| 398 #endif | 402 #endif |
| 399 }; | 403 }; |
| 400 | 404 |
| 401 } // namespace WebCore | 405 } // namespace WebCore |
| 402 | 406 |
| 403 #endif // RenderView_h | 407 #endif // RenderView_h |
| OLD | NEW |