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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 RoundedRect backgroundRoundedRectAdjustedForBleedAvoidance(GraphicsContext*,
const LayoutRect&, BackgroundBleedAvoidance, InlineFlowBox*, const LayoutSize&,
bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const; | 255 RoundedRect backgroundRoundedRectAdjustedForBleedAvoidance(GraphicsContext*,
const LayoutRect&, BackgroundBleedAvoidance, InlineFlowBox*, const LayoutSize&,
bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const; |
256 LayoutRect borderInnerRectAdjustedForBleedAvoidance(GraphicsContext*, const
LayoutRect&, BackgroundBleedAvoidance) const; | 256 LayoutRect borderInnerRectAdjustedForBleedAvoidance(GraphicsContext*, const
LayoutRect&, BackgroundBleedAvoidance) const; |
257 | 257 |
258 bool shouldPaintAtLowQuality(GraphicsContext*, Image*, const void*, const La
youtSize&); | 258 bool shouldPaintAtLowQuality(GraphicsContext*, Image*, const void*, const La
youtSize&); |
259 | 259 |
260 RenderBoxModelObject* continuation() const; | 260 RenderBoxModelObject* continuation() const; |
261 void setContinuation(RenderBoxModelObject*); | 261 void setContinuation(RenderBoxModelObject*); |
262 | 262 |
263 LayoutRect localCaretRectForEmptyElement(LayoutUnit width, LayoutUnit textIn
dentOffset); | 263 LayoutRect localCaretRectForEmptyElement(LayoutUnit width, LayoutUnit textIn
dentOffset); |
264 | 264 |
265 static bool shouldAntialiasLines(GraphicsContext*); | |
266 | |
267 static void clipRoundedInnerRect(GraphicsContext*, const LayoutRect&, const
RoundedRect& clipRect); | 265 static void clipRoundedInnerRect(GraphicsContext*, const LayoutRect&, const
RoundedRect& clipRect); |
268 | 266 |
269 bool hasAutoHeightOrContainingBlockWithAutoHeight() const; | 267 bool hasAutoHeightOrContainingBlockWithAutoHeight() const; |
270 | 268 |
271 public: | 269 public: |
| 270 static bool shouldAntialiasLines(GraphicsContext*); |
| 271 |
272 // For RenderBlocks and RenderInlines with m_style->styleType() == FIRST_LET
TER, this tracks their remaining text fragments | 272 // For RenderBlocks and RenderInlines with m_style->styleType() == FIRST_LET
TER, this tracks their remaining text fragments |
273 RenderTextFragment* firstLetterRemainingText() const; | 273 RenderTextFragment* firstLetterRemainingText() const; |
274 void setFirstLetterRemainingText(RenderTextFragment*); | 274 void setFirstLetterRemainingText(RenderTextFragment*); |
275 | 275 |
276 // These functions are only used internally to manipulate the render tree st
ructure via remove/insert/appendChildNode. | 276 // These functions are only used internally to manipulate the render tree st
ructure via remove/insert/appendChildNode. |
277 // Since they are typically called only to move objects around within anonym
ous blocks (which only have layers in | 277 // Since they are typically called only to move objects around within anonym
ous blocks (which only have layers in |
278 // the case of column spans), the default for fullRemoveInsert is false rath
er than true. | 278 // the case of column spans), the default for fullRemoveInsert is false rath
er than true. |
279 void moveChildTo(RenderBoxModelObject* toBoxModelObject, RenderObject* child
, RenderObject* beforeChild, bool fullRemoveInsert = false); | 279 void moveChildTo(RenderBoxModelObject* toBoxModelObject, RenderObject* child
, RenderObject* beforeChild, bool fullRemoveInsert = false); |
280 void moveChildTo(RenderBoxModelObject* toBoxModelObject, RenderObject* child
, bool fullRemoveInsert = false) | 280 void moveChildTo(RenderBoxModelObject* toBoxModelObject, RenderObject* child
, bool fullRemoveInsert = false) |
281 { | 281 { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 void drawBoxSideFromPath(GraphicsContext*, const LayoutRect&, const Path&, c
onst class BorderEdge[], | 327 void drawBoxSideFromPath(GraphicsContext*, const LayoutRect&, const Path&, c
onst class BorderEdge[], |
328 float thickness, float drawThickness, BoxSide, const
RenderStyle*, | 328 float thickness, float drawThickness, BoxSide, const
RenderStyle*, |
329 Color, EBorderStyle, BackgroundBleedAvoidance, bool
includeLogicalLeftEdge, bool includeLogicalRightEdge); | 329 Color, EBorderStyle, BackgroundBleedAvoidance, bool
includeLogicalLeftEdge, bool includeLogicalRightEdge); |
330 }; | 330 }; |
331 | 331 |
332 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBoxModelObject, isBoxModelObject()); | 332 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBoxModelObject, isBoxModelObject()); |
333 | 333 |
334 } // namespace WebCore | 334 } // namespace WebCore |
335 | 335 |
336 #endif // RenderBoxModelObject_h | 336 #endif // RenderBoxModelObject_h |
OLD | NEW |