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

Side by Side Diff: third_party/WebKit/Source/core/style/StyleGridData.cpp

Issue 1309513008: [css-grid] Implement grid gutters (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased patch for landing Created 5 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleGridData.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All Rights Reserved. 2 * Copyright (C) 2011 Google Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 25 matching lines...) Expand all
36 , m_namedGridColumnLines(ComputedStyle::initialNamedGridColumnLines()) 36 , m_namedGridColumnLines(ComputedStyle::initialNamedGridColumnLines())
37 , m_namedGridRowLines(ComputedStyle::initialNamedGridRowLines()) 37 , m_namedGridRowLines(ComputedStyle::initialNamedGridRowLines())
38 , m_orderedNamedGridColumnLines(ComputedStyle::initialOrderedNamedGridColumn Lines()) 38 , m_orderedNamedGridColumnLines(ComputedStyle::initialOrderedNamedGridColumn Lines())
39 , m_orderedNamedGridRowLines(ComputedStyle::initialOrderedNamedGridRowLines( )) 39 , m_orderedNamedGridRowLines(ComputedStyle::initialOrderedNamedGridRowLines( ))
40 , m_gridAutoFlow(ComputedStyle::initialGridAutoFlow()) 40 , m_gridAutoFlow(ComputedStyle::initialGridAutoFlow())
41 , m_gridAutoRows(ComputedStyle::initialGridAutoRows()) 41 , m_gridAutoRows(ComputedStyle::initialGridAutoRows())
42 , m_gridAutoColumns(ComputedStyle::initialGridAutoColumns()) 42 , m_gridAutoColumns(ComputedStyle::initialGridAutoColumns())
43 , m_namedGridArea(ComputedStyle::initialNamedGridArea()) 43 , m_namedGridArea(ComputedStyle::initialNamedGridArea())
44 , m_namedGridAreaRowCount(ComputedStyle::initialNamedGridAreaCount()) 44 , m_namedGridAreaRowCount(ComputedStyle::initialNamedGridAreaCount())
45 , m_namedGridAreaColumnCount(ComputedStyle::initialNamedGridAreaCount()) 45 , m_namedGridAreaColumnCount(ComputedStyle::initialNamedGridAreaCount())
46 , m_gridColumnGap(ComputedStyle::initialGridColumnGap())
47 , m_gridRowGap(ComputedStyle::initialGridRowGap())
46 { 48 {
47 } 49 }
48 50
49 StyleGridData::StyleGridData(const StyleGridData& o) 51 StyleGridData::StyleGridData(const StyleGridData& o)
50 : RefCounted<StyleGridData>() 52 : RefCounted<StyleGridData>()
51 , m_gridTemplateColumns(o.m_gridTemplateColumns) 53 , m_gridTemplateColumns(o.m_gridTemplateColumns)
52 , m_gridTemplateRows(o.m_gridTemplateRows) 54 , m_gridTemplateRows(o.m_gridTemplateRows)
53 , m_namedGridColumnLines(o.m_namedGridColumnLines) 55 , m_namedGridColumnLines(o.m_namedGridColumnLines)
54 , m_namedGridRowLines(o.m_namedGridRowLines) 56 , m_namedGridRowLines(o.m_namedGridRowLines)
55 , m_orderedNamedGridColumnLines(o.m_orderedNamedGridColumnLines) 57 , m_orderedNamedGridColumnLines(o.m_orderedNamedGridColumnLines)
56 , m_orderedNamedGridRowLines(o.m_orderedNamedGridRowLines) 58 , m_orderedNamedGridRowLines(o.m_orderedNamedGridRowLines)
57 , m_gridAutoFlow(o.m_gridAutoFlow) 59 , m_gridAutoFlow(o.m_gridAutoFlow)
58 , m_gridAutoRows(o.m_gridAutoRows) 60 , m_gridAutoRows(o.m_gridAutoRows)
59 , m_gridAutoColumns(o.m_gridAutoColumns) 61 , m_gridAutoColumns(o.m_gridAutoColumns)
60 , m_namedGridArea(o.m_namedGridArea) 62 , m_namedGridArea(o.m_namedGridArea)
61 , m_namedGridAreaRowCount(o.m_namedGridAreaRowCount) 63 , m_namedGridAreaRowCount(o.m_namedGridAreaRowCount)
62 , m_namedGridAreaColumnCount(o.m_namedGridAreaColumnCount) 64 , m_namedGridAreaColumnCount(o.m_namedGridAreaColumnCount)
65 , m_gridColumnGap(o.m_gridColumnGap)
66 , m_gridRowGap(o.m_gridRowGap)
63 { 67 {
64 } 68 }
65 69
66 } // namespace blink 70 } // namespace blink
67 71
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleGridData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698