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

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: Fix mishap during rebase in svg.css 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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 566
567 LayoutRect logicalVisualOverflowRectForPropagation(RenderStyle*) const; 567 LayoutRect logicalVisualOverflowRectForPropagation(RenderStyle*) const;
568 LayoutRect visualOverflowRectForPropagation(RenderStyle*) const; 568 LayoutRect visualOverflowRectForPropagation(RenderStyle*) const;
569 LayoutRect logicalLayoutOverflowRectForPropagation(RenderStyle*) const; 569 LayoutRect logicalLayoutOverflowRectForPropagation(RenderStyle*) const;
570 LayoutRect layoutOverflowRectForPropagation(RenderStyle*) const; 570 LayoutRect layoutOverflowRectForPropagation(RenderStyle*) const;
571 571
572 bool hasRenderOverflow() const { return m_overflow; } 572 bool hasRenderOverflow() const { return m_overflow; }
573 bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().conta ins(m_overflow->visualOverflowRect()); } 573 bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().conta ins(m_overflow->visualOverflowRect()); }
574 574
575 virtual bool needsPreferredWidthsRecalculation() const; 575 virtual bool needsPreferredWidthsRecalculation() const;
576 virtual void computeIntrinsicRatioInformation(FloatSize& /* intrinsicSize */ , double& /* intrinsicRatio */, bool& /* isPercentageIntrinsicSize */) const { } 576 virtual void computeIntrinsicRatioInformation(FloatSize& /* intrinsicSize */ , double& /* intrinsicRatio */) const { }
577 577
578 IntSize scrolledContentOffset() const; 578 IntSize scrolledContentOffset() const;
579 LayoutSize cachedSizeForOverflowClip() const; 579 LayoutSize cachedSizeForOverflowClip() const;
580 void applyCachedClipAndScrollOffsetForRepaint(LayoutRect& paintRect) const; 580 void applyCachedClipAndScrollOffsetForRepaint(LayoutRect& paintRect) const;
581 581
582 virtual bool hasRelativeLogicalHeight() const; 582 virtual bool hasRelativeLogicalHeight() const;
583 583
584 bool hasHorizontalLayoutOverflow() const 584 bool hasHorizontalLayoutOverflow() const
585 { 585 {
586 if (!m_overflow) 586 if (!m_overflow)
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 if (UNLIKELY(inlineBoxWrapper() != 0)) 777 if (UNLIKELY(inlineBoxWrapper() != 0))
778 deleteLineBoxWrapper(); 778 deleteLineBoxWrapper();
779 } 779 }
780 780
781 ensureRareData().m_inlineBoxWrapper = boxWrapper; 781 ensureRareData().m_inlineBoxWrapper = boxWrapper;
782 } 782 }
783 783
784 } // namespace WebCore 784 } // namespace WebCore
785 785
786 #endif // RenderBox_h 786 #endif // RenderBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698