| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 // feature so we shouldn't take the performance hit when not needed. Long te
rm we should | 193 // feature so we shouldn't take the performance hit when not needed. Long te
rm we should |
| 194 // rewrite the counter and quotes code. | 194 // rewrite the counter and quotes code. |
| 195 void addRenderCounter() { m_renderCounterCount++; } | 195 void addRenderCounter() { m_renderCounterCount++; } |
| 196 void removeRenderCounter() { ASSERT(m_renderCounterCount > 0); m_renderCount
erCount--; } | 196 void removeRenderCounter() { ASSERT(m_renderCounterCount > 0); m_renderCount
erCount--; } |
| 197 bool hasRenderCounters() { return m_renderCounterCount; } | 197 bool hasRenderCounters() { return m_renderCounterCount; } |
| 198 | 198 |
| 199 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
OVERRIDE; | 199 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
OVERRIDE; |
| 200 | 200 |
| 201 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect)
const OVERRIDE FINAL; | 201 virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect)
const OVERRIDE FINAL; |
| 202 | 202 |
| 203 LayoutUnit viewportPercentageWidth(float percentage) const; | 203 double viewportWidthPercent() const; |
| 204 LayoutUnit viewportPercentageHeight(float percentage) const; | 204 double viewportHeightPercent() const; |
| 205 LayoutUnit viewportPercentageMin(float percentage) const; | 205 double viewportMinPercent() const; |
| 206 LayoutUnit viewportPercentageMax(float percentage) const; | 206 double viewportMaxPercent() const; |
| 207 | 207 |
| 208 private: | 208 private: |
| 209 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const OVERRIDE; | 209 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const OVERRIDE; |
| 210 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; | 210 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; |
| 211 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst; | 211 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst; |
| 212 virtual bool requiresColumns(int desiredColumnCount) const OVERRIDE; | 212 virtual bool requiresColumns(int desiredColumnCount) const OVERRIDE; |
| 213 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; | 213 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; |
| 214 | 214 |
| 215 bool initializeLayoutState(LayoutState&); | 215 bool initializeLayoutState(LayoutState&); |
| 216 | 216 |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 RenderObject::FlowThreadState m_flowThreadState; | 392 RenderObject::FlowThreadState m_flowThreadState; |
| 393 bool m_fragmenting; | 393 bool m_fragmenting; |
| 394 #ifndef NDEBUG | 394 #ifndef NDEBUG |
| 395 LayoutState* m_layoutState; | 395 LayoutState* m_layoutState; |
| 396 #endif | 396 #endif |
| 397 }; | 397 }; |
| 398 | 398 |
| 399 } // namespace WebCore | 399 } // namespace WebCore |
| 400 | 400 |
| 401 #endif // RenderView_h | 401 #endif // RenderView_h |
| OLD | NEW |