| 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 | 382 |
| 383 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO
ffset) const override; | 383 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO
ffset) const override; |
| 384 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const overrid
e; | 384 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const overrid
e; |
| 385 | 385 |
| 386 int reflectionOffset() const; | 386 int reflectionOffset() const; |
| 387 // Given a rect in the object's coordinate space, returns the corresponding
rect in the reflection. | 387 // Given a rect in the object's coordinate space, returns the corresponding
rect in the reflection. |
| 388 LayoutRect reflectedRect(const LayoutRect&) const; | 388 LayoutRect reflectedRect(const LayoutRect&) const; |
| 389 | 389 |
| 390 virtual void layout() override; | 390 virtual void layout() override; |
| 391 virtual void paint(const PaintInfo&, const LayoutPoint&) override; | 391 virtual void paint(const PaintInfo&, const LayoutPoint&) override; |
| 392 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) override; | 392 virtual bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInCo
ntainer, const LayoutPoint& accumulatedOffset, HitTestAction) override; |
| 393 | 393 |
| 394 virtual LayoutUnit minPreferredLogicalWidth() const override; | 394 virtual LayoutUnit minPreferredLogicalWidth() const override; |
| 395 virtual LayoutUnit maxPreferredLogicalWidth() const override; | 395 virtual LayoutUnit maxPreferredLogicalWidth() const override; |
| 396 | 396 |
| 397 // FIXME: We should rename these back to overrideLogicalHeight/Width and hav
e them store | 397 // FIXME: We should rename these back to overrideLogicalHeight/Width and hav
e them store |
| 398 // the border-box height/width like the regular height/width accessors on La
youtBox. | 398 // the border-box height/width like the regular height/width accessors on La
youtBox. |
| 399 // Right now, these are different than contentHeight/contentWidth because th
ey still | 399 // Right now, these are different than contentHeight/contentWidth because th
ey still |
| 400 // include the scrollbar height/width. | 400 // include the scrollbar height/width. |
| 401 LayoutUnit overrideLogicalContentWidth() const; | 401 LayoutUnit overrideLogicalContentWidth() const; |
| 402 LayoutUnit overrideLogicalContentHeight() const; | 402 LayoutUnit overrideLogicalContentHeight() const; |
| (...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 912 if (UNLIKELY(inlineBoxWrapper() != 0)) | 912 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 913 deleteLineBoxWrapper(); | 913 deleteLineBoxWrapper(); |
| 914 } | 914 } |
| 915 | 915 |
| 916 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 916 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 917 } | 917 } |
| 918 | 918 |
| 919 } // namespace blink | 919 } // namespace blink |
| 920 | 920 |
| 921 #endif // LayoutBox_h | 921 #endif // LayoutBox_h |
| OLD | NEW |