Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(572)

Side by Side Diff: Source/core/layout/LayoutBox.h

Issue 1193433004: Blink-side contiguous allocation of display items. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Minor tweaks to make reviewing easier Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/layout/LayoutBox.cpp » ('j') | Source/core/paint/BoxClipper.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | Source/core/layout/LayoutBox.cpp » ('j') | Source/core/paint/BoxClipper.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698