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 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 | 298 |
299 #if ENABLE(SVG) | 299 #if ENABLE(SVG) |
300 virtual TransformationMatrix localTransform() const; | 300 virtual TransformationMatrix localTransform() const; |
301 #endif | 301 #endif |
302 | 302 |
303 protected: | 303 protected: |
304 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle); | 304 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle); |
305 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 305 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
306 virtual void updateBoxModelInfoFromStyle(); | 306 virtual void updateBoxModelInfoFromStyle(); |
307 | 307 |
308 void paintFillLayer(const PaintInfo&, const Color&, const FillLayer*, int tx
, int ty, int width, int height, CompositeOperator = CompositeSourceOver); | 308 void paintFillLayer(const PaintInfo&, const Color&, const FillLayer*, int tx
, int ty, int width, int height, CompositeOperator op, RenderObject* backgroundO
bject); |
309 void paintFillLayers(const PaintInfo&, const Color&, const FillLayer*, int t
x, int ty, int width, int height, CompositeOperator = CompositeSourceOver); | 309 void paintFillLayers(const PaintInfo&, const Color&, const FillLayer*, int t
x, int ty, int width, int height, CompositeOperator = CompositeSourceOver, Rende
rObject* backgroundObject = 0); |
310 | 310 |
311 void paintMaskImages(const PaintInfo&, int tx, int ty, int width, int height
); | 311 void paintMaskImages(const PaintInfo&, int tx, int ty, int width, int height
); |
312 | 312 |
313 #if PLATFORM(MAC) | 313 #if PLATFORM(MAC) |
314 void paintCustomHighlight(int tx, int ty, const AtomicString& type, bool beh
indText); | 314 void paintCustomHighlight(int tx, int ty, const AtomicString& type, bool beh
indText); |
315 #endif | 315 #endif |
316 | 316 |
317 void calcAbsoluteHorizontal(); | 317 void calcAbsoluteHorizontal(); |
318 | 318 |
319 virtual bool shouldCalculateSizeAsReplaced() const { return isReplaced() &&
!isInlineBlockOrInlineTable(); } | 319 virtual bool shouldCalculateSizeAsReplaced() const { return isReplaced() &&
!isInlineBlockOrInlineTable(); } |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 } | 413 } |
414 | 414 |
415 inline RenderBox* RenderBox::lastChildBox() const | 415 inline RenderBox* RenderBox::lastChildBox() const |
416 { | 416 { |
417 return toRenderBox(lastChild()); | 417 return toRenderBox(lastChild()); |
418 } | 418 } |
419 | 419 |
420 } // namespace WebCore | 420 } // namespace WebCore |
421 | 421 |
422 #endif // RenderBox_h | 422 #endif // RenderBox_h |
OLD | NEW |