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 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
831 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; | 831 virtual CursorDirective getCursor(const LayoutPoint&, Cursor&) const; |
832 | 832 |
833 struct AppliedTextDecoration { | 833 struct AppliedTextDecoration { |
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 void setHadPaintInvalidation(); |
| 842 bool hadPaintInvalidation() const; |
| 843 |
841 // Return the RenderLayerModelObject in the container chain which is respons
ible for painting this object, or 0 | 844 // 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' | 845 // if painting is root-relative. This is the container that should be passed
to the 'forPaintInvalidation' |
843 // methods. | 846 // methods. |
844 virtual const RenderLayerModelObject* containerForPaintInvalidation() const; | 847 virtual const RenderLayerModelObject* containerForPaintInvalidation() const; |
845 const RenderLayerModelObject* adjustCompositedContainerForSpecialAncestors(c
onst RenderLayerModelObject* paintInvalidationContainer) const; | 848 const RenderLayerModelObject* adjustCompositedContainerForSpecialAncestors(c
onst RenderLayerModelObject* paintInvalidationContainer) const; |
846 bool isPaintInvalidationContainer() const; | 849 bool isPaintInvalidationContainer() const; |
847 | 850 |
848 LayoutRect computePaintInvalidationRect() | 851 LayoutRect computePaintInvalidationRect() |
849 { | 852 { |
850 return computePaintInvalidationRect(containerForPaintInvalidation()); | 853 return computePaintInvalidationRect(containerForPaintInvalidation()); |
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1559 void showTree(const blink::RenderObject*); | 1562 void showTree(const blink::RenderObject*); |
1560 void showLineTree(const blink::RenderObject*); | 1563 void showLineTree(const blink::RenderObject*); |
1561 void showRenderTree(const blink::RenderObject* object1); | 1564 void showRenderTree(const blink::RenderObject* object1); |
1562 // We don't make object2 an optional parameter so that showRenderTree | 1565 // We don't make object2 an optional parameter so that showRenderTree |
1563 // can be called from gdb easily. | 1566 // can be called from gdb easily. |
1564 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1567 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
1565 | 1568 |
1566 #endif | 1569 #endif |
1567 | 1570 |
1568 #endif // RenderObject_h | 1571 #endif // RenderObject_h |
OLD | NEW |