| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2003, 2006, 2007, 2009 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2006, 2007, 2009 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2010 Google Inc. All rights reserved. | 5 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositio
nMode = PositionOnContainingLine) const = 0; | 179 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositio
nMode = PositionOnContainingLine) const = 0; |
| 180 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const = 0; | 180 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const = 0; |
| 181 | 181 |
| 182 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst OVERRIDE; | 182 virtual void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) c
onst OVERRIDE; |
| 183 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; | 183 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE; |
| 184 | 184 |
| 185 void highQualityRepaintTimerFired(Timer<RenderBoxModelObject>*); | 185 void highQualityRepaintTimerFired(Timer<RenderBoxModelObject>*); |
| 186 | 186 |
| 187 virtual void setSelectionState(SelectionState) OVERRIDE; | 187 virtual void setSelectionState(SelectionState) OVERRIDE; |
| 188 | 188 |
| 189 bool canHaveBoxInfoInRegion() const { return !isFloating() && !isReplaced()
&& !isInline() && !hasColumns() && !isTableCell() && isRenderBlock() && !isSVG()
; } | |
| 190 | |
| 191 void contentChanged(ContentChangeType); | 189 void contentChanged(ContentChangeType); |
| 192 bool hasAcceleratedCompositing() const; | 190 bool hasAcceleratedCompositing() const; |
| 193 | 191 |
| 194 virtual void computeLayerHitTestRects(LayerHitTestRects&) const OVERRIDE; | 192 virtual void computeLayerHitTestRects(LayerHitTestRects&) const OVERRIDE; |
| 195 | 193 |
| 196 protected: | 194 protected: |
| 197 virtual void willBeDestroyed() OVERRIDE; | 195 virtual void willBeDestroyed() OVERRIDE; |
| 198 | 196 |
| 199 class BackgroundImageGeometry { | 197 class BackgroundImageGeometry { |
| 200 public: | 198 public: |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 void drawBoxSideFromPath(GraphicsContext*, const LayoutRect&, const Path&, c
onst class BorderEdge[], | 329 void drawBoxSideFromPath(GraphicsContext*, const LayoutRect&, const Path&, c
onst class BorderEdge[], |
| 332 float thickness, float drawThickness, BoxSide, const
RenderStyle*, | 330 float thickness, float drawThickness, BoxSide, const
RenderStyle*, |
| 333 Color, EBorderStyle, BackgroundBleedAvoidance, bool
includeLogicalLeftEdge, bool includeLogicalRightEdge); | 331 Color, EBorderStyle, BackgroundBleedAvoidance, bool
includeLogicalLeftEdge, bool includeLogicalRightEdge); |
| 334 }; | 332 }; |
| 335 | 333 |
| 336 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBoxModelObject, isBoxModelObject()); | 334 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBoxModelObject, isBoxModelObject()); |
| 337 | 335 |
| 338 } // namespace WebCore | 336 } // namespace WebCore |
| 339 | 337 |
| 340 #endif // RenderBoxModelObject_h | 338 #endif // RenderBoxModelObject_h |
| OLD | NEW |