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) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 static void removePositionedObject(RenderBox*); | 108 static void removePositionedObject(RenderBox*); |
109 void removePositionedObjects(RenderBlock*, ContainingBlockState = SameContai
ningBlock); | 109 void removePositionedObjects(RenderBlock*, ContainingBlockState = SameContai
ningBlock); |
110 | 110 |
111 TrackedRendererListHashSet* positionedObjects() const; | 111 TrackedRendererListHashSet* positionedObjects() const; |
112 bool hasPositionedObjects() const | 112 bool hasPositionedObjects() const |
113 { | 113 { |
114 TrackedRendererListHashSet* objects = positionedObjects(); | 114 TrackedRendererListHashSet* objects = positionedObjects(); |
115 return objects && !objects->isEmpty(); | 115 return objects && !objects->isEmpty(); |
116 } | 116 } |
117 | 117 |
118 virtual bool visibleForTouchAction() const OVERRIDE FINAL { return true; } | |
119 | |
120 void addPercentHeightDescendant(RenderBox*); | 118 void addPercentHeightDescendant(RenderBox*); |
121 static void removePercentHeightDescendant(RenderBox*); | 119 static void removePercentHeightDescendant(RenderBox*); |
122 static bool hasPercentHeightContainerMap(); | 120 static bool hasPercentHeightContainerMap(); |
123 static bool hasPercentHeightDescendant(RenderBox*); | 121 static bool hasPercentHeightDescendant(RenderBox*); |
124 static void clearPercentHeightDescendantsFrom(RenderBox*); | 122 static void clearPercentHeightDescendantsFrom(RenderBox*); |
125 static void removePercentHeightDescendantIfNeeded(RenderBox*); | 123 static void removePercentHeightDescendantIfNeeded(RenderBox*); |
126 | 124 |
127 TrackedRendererListHashSet* percentHeightDescendants() const; | 125 TrackedRendererListHashSet* percentHeightDescendants() const; |
128 bool hasPercentHeightDescendants() const | 126 bool hasPercentHeightDescendants() const |
129 { | 127 { |
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 // FIXME: This is temporary as we move code that accesses block flow | 548 // FIXME: This is temporary as we move code that accesses block flow |
551 // member variables out of RenderBlock and into RenderBlockFlow. | 549 // member variables out of RenderBlock and into RenderBlockFlow. |
552 friend class RenderBlockFlow; | 550 friend class RenderBlockFlow; |
553 }; | 551 }; |
554 | 552 |
555 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); | 553 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); |
556 | 554 |
557 } // namespace WebCore | 555 } // namespace WebCore |
558 | 556 |
559 #endif // RenderBlock_h | 557 #endif // RenderBlock_h |
OLD | NEW |