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 viewportWidthPercent() const; |
207 LayoutUnit viewportPercentageHeight(float percentage) const; | 207 double viewportHeightPercent() const; |
208 LayoutUnit viewportPercentageMin(float percentage) const; | 208 double viewportMinPercent() const; |
209 LayoutUnit viewportPercentageMax(float percentage) const; | 209 double viewportMaxPercent() const; |
210 | 210 |
211 private: | 211 private: |
212 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; |
213 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; | 213 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; |
214 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst; | 214 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst; |
215 virtual bool requiresColumns(int desiredColumnCount) const OVERRIDE; | 215 virtual bool requiresColumns(int desiredColumnCount) const OVERRIDE; |
216 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; | 216 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint&
layerOffset) const OVERRIDE; |
217 | 217 |
218 bool initializeLayoutState(LayoutState&); | 218 bool initializeLayoutState(LayoutState&); |
219 | 219 |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 RenderObject::FlowThreadState m_flowThreadState; | 396 RenderObject::FlowThreadState m_flowThreadState; |
397 bool m_fragmenting; | 397 bool m_fragmenting; |
398 #ifndef NDEBUG | 398 #ifndef NDEBUG |
399 LayoutState* m_layoutState; | 399 LayoutState* m_layoutState; |
400 #endif | 400 #endif |
401 }; | 401 }; |
402 | 402 |
403 } // namespace WebCore | 403 } // namespace WebCore |
404 | 404 |
405 #endif // RenderView_h | 405 #endif // RenderView_h |
OLD | NEW |