| 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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 { | 283 { |
| 284 const RenderStyle* styleToUse = overrideStyle ? overrideStyle : style(); | 284 const RenderStyle* styleToUse = overrideStyle ? overrideStyle : style(); |
| 285 m_marginBox.setStart(styleToUse->direction(), value); | 285 m_marginBox.setStart(styleToUse->direction(), value); |
| 286 } | 286 } |
| 287 void setMarginEnd(LayoutUnit value, const RenderStyle* overrideStyle = 0) | 287 void setMarginEnd(LayoutUnit value, const RenderStyle* overrideStyle = 0) |
| 288 { | 288 { |
| 289 const RenderStyle* styleToUse = overrideStyle ? overrideStyle : style(); | 289 const RenderStyle* styleToUse = overrideStyle ? overrideStyle : style(); |
| 290 m_marginBox.setEnd(styleToUse->direction(), value); | 290 m_marginBox.setEnd(styleToUse->direction(), value); |
| 291 } | 291 } |
| 292 | 292 |
| 293 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO
ffset) const override; | |
| 294 virtual void absoluteQuads(Vector<FloatQuad>&) const override; | 293 virtual void absoluteQuads(Vector<FloatQuad>&) const override; |
| 295 | 294 |
| 296 virtual void layout() override; | 295 virtual void layout() override; |
| 297 virtual void paint(PaintInfo&, const LayoutPoint&) override; | 296 virtual void paint(PaintInfo&, const LayoutPoint&) override; |
| 298 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) override; | 297 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) override; |
| 299 | 298 |
| 300 virtual LayoutUnit minPreferredLogicalWidth() const override; | 299 virtual LayoutUnit minPreferredLogicalWidth() const override; |
| 301 virtual LayoutUnit maxPreferredLogicalWidth() const override; | 300 virtual LayoutUnit maxPreferredLogicalWidth() const override; |
| 302 | 301 |
| 303 // FIXME: We should rename these back to overrideLogicalHeight/Width and hav
e them store | 302 // FIXME: We should rename these back to overrideLogicalHeight/Width and hav
e them store |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 if (UNLIKELY(inlineBoxWrapper() != 0)) | 619 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 621 deleteLineBoxWrapper(); | 620 deleteLineBoxWrapper(); |
| 622 } | 621 } |
| 623 | 622 |
| 624 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 623 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 625 } | 624 } |
| 626 | 625 |
| 627 } // namespace blink | 626 } // namespace blink |
| 628 | 627 |
| 629 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_ | 628 #endif // SKY_ENGINE_CORE_RENDERING_RENDERBOX_H_ |
| OLD | NEW |