Chromium Code Reviews

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

Issue 1728313003: Split ImageResourceClient into ResourceClient and ImageResourceObserver [2/2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and reflect comment Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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 716 matching lines...)
727 727
728 LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidt hToEndOfLine = nullptr) override; 728 LayoutRect localCaretRect(InlineBox*, int caretOffset, LayoutUnit* extraWidt hToEndOfLine = nullptr) override;
729 729
730 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro llbarSizeRelevancy = IgnoreOverlayScrollbarSize) const; 730 virtual LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScro llbarSizeRelevancy = IgnoreOverlayScrollbarSize) const;
731 LayoutRect clipRect(const LayoutPoint& location) const; 731 LayoutRect clipRect(const LayoutPoint& location) const;
732 virtual bool hasControlClip() const { return false; } 732 virtual bool hasControlClip() const { return false; }
733 virtual LayoutRect controlClipRect(const LayoutPoint&) const { return Layout Rect(); } 733 virtual LayoutRect controlClipRect(const LayoutPoint&) const { return Layout Rect(); }
734 734
735 virtual void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoin t&) const; 735 virtual void paintBoxDecorationBackground(const PaintInfo&, const LayoutPoin t&) const;
736 virtual void paintMask(const PaintInfo&, const LayoutPoint&) const; 736 virtual void paintMask(const PaintInfo&, const LayoutPoint&) const;
737 void imageChanged(WrappedImagePtr, const IntRect* = nullptr) override; 737 void imageChanged(bool, WrappedImagePtr, const IntRect* = nullptr) override;
738 ResourcePriority computeResourcePriority() const final; 738 ResourcePriority computeResourcePriority() const final;
739 739
740 void logicalExtentAfterUpdatingLogicalWidth(const LayoutUnit& logicalTop, Lo gicalExtentComputedValues&); 740 void logicalExtentAfterUpdatingLogicalWidth(const LayoutUnit& logicalTop, Lo gicalExtentComputedValues&);
741 741
742 PositionWithAffinity positionForPoint(const LayoutPoint&) override; 742 PositionWithAffinity positionForPoint(const LayoutPoint&) override;
743 743
744 void removeFloatingOrPositionedChildFromBlockLists(); 744 void removeFloatingOrPositionedChildFromBlockLists();
745 745
746 PaintLayer* enclosingFloatPaintingLayer() const; 746 PaintLayer* enclosingFloatPaintingLayer() const;
747 747
(...skipping 384 matching lines...)
1132 if (UNLIKELY(m_inlineBoxWrapper != nullptr)) 1132 if (UNLIKELY(m_inlineBoxWrapper != nullptr))
1133 deleteLineBoxWrapper(); 1133 deleteLineBoxWrapper();
1134 } 1134 }
1135 1135
1136 m_inlineBoxWrapper = boxWrapper; 1136 m_inlineBoxWrapper = boxWrapper;
1137 } 1137 }
1138 1138
1139 } // namespace blink 1139 } // namespace blink
1140 1140
1141 #endif // LayoutBox_h 1141 #endif // LayoutBox_h
OLDNEW

Powered by Google App Engine