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

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

Issue 26390004: Rework SVG sizing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Minor touch-ups to the tests; only fail now should be crbug.com/363126 Created 6 years, 8 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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 568
569 LayoutRect logicalVisualOverflowRectForPropagation(RenderStyle*) const; 569 LayoutRect logicalVisualOverflowRectForPropagation(RenderStyle*) const;
570 LayoutRect visualOverflowRectForPropagation(RenderStyle*) const; 570 LayoutRect visualOverflowRectForPropagation(RenderStyle*) const;
571 LayoutRect logicalLayoutOverflowRectForPropagation(RenderStyle*) const; 571 LayoutRect logicalLayoutOverflowRectForPropagation(RenderStyle*) const;
572 LayoutRect layoutOverflowRectForPropagation(RenderStyle*) const; 572 LayoutRect layoutOverflowRectForPropagation(RenderStyle*) const;
573 573
574 bool hasRenderOverflow() const { return m_overflow; } 574 bool hasRenderOverflow() const { return m_overflow; }
575 bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().conta ins(m_overflow->visualOverflowRect()); } 575 bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().conta ins(m_overflow->visualOverflowRect()); }
576 576
577 virtual bool needsPreferredWidthsRecalculation() const; 577 virtual bool needsPreferredWidthsRecalculation() const;
578 virtual void computeIntrinsicRatioInformation(FloatSize& /* intrinsicSize */ , double& /* intrinsicRatio */, bool& /* isPercentageIntrinsicSize */) const { } 578 virtual void computeIntrinsicRatioInformation(FloatSize& /* intrinsicSize */ , double& /* intrinsicRatio */) const { }
579 579
580 IntSize scrolledContentOffset() const; 580 IntSize scrolledContentOffset() const;
581 LayoutSize cachedSizeForOverflowClip() const; 581 LayoutSize cachedSizeForOverflowClip() const;
582 void applyCachedClipAndScrollOffsetForRepaint(LayoutRect& paintRect) const; 582 void applyCachedClipAndScrollOffsetForRepaint(LayoutRect& paintRect) const;
583 583
584 virtual bool hasRelativeLogicalHeight() const; 584 virtual bool hasRelativeLogicalHeight() const;
585 585
586 bool hasHorizontalLayoutOverflow() const 586 bool hasHorizontalLayoutOverflow() const
587 { 587 {
588 if (!m_overflow) 588 if (!m_overflow)
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
778 if (UNLIKELY(inlineBoxWrapper() != 0)) 778 if (UNLIKELY(inlineBoxWrapper() != 0))
779 deleteLineBoxWrapper(); 779 deleteLineBoxWrapper();
780 } 780 }
781 781
782 ensureRareData().m_inlineBoxWrapper = boxWrapper; 782 ensureRareData().m_inlineBoxWrapper = boxWrapper;
783 } 783 }
784 784
785 } // namespace WebCore 785 } // namespace WebCore
786 786
787 #endif // RenderBox_h 787 #endif // RenderBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698