| 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 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 | 584 |
| 585 void ScrollToPosition(const FloatPoint&, | 585 void ScrollToPosition(const FloatPoint&, |
| 586 ScrollBehavior = kScrollBehaviorInstant); | 586 ScrollBehavior = kScrollBehaviorInstant); |
| 587 void ScrollByRecursively(const ScrollOffset& delta); | 587 void ScrollByRecursively(const ScrollOffset& delta); |
| 588 // If makeVisibleInVisualViewport is set, the visual viewport will be scrolled | 588 // If makeVisibleInVisualViewport is set, the visual viewport will be scrolled |
| 589 // if required to make the rect visible. | 589 // if required to make the rect visible. |
| 590 void ScrollRectToVisible(const LayoutRect&, | 590 void ScrollRectToVisible(const LayoutRect&, |
| 591 const ScrollAlignment& align_x, | 591 const ScrollAlignment& align_x, |
| 592 const ScrollAlignment& align_y, | 592 const ScrollAlignment& align_y, |
| 593 ScrollType = kProgrammaticScroll, | 593 ScrollType = kProgrammaticScroll, |
| 594 bool make_visible_in_visual_viewport = true); | 594 bool make_visible_in_visual_viewport = true, |
| 595 ScrollBehavior = kScrollBehaviorAuto); |
| 595 | 596 |
| 596 LayoutRectOutsets MarginBoxOutsets() const override { | 597 LayoutRectOutsets MarginBoxOutsets() const override { |
| 597 return margin_box_outsets_; | 598 return margin_box_outsets_; |
| 598 } | 599 } |
| 599 LayoutUnit MarginTop() const override { return margin_box_outsets_.Top(); } | 600 LayoutUnit MarginTop() const override { return margin_box_outsets_.Top(); } |
| 600 LayoutUnit MarginBottom() const override { | 601 LayoutUnit MarginBottom() const override { |
| 601 return margin_box_outsets_.Bottom(); | 602 return margin_box_outsets_.Bottom(); |
| 602 } | 603 } |
| 603 LayoutUnit MarginLeft() const override { return margin_box_outsets_.Left(); } | 604 LayoutUnit MarginLeft() const override { return margin_box_outsets_.Left(); } |
| 604 LayoutUnit MarginRight() const override { | 605 LayoutUnit MarginRight() const override { |
| (...skipping 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1736 break_value == EBreakBetween::kLeft || | 1737 break_value == EBreakBetween::kLeft || |
| 1737 break_value == EBreakBetween::kPage || | 1738 break_value == EBreakBetween::kPage || |
| 1738 break_value == EBreakBetween::kRecto || | 1739 break_value == EBreakBetween::kRecto || |
| 1739 break_value == EBreakBetween::kRight || | 1740 break_value == EBreakBetween::kRight || |
| 1740 break_value == EBreakBetween::kVerso; | 1741 break_value == EBreakBetween::kVerso; |
| 1741 } | 1742 } |
| 1742 | 1743 |
| 1743 } // namespace blink | 1744 } // namespace blink |
| 1744 | 1745 |
| 1745 #endif // LayoutBox_h | 1746 #endif // LayoutBox_h |
| OLD | NEW |