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 Color color; | 834 Color color; |
835 TextDecorationStyle style; | 835 TextDecorationStyle style; |
836 AppliedTextDecoration() : color(Color::transparent), style(TextDecoratio
nStyleSolid) { } | 836 AppliedTextDecoration() : color(Color::transparent), style(TextDecoratio
nStyleSolid) { } |
837 }; | 837 }; |
838 | 838 |
839 void getTextDecorations(unsigned decorations, AppliedTextDecoration& underli
ne, AppliedTextDecoration& overline, AppliedTextDecoration& linethrough, bool qu
irksMode = false, bool firstlineStyle = false); | 839 void getTextDecorations(unsigned decorations, AppliedTextDecoration& underli
ne, AppliedTextDecoration& overline, AppliedTextDecoration& linethrough, bool qu
irksMode = false, bool firstlineStyle = false); |
840 | 840 |
841 // Return the RenderLayerModelObject in the container chain which is respons
ible for painting this object, or 0 | 841 // Return the RenderLayerModelObject in the container chain which is respons
ible for painting this object, or 0 |
842 // if painting is root-relative. This is the container that should be passed
to the 'forPaintInvalidation' | 842 // if painting is root-relative. This is the container that should be passed
to the 'forPaintInvalidation' |
843 // methods. | 843 // methods. |
844 const RenderLayerModelObject* containerForPaintInvalidation() const; | 844 virtual const RenderLayerModelObject* containerForPaintInvalidation() const; |
845 const RenderLayerModelObject* adjustCompositedContainerForSpecialAncestors(c
onst RenderLayerModelObject* paintInvalidationContainer) const; | 845 const RenderLayerModelObject* adjustCompositedContainerForSpecialAncestors(c
onst RenderLayerModelObject* paintInvalidationContainer) const; |
846 bool isPaintInvalidationContainer() const; | 846 bool isPaintInvalidationContainer() const; |
847 | 847 |
848 LayoutRect computePaintInvalidationRect() | 848 LayoutRect computePaintInvalidationRect() |
849 { | 849 { |
850 return computePaintInvalidationRect(containerForPaintInvalidation()); | 850 return computePaintInvalidationRect(containerForPaintInvalidation()); |
851 } | 851 } |
852 | 852 |
853 // Returns the paint invalidation rect for this RenderObject in the coordina
te space of the paint backing (typically a GraphicsLayer) for |paintInvalidation
Container|. | 853 // Returns the paint invalidation rect for this RenderObject in the coordina
te space of the paint backing (typically a GraphicsLayer) for |paintInvalidation
Container|. |
854 LayoutRect computePaintInvalidationRect(const RenderLayerModelObject* paintI
nvalidationContainer, const PaintInvalidationState* = 0) const; | 854 LayoutRect computePaintInvalidationRect(const RenderLayerModelObject* paintI
nvalidationContainer, const PaintInvalidationState* = 0) const; |
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1559 void showTree(const blink::RenderObject*); | 1559 void showTree(const blink::RenderObject*); |
1560 void showLineTree(const blink::RenderObject*); | 1560 void showLineTree(const blink::RenderObject*); |
1561 void showRenderTree(const blink::RenderObject* object1); | 1561 void showRenderTree(const blink::RenderObject* object1); |
1562 // We don't make object2 an optional parameter so that showRenderTree | 1562 // We don't make object2 an optional parameter so that showRenderTree |
1563 // can be called from gdb easily. | 1563 // can be called from gdb easily. |
1564 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1564 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
1565 | 1565 |
1566 #endif | 1566 #endif |
1567 | 1567 |
1568 #endif // RenderObject_h | 1568 #endif // RenderObject_h |
OLD | NEW |