| 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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 bool hasSameDirectionAs(const RenderBox* object) const { return style()->dir
ection() == object->style()->direction(); } | 426 bool hasSameDirectionAs(const RenderBox* object) const { return style()->dir
ection() == object->style()->direction(); } |
| 427 | 427 |
| 428 protected: | 428 protected: |
| 429 virtual void willBeDestroyed() override; | 429 virtual void willBeDestroyed() override; |
| 430 | 430 |
| 431 virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle) o
verride; | 431 virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle) o
verride; |
| 432 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov
erride; | 432 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov
erride; |
| 433 virtual void updateFromStyle() override; | 433 virtual void updateFromStyle() override; |
| 434 | 434 |
| 435 void paintBackground(const PaintInfo&, const LayoutRect&, const Color& backg
roundColor, BackgroundBleedAvoidance = BackgroundBleedNone); | 435 void paintBackground(const PaintInfo&, const LayoutRect&, const Color& backg
roundColor, BackgroundBleedAvoidance = BackgroundBleedNone); |
| 436 | |
| 437 void paintFillLayer(const PaintInfo&, const Color&, const FillLayer&, const
LayoutRect&, BackgroundBleedAvoidance, RenderObject* backgroundObject, bool skip
BaseColor = false); | 436 void paintFillLayer(const PaintInfo&, const Color&, const FillLayer&, const
LayoutRect&, BackgroundBleedAvoidance, RenderObject* backgroundObject, bool skip
BaseColor = false); |
| 438 void paintFillLayers(const PaintInfo&, const Color&, const FillLayer&, const
LayoutRect&, BackgroundBleedAvoidance = BackgroundBleedNone, RenderObject* back
groundObject = 0); | 437 void paintFillLayers(const PaintInfo&, const Color&, const FillLayer&, const
LayoutRect&, BackgroundBleedAvoidance = BackgroundBleedNone, RenderObject* back
groundObject = 0); |
| 439 | |
| 440 void paintMaskImages(const PaintInfo&, const LayoutRect&); | |
| 441 void paintBoxDecorationBackgroundWithRect(PaintInfo&, const LayoutPoint&, co
nst LayoutRect&); | 438 void paintBoxDecorationBackgroundWithRect(PaintInfo&, const LayoutPoint&, co
nst LayoutRect&); |
| 442 | 439 |
| 443 // Information extracted from RenderStyle for box painting. | 440 // Information extracted from RenderStyle for box painting. |
| 444 // These are always needed during box painting and recomputing them takes ti
me. | 441 // These are always needed during box painting and recomputing them takes ti
me. |
| 445 struct BoxDecorationData { | 442 struct BoxDecorationData { |
| 446 BoxDecorationData(const RenderStyle&); | 443 BoxDecorationData(const RenderStyle&); |
| 447 | 444 |
| 448 Color backgroundColor; | 445 Color backgroundColor; |
| 449 bool hasBackground; | 446 bool hasBackground; |
| 450 bool hasBorder; | 447 bool hasBorder; |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 if (UNLIKELY(inlineBoxWrapper() != 0)) | 568 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 572 deleteLineBoxWrapper(); | 569 deleteLineBoxWrapper(); |
| 573 } | 570 } |
| 574 | 571 |
| 575 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 572 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 576 } | 573 } |
| 577 | 574 |
| 578 } // namespace blink | 575 } // namespace blink |
| 579 | 576 |
| 580 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_ | 577 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_ |
| OLD | NEW |