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

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: nit refine. Created 4 years, 9 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
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...) Expand 10 before | Expand all | Expand 10 after
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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
1131 if (UNLIKELY(m_inlineBoxWrapper != nullptr)) 1131 if (UNLIKELY(m_inlineBoxWrapper != nullptr))
1132 deleteLineBoxWrapper(); 1132 deleteLineBoxWrapper();
1133 } 1133 }
1134 1134
1135 m_inlineBoxWrapper = boxWrapper; 1135 m_inlineBoxWrapper = boxWrapper;
1136 } 1136 }
1137 1137
1138 } // namespace blink 1138 } // namespace blink
1139 1139
1140 #endif // LayoutBox_h 1140 #endif // LayoutBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698