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

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

Issue 1212963002: Remove BackgroundBleedBackgroundOverBorder (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove BackgroundBleedBackgroundOverBorder 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »
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 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 { 717 {
718 return ShapeOutsideInfo::isEnabledFor(*this) ? ShapeOutsideInfo::info(*t his) : nullptr; 718 return ShapeOutsideInfo::isEnabledFor(*this) ? ShapeOutsideInfo::info(*t his) : nullptr;
719 } 719 }
720 720
721 void markShapeOutsideDependentsForLayout() 721 void markShapeOutsideDependentsForLayout()
722 { 722 {
723 if (isFloating()) 723 if (isFloating())
724 removeFloatingOrPositionedChildFromBlockLists(); 724 removeFloatingOrPositionedChildFromBlockLists();
725 } 725 }
726 726
727 bool backgroundHasOpaqueTopLayer() const;
728
729 void setIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalHeig ht) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight; } 727 void setIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalHeig ht) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight; }
730 728
731 bool canRenderBorderImage() const; 729 bool canRenderBorderImage() const;
732 730
733 protected: 731 protected:
734 virtual void willBeDestroyed() override; 732 virtual void willBeDestroyed() override;
735 733
736 virtual void styleWillChange(StyleDifference, const ComputedStyle& newStyle) override; 734 virtual void styleWillChange(StyleDifference, const ComputedStyle& newStyle) override;
737 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; 735 virtual void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override;
738 virtual void updateFromStyle() override; 736 virtual void updateFromStyle() override;
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 if (UNLIKELY(inlineBoxWrapper() != nullptr)) 935 if (UNLIKELY(inlineBoxWrapper() != nullptr))
938 deleteLineBoxWrapper(); 936 deleteLineBoxWrapper();
939 } 937 }
940 938
941 ensureRareData().m_inlineBoxWrapper = boxWrapper; 939 ensureRareData().m_inlineBoxWrapper = boxWrapper;
942 } 940 }
943 941
944 } // namespace blink 942 } // namespace blink
945 943
946 #endif // LayoutBox_h 944 #endif // LayoutBox_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/layout/LayoutBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698