| 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 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 583 | 583 |
| 584 void scrollToPosition(const FloatPoint&, | 584 void scrollToPosition(const FloatPoint&, |
| 585 ScrollBehavior = ScrollBehaviorInstant); | 585 ScrollBehavior = ScrollBehaviorInstant); |
| 586 void scrollByRecursively(const ScrollOffset& delta); | 586 void scrollByRecursively(const ScrollOffset& delta); |
| 587 // If makeVisibleInVisualViewport is set, the visual viewport will be scrolled | 587 // If makeVisibleInVisualViewport is set, the visual viewport will be scrolled |
| 588 // if required to make the rect visible. | 588 // if required to make the rect visible. |
| 589 void scrollRectToVisible(const LayoutRect&, | 589 void scrollRectToVisible(const LayoutRect&, |
| 590 const ScrollAlignment& alignX, | 590 const ScrollAlignment& alignX, |
| 591 const ScrollAlignment& alignY, | 591 const ScrollAlignment& alignY, |
| 592 ScrollType = ProgrammaticScroll, | 592 ScrollType = ProgrammaticScroll, |
| 593 bool makeVisibleInVisualViewport = true); | 593 bool makeVisibleInVisualViewport = true, |
| 594 ScrollBehavior = ScrollBehaviorAuto); |
| 594 | 595 |
| 595 LayoutRectOutsets marginBoxOutsets() const override { | 596 LayoutRectOutsets marginBoxOutsets() const override { |
| 596 return m_marginBoxOutsets; | 597 return m_marginBoxOutsets; |
| 597 } | 598 } |
| 598 LayoutUnit marginTop() const override { return m_marginBoxOutsets.top(); } | 599 LayoutUnit marginTop() const override { return m_marginBoxOutsets.top(); } |
| 599 LayoutUnit marginBottom() const override { | 600 LayoutUnit marginBottom() const override { |
| 600 return m_marginBoxOutsets.bottom(); | 601 return m_marginBoxOutsets.bottom(); |
| 601 } | 602 } |
| 602 LayoutUnit marginLeft() const override { return m_marginBoxOutsets.left(); } | 603 LayoutUnit marginLeft() const override { return m_marginBoxOutsets.left(); } |
| 603 LayoutUnit marginRight() const override { return m_marginBoxOutsets.right(); } | 604 LayoutUnit marginRight() const override { return m_marginBoxOutsets.right(); } |
| (...skipping 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1702 breakValue == EBreakBetween::kLeft || | 1703 breakValue == EBreakBetween::kLeft || |
| 1703 breakValue == EBreakBetween::kPage || | 1704 breakValue == EBreakBetween::kPage || |
| 1704 breakValue == EBreakBetween::kRecto || | 1705 breakValue == EBreakBetween::kRecto || |
| 1705 breakValue == EBreakBetween::kRight || | 1706 breakValue == EBreakBetween::kRight || |
| 1706 breakValue == EBreakBetween::kVerso; | 1707 breakValue == EBreakBetween::kVerso; |
| 1707 } | 1708 } |
| 1708 | 1709 |
| 1709 } // namespace blink | 1710 } // namespace blink |
| 1710 | 1711 |
| 1711 #endif // LayoutBox_h | 1712 #endif // LayoutBox_h |
| OLD | NEW |