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

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

Issue 21205004: [CSS Grid Layout] Store m_grid across layout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated change after Ojan's review Created 7 years, 4 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
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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 615
616 void paintRootBoxFillLayers(const PaintInfo&); 616 void paintRootBoxFillLayers(const PaintInfo&);
617 617
618 RenderObject* splitAnonymousBoxesAroundChild(RenderObject* beforeChild); 618 RenderObject* splitAnonymousBoxesAroundChild(RenderObject* beforeChild);
619 619
620 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur rentCompositedLayer, const LayoutPoint& layerOffset) const OVERRIDE; 620 virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* cur rentCompositedLayer, const LayoutPoint& layerOffset) const OVERRIDE;
621 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const OVERRIDE; 621 virtual void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOffset) const OVERRIDE;
622 622
623 private: 623 private:
624 void updateShapeOutsideInfoAfterStyleChange(const ShapeValue* shapeOutside, const ShapeValue* oldShapeOutside); 624 void updateShapeOutsideInfoAfterStyleChange(const ShapeValue* shapeOutside, const ShapeValue* oldShapeOutside);
625 void updateGridPositionAfterStyleChange(const RenderStyle*);
625 626
626 bool includeVerticalScrollbarSize() const; 627 bool includeVerticalScrollbarSize() const;
627 bool includeHorizontalScrollbarSize() const; 628 bool includeHorizontalScrollbarSize() const;
628 629
629 // Returns true if we did a full repaint 630 // Returns true if we did a full repaint
630 bool repaintLayerRectsForImage(WrappedImagePtr image, const FillLayer* layer s, bool drawingBackground); 631 bool repaintLayerRectsForImage(WrappedImagePtr image, const FillLayer* layer s, bool drawingBackground);
631 632
632 bool skipContainingBlockForPercentHeightCalculation(const RenderBox* contain ingBlock) const; 633 bool skipContainingBlockForPercentHeightCalculation(const RenderBox* contain ingBlock) const;
633 634
634 LayoutUnit containingBlockLogicalWidthForPositioned(const RenderBoxModelObje ct* containingBlock, RenderRegion* = 0, 635 LayoutUnit containingBlockLogicalWidthForPositioned(const RenderBoxModelObje ct* containingBlock, RenderRegion* = 0,
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 if (UNLIKELY(m_inlineBoxWrapper != 0)) 743 if (UNLIKELY(m_inlineBoxWrapper != 0))
743 deleteLineBoxWrapper(); 744 deleteLineBoxWrapper();
744 } 745 }
745 746
746 m_inlineBoxWrapper = boxWrapper; 747 m_inlineBoxWrapper = boxWrapper;
747 } 748 }
748 749
749 } // namespace WebCore 750 } // namespace WebCore
750 751
751 #endif // RenderBox_h 752 #endif // RenderBox_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/css-grid-layout/grid-item-change-order-auto-flow-expected.txt ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698