| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 // feature so we shouldn't take the performance hit when not needed. Long te
rm we should | 196 // feature so we shouldn't take the performance hit when not needed. Long te
rm we should |
| 197 // rewrite the counter and quotes code. | 197 // rewrite the counter and quotes code. |
| 198 void addRenderCounter() { m_renderCounterCount++; } | 198 void addRenderCounter() { m_renderCounterCount++; } |
| 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 LayoutUnit viewportPercentageWidth(float percentage) const; | 206 double layoutViewportWidth() const; |
| 207 LayoutUnit viewportPercentageHeight(float percentage) const; | 207 double layoutViewportHeight() const; |
| 208 LayoutUnit viewportPercentageMin(float percentage) const; | |
| 209 LayoutUnit viewportPercentageMax(float percentage) const; | |
| 210 | 208 |
| 211 private: | 209 private: |
| 212 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const OVERRIDE; | 210 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; | 211 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; |
| 214 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst; | 212 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst; |
| 215 virtual bool requiresColumns(int desiredColumnCount) const OVERRIDE; | 213 virtual bool requiresColumns(int desiredColumnCount) const OVERRIDE; |
| 216 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; | 214 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; |
| 217 | 215 |
| 218 bool initializeLayoutState(LayoutState&); | 216 bool initializeLayoutState(LayoutState&); |
| 219 | 217 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 RenderObject::FlowThreadState m_flowThreadState; | 394 RenderObject::FlowThreadState m_flowThreadState; |
| 397 bool m_fragmenting; | 395 bool m_fragmenting; |
| 398 #ifndef NDEBUG | 396 #ifndef NDEBUG |
| 399 LayoutState* m_layoutState; | 397 LayoutState* m_layoutState; |
| 400 #endif | 398 #endif |
| 401 }; | 399 }; |
| 402 | 400 |
| 403 } // namespace WebCore | 401 } // namespace WebCore |
| 404 | 402 |
| 405 #endif // RenderView_h | 403 #endif // RenderView_h |
| OLD | NEW |