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

Side by Side Diff: Source/core/rendering/RenderBox.h

Issue 726123002: Ensure invalidation of non-composited scrollbars on resize (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
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 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 // The width/height of the contents + borders + padding. The x/y location i s relative to our container (which is not always our parent). 744 // The width/height of the contents + borders + padding. The x/y location i s relative to our container (which is not always our parent).
745 LayoutRect m_frameRect; 745 LayoutRect m_frameRect;
746 746
747 // Our intrinsic height, used for min-height: min-content etc. Maintained by 747 // Our intrinsic height, used for min-height: min-content etc. Maintained by
748 // updateLogicalHeight. This is logicalHeight() before it is clamped to 748 // updateLogicalHeight. This is logicalHeight() before it is clamped to
749 // min/max. 749 // min/max.
750 mutable LayoutUnit m_intrinsicContentLogicalHeight; 750 mutable LayoutUnit m_intrinsicContentLogicalHeight;
751 751
752 void inflatePaintInvalidationRectForReflectionAndFilter(LayoutRect&) const; 752 void inflatePaintInvalidationRectForReflectionAndFilter(LayoutRect&) const;
753 753
754 bool hasNonCompositedScrollbars() const;
755
754 protected: 756 protected:
755 LayoutBoxExtent m_marginBox; 757 LayoutBoxExtent m_marginBox;
756 758
757 // The preferred logical width of the element if it were to break its lines at every possible opportunity. 759 // The preferred logical width of the element if it were to break its lines at every possible opportunity.
758 LayoutUnit m_minPreferredLogicalWidth; 760 LayoutUnit m_minPreferredLogicalWidth;
759 761
760 // The preferred logical width of the element if it never breaks any lines a t all. 762 // The preferred logical width of the element if it never breaks any lines a t all.
761 LayoutUnit m_maxPreferredLogicalWidth; 763 LayoutUnit m_maxPreferredLogicalWidth;
762 764
763 // Our overflow information. 765 // Our overflow information.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 if (UNLIKELY(inlineBoxWrapper() != 0)) 807 if (UNLIKELY(inlineBoxWrapper() != 0))
806 deleteLineBoxWrapper(); 808 deleteLineBoxWrapper();
807 } 809 }
808 810
809 ensureRareData().m_inlineBoxWrapper = boxWrapper; 811 ensureRareData().m_inlineBoxWrapper = boxWrapper;
810 } 812 }
811 813
812 } // namespace blink 814 } // namespace blink
813 815
814 #endif // RenderBox_h 816 #endif // RenderBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698