| 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 const RenderStyle* styleToUse = overrideStyle ? overrideStyle : style(); | 265 const RenderStyle* styleToUse = overrideStyle ? overrideStyle : style(); |
| 266 m_marginBox.setEnd(styleToUse->direction(), value); | 266 m_marginBox.setEnd(styleToUse->direction(), value); |
| 267 } | 267 } |
| 268 | 268 |
| 269 virtual void absoluteQuads(Vector<FloatQuad>&) const override; | 269 virtual void absoluteQuads(Vector<FloatQuad>&) const override; |
| 270 | 270 |
| 271 void paintLayer(GraphicsContext* context, RenderLayer* rootLayer, const IntR
ect& rect); | 271 void paintLayer(GraphicsContext* context, RenderLayer* rootLayer, const IntR
ect& rect); |
| 272 | 272 |
| 273 virtual void layout() override; | 273 virtual void layout() override; |
| 274 virtual void paint(PaintInfo&, const LayoutPoint&, Vector<RenderBox*>& layer
s) override; | 274 virtual void paint(PaintInfo&, const LayoutPoint&, Vector<RenderBox*>& layer
s) override; |
| 275 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) override; | 275 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset) override; |
| 276 | 276 |
| 277 virtual LayoutUnit minPreferredLogicalWidth() const override; | 277 virtual LayoutUnit minPreferredLogicalWidth() const override; |
| 278 virtual LayoutUnit maxPreferredLogicalWidth() const override; | 278 virtual LayoutUnit maxPreferredLogicalWidth() const override; |
| 279 | 279 |
| 280 // FIXME: We should rename these back to overrideLogicalHeight/Width and hav
e them store | 280 // FIXME: We should rename these back to overrideLogicalHeight/Width and hav
e them store |
| 281 // the border-box height/width like the regular height/width accessors on Re
nderBox. | 281 // the border-box height/width like the regular height/width accessors on Re
nderBox. |
| 282 // Right now, these are different than contentHeight/contentWidth because th
ey still | 282 // Right now, these are different than contentHeight/contentWidth because th
ey still |
| 283 // include the scrollbar height/width. | 283 // include the scrollbar height/width. |
| 284 LayoutUnit overrideLogicalContentWidth() const; | 284 LayoutUnit overrideLogicalContentWidth() const; |
| 285 LayoutUnit overrideLogicalContentHeight() const; | 285 LayoutUnit overrideLogicalContentHeight() const; |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 if (UNLIKELY(inlineBoxWrapper() != 0)) | 571 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 572 deleteLineBoxWrapper(); | 572 deleteLineBoxWrapper(); |
| 573 } | 573 } |
| 574 | 574 |
| 575 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 575 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 576 } | 576 } |
| 577 | 577 |
| 578 } // namespace blink | 578 } // namespace blink |
| 579 | 579 |
| 580 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_ | 580 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_ |
| OLD | NEW |