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 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
573 | 573 |
574 // Elements such as the <input> field override this to specify that they are scrollable | 574 // Elements such as the <input> field override this to specify that they are scrollable |
575 // outside the context of the CSS overflow style | 575 // outside the context of the CSS overflow style |
576 virtual bool isIntrinsicallyScrollable(ScrollbarOrientation orientation) con st { return false; } | 576 virtual bool isIntrinsicallyScrollable(ScrollbarOrientation orientation) con st { return false; } |
577 | 577 |
578 bool hasUnsplittableScrollingOverflow() const; | 578 bool hasUnsplittableScrollingOverflow() const; |
579 bool isUnsplittableForPagination() const; | 579 bool isUnsplittableForPagination() const; |
580 | 580 |
581 virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* e xtraWidthToEndOfLine = nullptr) override; | 581 virtual LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* e xtraWidthToEndOfLine = nullptr) override; |
582 | 582 |
583 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro llbarSizeRelevancy = IgnoreOverlayScrollbarSize); | 583 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro llbarSizeRelevancy = IgnoreOverlayScrollbarSize) const; |
jbroman
2015/06/29 18:11:56
These constness changes don't look like they need
pdr.
2015/06/29 22:20:03
Pulled out into https://codereview.chromium.org/12
| |
584 LayoutRect clipRect(const LayoutPoint& location); | 584 LayoutRect clipRect(const LayoutPoint& location); |
585 virtual bool hasControlClip() const { return false; } | 585 virtual bool hasControlClip() const { return false; } |
586 virtual LayoutRect controlClipRect(const LayoutPoint&) const { return Layout Rect(); } | 586 virtual LayoutRect controlClipRect(const LayoutPoint&) const { return Layout Rect(); } |
587 | 587 |
588 virtual void paintObject(const PaintInfo&, const LayoutPoint&) { ASSERT_NOT_ REACHED(); } | 588 virtual void paintObject(const PaintInfo&, const LayoutPoint&) { ASSERT_NOT_ REACHED(); } |
589 virtual void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoin t&); | 589 virtual void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoin t&); |
590 virtual void paintMask(const PaintInfo&, const LayoutPoint&); | 590 virtual void paintMask(const PaintInfo&, const LayoutPoint&); |
591 virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) overrid e; | 591 virtual void imageChanged(WrappedImagePtr, const IntRect* = nullptr) overrid e; |
592 | 592 |
593 void logicalExtentAfterUpdatingLogicalWidth(const LayoutUnit& logicalTop, Lo gicalExtentComputedValues&); | 593 void logicalExtentAfterUpdatingLogicalWidth(const LayoutUnit& logicalTop, Lo gicalExtentComputedValues&); |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
935 if (UNLIKELY(inlineBoxWrapper() != nullptr)) | 935 if (UNLIKELY(inlineBoxWrapper() != nullptr)) |
936 deleteLineBoxWrapper(); | 936 deleteLineBoxWrapper(); |
937 } | 937 } |
938 | 938 |
939 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 939 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
940 } | 940 } |
941 | 941 |
942 } // namespace blink | 942 } // namespace blink |
943 | 943 |
944 #endif // LayoutBox_h | 944 #endif // LayoutBox_h |
OLD | NEW |