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 * (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) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. |
7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1017 } | 1017 } |
1018 | 1018 |
1019 void RenderObject::addAbsoluteRectForLayer(LayoutRect& result) | 1019 void RenderObject::addAbsoluteRectForLayer(LayoutRect& result) |
1020 { | 1020 { |
1021 if (hasLayer()) | 1021 if (hasLayer()) |
1022 result.unite(absoluteBoundingBoxRect()); | 1022 result.unite(absoluteBoundingBoxRect()); |
1023 for (RenderObject* current = slowFirstChild(); current; current = current->n
extSibling()) | 1023 for (RenderObject* current = slowFirstChild(); current; current = current->n
extSibling()) |
1024 current->addAbsoluteRectForLayer(result); | 1024 current->addAbsoluteRectForLayer(result); |
1025 } | 1025 } |
1026 | 1026 |
1027 void RenderObject::paint(PaintInfo&, const LayoutPoint&) | 1027 void RenderObject::paint(PaintInfo&, const LayoutPoint&, Vector<RenderBox*>& lay
ers) |
1028 { | 1028 { |
1029 } | 1029 } |
1030 | 1030 |
1031 const RenderLayerModelObject* RenderObject::containerForPaintInvalidation() cons
t | 1031 const RenderLayerModelObject* RenderObject::containerForPaintInvalidation() cons
t |
1032 { | 1032 { |
1033 return isRooted() ? view() : 0; | 1033 return isRooted() ? view() : 0; |
1034 } | 1034 } |
1035 | 1035 |
1036 const RenderLayerModelObject* RenderObject::adjustCompositedContainerForSpecialA
ncestors(const RenderLayerModelObject* paintInvalidationContainer) const | 1036 const RenderLayerModelObject* RenderObject::adjustCompositedContainerForSpecialA
ncestors(const RenderLayerModelObject* paintInvalidationContainer) const |
1037 { | 1037 { |
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1987 { | 1987 { |
1988 if (object1) { | 1988 if (object1) { |
1989 const blink::RenderObject* root = object1; | 1989 const blink::RenderObject* root = object1; |
1990 while (root->parent()) | 1990 while (root->parent()) |
1991 root = root->parent(); | 1991 root = root->parent(); |
1992 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); | 1992 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); |
1993 } | 1993 } |
1994 } | 1994 } |
1995 | 1995 |
1996 #endif | 1996 #endif |
OLD | NEW |