| 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 | 294 |
| 295 void paintLayer(GraphicsContext*, const LayerPaintingInfo&); | 295 void paintLayer(GraphicsContext*, const LayerPaintingInfo&); |
| 296 | 296 |
| 297 virtual void layout() override; | 297 virtual void layout() override; |
| 298 virtual void paint(PaintInfo&, const LayoutPoint&, Vector<RenderBox*>& layer
s) override; | 298 virtual void paint(PaintInfo&, const LayoutPoint&, Vector<RenderBox*>& layer
s) override; |
| 299 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset) override; | 299 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset) override; |
| 300 | 300 |
| 301 virtual LayoutUnit minPreferredLogicalWidth() const override; | 301 virtual LayoutUnit minPreferredLogicalWidth() const override; |
| 302 virtual LayoutUnit maxPreferredLogicalWidth() const override; | 302 virtual LayoutUnit maxPreferredLogicalWidth() const override; |
| 303 | 303 |
| 304 void setMinPreferredLogicalWidth(LayoutUnit); |
| 305 void setMaxPreferredLogicalWidth(LayoutUnit); |
| 306 |
| 304 // FIXME: We should rename these back to overrideLogicalHeight/Width and hav
e them store | 307 // FIXME: We should rename these back to overrideLogicalHeight/Width and hav
e them store |
| 305 // the border-box height/width like the regular height/width accessors on Re
nderBox. | 308 // the border-box height/width like the regular height/width accessors on Re
nderBox. |
| 306 // Right now, these are different than contentHeight/contentWidth because th
ey still | 309 // Right now, these are different than contentHeight/contentWidth because th
ey still |
| 307 // include the scrollbar height/width. | 310 // include the scrollbar height/width. |
| 308 LayoutUnit overrideLogicalContentWidth() const; | 311 LayoutUnit overrideLogicalContentWidth() const; |
| 309 LayoutUnit overrideLogicalContentHeight() const; | 312 LayoutUnit overrideLogicalContentHeight() const; |
| 310 bool hasOverrideHeight() const; | 313 bool hasOverrideHeight() const; |
| 311 bool hasOverrideWidth() const; | 314 bool hasOverrideWidth() const; |
| 312 void setOverrideLogicalContentHeight(LayoutUnit); | 315 void setOverrideLogicalContentHeight(LayoutUnit); |
| 313 void setOverrideLogicalContentWidth(LayoutUnit); | 316 void setOverrideLogicalContentWidth(LayoutUnit); |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 if (UNLIKELY(inlineBoxWrapper() != 0)) | 614 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 612 deleteLineBoxWrapper(); | 615 deleteLineBoxWrapper(); |
| 613 } | 616 } |
| 614 | 617 |
| 615 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 618 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 616 } | 619 } |
| 617 | 620 |
| 618 } // namespace blink | 621 } // namespace blink |
| 619 | 622 |
| 620 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_ | 623 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_ |
| OLD | NEW |