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

Side by Side Diff: third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h

Issue 2366313006: CSS Properties and Values API: Support non-inherited custom properties (Closed)
Patch Set: use de morgan's law Created 4 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
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 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 class CSSAnimationData; 51 class CSSAnimationData;
52 class CSSTransitionData; 52 class CSSTransitionData;
53 class LengthSize; 53 class LengthSize;
54 class ShadowList; 54 class ShadowList;
55 class StyleDeprecatedFlexibleBoxData; 55 class StyleDeprecatedFlexibleBoxData;
56 class StyleFilterData; 56 class StyleFilterData;
57 class StyleFlexibleBoxData; 57 class StyleFlexibleBoxData;
58 class StyleGridData; 58 class StyleGridData;
59 class StyleGridItemData; 59 class StyleGridItemData;
60 class StyleMultiColData; 60 class StyleMultiColData;
61 class StyleNonInheritedVariables;
61 class StyleReflection; 62 class StyleReflection;
62 class StyleTransformData; 63 class StyleTransformData;
63 class StyleWillChangeData; 64 class StyleWillChangeData;
64 65
65 // Page size type. 66 // Page size type.
66 // StyleRareNonInheritedData::m_pageSize is meaningful only when 67 // StyleRareNonInheritedData::m_pageSize is meaningful only when
67 // StyleRareNonInheritedData::m_pageSizeType is PAGE_SIZE_RESOLVED. 68 // StyleRareNonInheritedData::m_pageSizeType is PAGE_SIZE_RESOLVED.
68 enum PageSizeType { 69 enum PageSizeType {
69 PAGE_SIZE_AUTO, // size: auto 70 PAGE_SIZE_AUTO, // size: auto
70 PAGE_SIZE_AUTO_LANDSCAPE, // size: landscape 71 PAGE_SIZE_AUTO_LANDSCAPE, // size: landscape
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 StyleColor m_visitedLinkOutlineColor; 150 StyleColor m_visitedLinkOutlineColor;
150 StyleColor m_visitedLinkBorderLeftColor; 151 StyleColor m_visitedLinkBorderLeftColor;
151 StyleColor m_visitedLinkBorderRightColor; 152 StyleColor m_visitedLinkBorderRightColor;
152 StyleColor m_visitedLinkBorderTopColor; 153 StyleColor m_visitedLinkBorderTopColor;
153 StyleColor m_visitedLinkBorderBottomColor; 154 StyleColor m_visitedLinkBorderBottomColor;
154 155
155 Vector<String> m_callbackSelectors; 156 Vector<String> m_callbackSelectors;
156 157
157 std::unique_ptr<Vector<Persistent<StyleImage>>> m_paintImages; 158 std::unique_ptr<Vector<Persistent<StyleImage>>> m_paintImages;
158 159
160 std::unique_ptr<StyleNonInheritedVariables> m_variables;
161
159 StyleContentAlignmentData m_alignContent; 162 StyleContentAlignmentData m_alignContent;
160 StyleSelfAlignmentData m_alignItems; 163 StyleSelfAlignmentData m_alignItems;
161 StyleSelfAlignmentData m_alignSelf; 164 StyleSelfAlignmentData m_alignSelf;
162 StyleContentAlignmentData m_justifyContent; 165 StyleContentAlignmentData m_justifyContent;
163 StyleSelfAlignmentData m_justifyItems; 166 StyleSelfAlignmentData m_justifyItems;
164 StyleSelfAlignmentData m_justifySelf; 167 StyleSelfAlignmentData m_justifySelf;
165 168
166 unsigned m_pageSizeType : 2; // PageSizeType 169 unsigned m_pageSizeType : 2; // PageSizeType
167 unsigned m_transformStyle3D : 1; // ETransformStyle3D 170 unsigned m_transformStyle3D : 1; // ETransformStyle3D
168 unsigned m_backfaceVisibility : 1; // EBackfaceVisibility 171 unsigned m_backfaceVisibility : 1; // EBackfaceVisibility
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 unsigned m_hasAuthorBorder : 1; // Whether there is a author-defined border. 221 unsigned m_hasAuthorBorder : 1; // Whether there is a author-defined border.
219 222
220 private: 223 private:
221 StyleRareNonInheritedData(); 224 StyleRareNonInheritedData();
222 StyleRareNonInheritedData(const StyleRareNonInheritedData&); 225 StyleRareNonInheritedData(const StyleRareNonInheritedData&);
223 }; 226 };
224 227
225 } // namespace blink 228 } // namespace blink
226 229
227 #endif // StyleRareNonInheritedData_h 230 #endif // StyleRareNonInheritedData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698