| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 834 TextDecorationStyle style; | 834 TextDecorationStyle style; |
| 835 AppliedTextDecoration() : color(Color::transparent), style(TextDecoratio
nStyleSolid) { } | 835 AppliedTextDecoration() : color(Color::transparent), style(TextDecoratio
nStyleSolid) { } |
| 836 }; | 836 }; |
| 837 | 837 |
| 838 void getTextDecorations(unsigned decorations, AppliedTextDecoration& underli
ne, AppliedTextDecoration& overline, AppliedTextDecoration& linethrough, bool qu
irksMode = false, bool firstlineStyle = false); | 838 void getTextDecorations(unsigned decorations, AppliedTextDecoration& underli
ne, AppliedTextDecoration& overline, AppliedTextDecoration& linethrough, bool qu
irksMode = false, bool firstlineStyle = false); |
| 839 | 839 |
| 840 // Return the LayoutBoxModelObject in the container chain which is responsib
le for painting this object, or 0 | 840 // Return the LayoutBoxModelObject in the container chain which is responsib
le for painting this object, or 0 |
| 841 // if painting is root-relative. This is the container that should be passed
to the 'forPaintInvalidation' | 841 // if painting is root-relative. This is the container that should be passed
to the 'forPaintInvalidation' |
| 842 // methods. | 842 // methods. |
| 843 const LayoutBoxModelObject* containerForPaintInvalidation() const; | 843 const LayoutBoxModelObject* containerForPaintInvalidation() const; |
| 844 const LayoutBoxModelObject* adjustCompositedContainerForSpecialAncestors(con
st LayoutBoxModelObject* paintInvalidationContainer) const; | 844 const LayoutBoxModelObject* containerForPaintInvalidation(const LayoutBoxMod
elObject* paintInvalidationContainer) const; |
| 845 bool isPaintInvalidationContainer() const; | 845 bool isPaintInvalidationContainer() const; |
| 846 | 846 |
| 847 LayoutRect computePaintInvalidationRect() | 847 LayoutRect computePaintInvalidationRect() |
| 848 { | 848 { |
| 849 return computePaintInvalidationRect(containerForPaintInvalidation()); | 849 return computePaintInvalidationRect(containerForPaintInvalidation()); |
| 850 } | 850 } |
| 851 | 851 |
| 852 // Returns the paint invalidation rect for this LayoutObject in the coordina
te space of the paint backing (typically a GraphicsLayer) for |paintInvalidation
Container|. | 852 // Returns the paint invalidation rect for this LayoutObject in the coordina
te space of the paint backing (typically a GraphicsLayer) for |paintInvalidation
Container|. |
| 853 LayoutRect computePaintInvalidationRect(const LayoutBoxModelObject* paintInv
alidationContainer, const PaintInvalidationState* = 0) const; | 853 LayoutRect computePaintInvalidationRect(const LayoutBoxModelObject* paintInv
alidationContainer, const PaintInvalidationState* = 0) const; |
| 854 | 854 |
| (...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1666 void showTree(const blink::LayoutObject*); | 1666 void showTree(const blink::LayoutObject*); |
| 1667 void showLineTree(const blink::LayoutObject*); | 1667 void showLineTree(const blink::LayoutObject*); |
| 1668 void showLayoutTree(const blink::LayoutObject* object1); | 1668 void showLayoutTree(const blink::LayoutObject* object1); |
| 1669 // We don't make object2 an optional parameter so that showLayoutTree | 1669 // We don't make object2 an optional parameter so that showLayoutTree |
| 1670 // can be called from gdb easily. | 1670 // can be called from gdb easily. |
| 1671 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); | 1671 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec
t* object2); |
| 1672 | 1672 |
| 1673 #endif | 1673 #endif |
| 1674 | 1674 |
| 1675 #endif // LayoutObject_h | 1675 #endif // LayoutObject_h |
| OLD | NEW |