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 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 // Given a rect in the object's coordinate space, returns the corresponding
rect in the reflection. | 282 // Given a rect in the object's coordinate space, returns the corresponding
rect in the reflection. |
283 LayoutRect reflectedRect(const LayoutRect&) const; | 283 LayoutRect reflectedRect(const LayoutRect&) const; |
284 | 284 |
285 virtual void layout(); | 285 virtual void layout(); |
286 virtual void paint(PaintInfo&, const LayoutPoint&); | 286 virtual void paint(PaintInfo&, const LayoutPoint&); |
287 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) OVERRIDE; | 287 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) OVERRIDE; |
288 | 288 |
289 virtual LayoutUnit minPreferredLogicalWidth() const; | 289 virtual LayoutUnit minPreferredLogicalWidth() const; |
290 virtual LayoutUnit maxPreferredLogicalWidth() const; | 290 virtual LayoutUnit maxPreferredLogicalWidth() const; |
291 | 291 |
| 292 // FIXME: We should rename these back to overrideLogicalHeight/Width and hav
e them store |
| 293 // the border-box height/width like the regular height/width accessors on Re
nderBox. |
| 294 // Right now, these are different than contentHeight/contentWidth because th
ey still |
| 295 // include the scrollbar height/width. |
292 LayoutUnit overrideLogicalContentWidth() const; | 296 LayoutUnit overrideLogicalContentWidth() const; |
293 LayoutUnit overrideLogicalContentHeight() const; | 297 LayoutUnit overrideLogicalContentHeight() const; |
294 bool hasOverrideHeight() const; | 298 bool hasOverrideHeight() const; |
295 bool hasOverrideWidth() const; | 299 bool hasOverrideWidth() const; |
296 void setOverrideLogicalContentHeight(LayoutUnit); | 300 void setOverrideLogicalContentHeight(LayoutUnit); |
297 void setOverrideLogicalContentWidth(LayoutUnit); | 301 void setOverrideLogicalContentWidth(LayoutUnit); |
298 void clearOverrideSize(); | 302 void clearOverrideSize(); |
299 | 303 |
300 virtual LayoutSize offsetFromContainer(RenderObject*, const LayoutPoint&, bo
ol* offsetDependsOnPoint = 0) const; | 304 virtual LayoutSize offsetFromContainer(RenderObject*, const LayoutPoint&, bo
ol* offsetDependsOnPoint = 0) const; |
301 | 305 |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 } | 675 } |
672 | 676 |
673 inline RenderBox* RenderBox::lastChildBox() const | 677 inline RenderBox* RenderBox::lastChildBox() const |
674 { | 678 { |
675 return toRenderBox(lastChild()); | 679 return toRenderBox(lastChild()); |
676 } | 680 } |
677 | 681 |
678 } // namespace WebCore | 682 } // namespace WebCore |
679 | 683 |
680 #endif // RenderBox_h | 684 #endif // RenderBox_h |
OLD | NEW |