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 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
832 // If multiple-column layout results in applying an offset to the given poin
t, add the same | 832 // If multiple-column layout results in applying an offset to the given poin
t, add the same |
833 // offset to the given size. | 833 // offset to the given size. |
834 virtual void adjustForColumns(LayoutSize&, const LayoutPoint&) const { } | 834 virtual void adjustForColumns(LayoutSize&, const LayoutPoint&) const { } |
835 LayoutSize offsetForColumns(const LayoutPoint& point) const | 835 LayoutSize offsetForColumns(const LayoutPoint& point) const |
836 { | 836 { |
837 LayoutSize offset; | 837 LayoutSize offset; |
838 adjustForColumns(offset, point); | 838 adjustForColumns(offset, point); |
839 return offset; | 839 return offset; |
840 } | 840 } |
841 | 841 |
842 virtual unsigned int length() const { return 1; } | 842 virtual unsigned length() const { return 1; } |
843 | 843 |
844 bool isFloatingOrOutOfFlowPositioned() const { return (isFloating() || isOut
OfFlowPositioned()); } | 844 bool isFloatingOrOutOfFlowPositioned() const { return (isFloating() || isOut
OfFlowPositioned()); } |
845 | 845 |
846 bool isTransparent() const { return style()->opacity() < 1.0f; } | 846 bool isTransparent() const { return style()->opacity() < 1.0f; } |
847 float opacity() const { return style()->opacity(); } | 847 float opacity() const { return style()->opacity(); } |
848 | 848 |
849 bool hasReflection() const { return m_bitfields.hasReflection(); } | 849 bool hasReflection() const { return m_bitfields.hasReflection(); } |
850 | 850 |
851 // Applied as a "slop" to dirty rect checks during the outline painting phas
e's dirty-rect checks. | 851 // Applied as a "slop" to dirty rect checks during the outline painting phas
e's dirty-rect checks. |
852 int maximalOutlineSize(PaintPhase) const; | 852 int maximalOutlineSize(PaintPhase) const; |
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1417 void showTree(const WebCore::RenderObject*); | 1417 void showTree(const WebCore::RenderObject*); |
1418 void showLineTree(const WebCore::RenderObject*); | 1418 void showLineTree(const WebCore::RenderObject*); |
1419 void showRenderTree(const WebCore::RenderObject* object1); | 1419 void showRenderTree(const WebCore::RenderObject* object1); |
1420 // We don't make object2 an optional parameter so that showRenderTree | 1420 // We don't make object2 an optional parameter so that showRenderTree |
1421 // can be called from gdb easily. | 1421 // can be called from gdb easily. |
1422 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1422 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
1423 | 1423 |
1424 #endif | 1424 #endif |
1425 | 1425 |
1426 #endif // RenderObject_h | 1426 #endif // RenderObject_h |
OLD | NEW |