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

Side by Side Diff: Source/core/rendering/style/RenderStyle.h

Issue 826893003: [CSS Grid Layout] Remove stack from grid-auto-flow syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@remove-stack
Patch Set: Adding perftests Created 5 years, 11 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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 const OrderedNamedGridLines& orderedNamedGridColumnLines() const { return ra reNonInheritedData->m_grid->m_orderedNamedGridColumnLines; } 751 const OrderedNamedGridLines& orderedNamedGridColumnLines() const { return ra reNonInheritedData->m_grid->m_orderedNamedGridColumnLines; }
752 const OrderedNamedGridLines& orderedNamedGridRowLines() const { return rareN onInheritedData->m_grid->m_orderedNamedGridRowLines; } 752 const OrderedNamedGridLines& orderedNamedGridRowLines() const { return rareN onInheritedData->m_grid->m_orderedNamedGridRowLines; }
753 const NamedGridAreaMap& namedGridArea() const { return rareNonInheritedData- >m_grid->m_namedGridArea; } 753 const NamedGridAreaMap& namedGridArea() const { return rareNonInheritedData- >m_grid->m_namedGridArea; }
754 size_t namedGridAreaRowCount() const { return rareNonInheritedData->m_grid-> m_namedGridAreaRowCount; } 754 size_t namedGridAreaRowCount() const { return rareNonInheritedData->m_grid-> m_namedGridAreaRowCount; }
755 size_t namedGridAreaColumnCount() const { return rareNonInheritedData->m_gri d->m_namedGridAreaColumnCount; } 755 size_t namedGridAreaColumnCount() const { return rareNonInheritedData->m_gri d->m_namedGridAreaColumnCount; }
756 GridAutoFlow gridAutoFlow() const { return static_cast<GridAutoFlow>(rareNon InheritedData->m_grid->m_gridAutoFlow); } 756 GridAutoFlow gridAutoFlow() const { return static_cast<GridAutoFlow>(rareNon InheritedData->m_grid->m_gridAutoFlow); }
757 bool isGridAutoFlowDirectionRow() const { return (rareNonInheritedData->m_gr id->m_gridAutoFlow & InternalAutoFlowDirectionRow) == InternalAutoFlowDirectionR ow; } 757 bool isGridAutoFlowDirectionRow() const { return (rareNonInheritedData->m_gr id->m_gridAutoFlow & InternalAutoFlowDirectionRow) == InternalAutoFlowDirectionR ow; }
758 bool isGridAutoFlowDirectionColumn() const { return (rareNonInheritedData->m _grid->m_gridAutoFlow & InternalAutoFlowDirectionColumn) == InternalAutoFlowDire ctionColumn; } 758 bool isGridAutoFlowDirectionColumn() const { return (rareNonInheritedData->m _grid->m_gridAutoFlow & InternalAutoFlowDirectionColumn) == InternalAutoFlowDire ctionColumn; }
759 bool isGridAutoFlowAlgorithmSparse() const { return (rareNonInheritedData->m _grid->m_gridAutoFlow & InternalAutoFlowAlgorithmSparse) == InternalAutoFlowAlgo rithmSparse; } 759 bool isGridAutoFlowAlgorithmSparse() const { return (rareNonInheritedData->m _grid->m_gridAutoFlow & InternalAutoFlowAlgorithmSparse) == InternalAutoFlowAlgo rithmSparse; }
760 bool isGridAutoFlowAlgorithmDense() const { return (rareNonInheritedData->m_ grid->m_gridAutoFlow & InternalAutoFlowAlgorithmDense) == InternalAutoFlowAlgori thmDense; } 760 bool isGridAutoFlowAlgorithmDense() const { return (rareNonInheritedData->m_ grid->m_gridAutoFlow & InternalAutoFlowAlgorithmDense) == InternalAutoFlowAlgori thmDense; }
761 bool isGridAutoFlowAlgorithmStack() const { return (rareNonInheritedData->m_ grid->m_gridAutoFlow & InternalAutoFlowAlgorithmStack) == InternalAutoFlowAlgori thmStack; }
762 const GridTrackSize& gridAutoColumns() const { return rareNonInheritedData-> m_grid->m_gridAutoColumns; } 761 const GridTrackSize& gridAutoColumns() const { return rareNonInheritedData-> m_grid->m_gridAutoColumns; }
763 const GridTrackSize& gridAutoRows() const { return rareNonInheritedData->m_g rid->m_gridAutoRows; } 762 const GridTrackSize& gridAutoRows() const { return rareNonInheritedData->m_g rid->m_gridAutoRows; }
764 763
765 const GridPosition& gridColumnStart() const { return rareNonInheritedData->m _gridItem->m_gridColumnStart; } 764 const GridPosition& gridColumnStart() const { return rareNonInheritedData->m _gridItem->m_gridColumnStart; }
766 const GridPosition& gridColumnEnd() const { return rareNonInheritedData->m_g ridItem->m_gridColumnEnd; } 765 const GridPosition& gridColumnEnd() const { return rareNonInheritedData->m_g ridItem->m_gridColumnEnd; }
767 const GridPosition& gridRowStart() const { return rareNonInheritedData->m_gr idItem->m_gridRowStart; } 766 const GridPosition& gridRowStart() const { return rareNonInheritedData->m_gr idItem->m_gridRowStart; }
768 const GridPosition& gridRowEnd() const { return rareNonInheritedData->m_grid Item->m_gridRowEnd; } 767 const GridPosition& gridRowEnd() const { return rareNonInheritedData->m_grid Item->m_gridRowEnd; }
769 768
770 ShadowList* boxShadow() const { return rareNonInheritedData->m_boxShadow.get (); } 769 ShadowList* boxShadow() const { return rareNonInheritedData->m_boxShadow.get (); }
771 void getBoxShadowExtent(LayoutUnit& top, LayoutUnit& right, LayoutUnit& bott om, LayoutUnit& left) const { getShadowExtent(boxShadow(), top, right, bottom, l eft); } 770 void getBoxShadowExtent(LayoutUnit& top, LayoutUnit& right, LayoutUnit& bott om, LayoutUnit& left) const { getShadowExtent(boxShadow(), top, right, bottom, l eft); }
(...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after
1856 inline bool RenderStyle::hasPseudoElementStyle() const 1855 inline bool RenderStyle::hasPseudoElementStyle() const
1857 { 1856 {
1858 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; 1857 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK;
1859 } 1858 }
1860 1859
1861 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1860 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1862 1861
1863 } // namespace blink 1862 } // namespace blink
1864 1863
1865 #endif // RenderStyle_h 1864 #endif // RenderStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698