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

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

Issue 2481553002: Move outline out of StyleBackgroundData into StyleRareNonInheritedData (Closed)
Patch Set: - Created 4 years, 1 month 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/StyleRareNonInheritedData.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) 1999 Antti Koivisto (koivisto@kde.org) 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 DataPersistent<void*> dataPersistents[2]; 47 DataPersistent<void*> dataPersistents[2];
48 void* ownPtrs[4]; 48 void* ownPtrs[4];
49 Persistent<void*> persistentHandles[2]; 49 Persistent<void*> persistentHandles[2];
50 void* refPtrs[3]; 50 void* refPtrs[3];
51 void* uniquePtrs[1]; 51 void* uniquePtrs[1];
52 52
53 FillLayer fillLayers; 53 FillLayer fillLayers;
54 NinePieceImage ninePieces; 54 NinePieceImage ninePieces;
55 FloatSize floatSize; 55 FloatSize floatSize;
56 Length lengths; 56 Length lengths;
57 OutlineValue outline;
57 58
58 StyleColor styleColors[8]; 59 StyleColor styleColors[8];
59 60
60 Vector<String> m_callbackSelectors; 61 Vector<String> m_callbackSelectors;
61 62
62 StyleContentAlignmentData contentAlignmentData[2]; 63 StyleContentAlignmentData contentAlignmentData[2];
63 StyleSelfAlignmentData selfAlignmentData[4]; 64 StyleSelfAlignmentData selfAlignmentData[4];
64 65
65 unsigned m_bitFields[2]; 66 unsigned m_bitFields[2];
66 }; 67 };
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 ? CSSTransitionData::create(*o.m_transitions) 163 ? CSSTransitionData::create(*o.m_transitions)
163 : nullptr), 164 : nullptr),
164 m_boxShadow(o.m_boxShadow), 165 m_boxShadow(o.m_boxShadow),
165 m_boxReflect(o.m_boxReflect), 166 m_boxReflect(o.m_boxReflect),
166 m_shapeOutside(o.m_shapeOutside), 167 m_shapeOutside(o.m_shapeOutside),
167 m_clipPath(o.m_clipPath), 168 m_clipPath(o.m_clipPath),
168 m_mask(o.m_mask), 169 m_mask(o.m_mask),
169 m_maskBoxImage(o.m_maskBoxImage), 170 m_maskBoxImage(o.m_maskBoxImage),
170 m_pageSize(o.m_pageSize), 171 m_pageSize(o.m_pageSize),
171 m_shapeMargin(o.m_shapeMargin), 172 m_shapeMargin(o.m_shapeMargin),
173 m_outline(o.m_outline),
172 m_textDecorationColor(o.m_textDecorationColor), 174 m_textDecorationColor(o.m_textDecorationColor),
173 m_visitedLinkTextDecorationColor(o.m_visitedLinkTextDecorationColor), 175 m_visitedLinkTextDecorationColor(o.m_visitedLinkTextDecorationColor),
174 m_visitedLinkBackgroundColor(o.m_visitedLinkBackgroundColor), 176 m_visitedLinkBackgroundColor(o.m_visitedLinkBackgroundColor),
175 m_visitedLinkOutlineColor(o.m_visitedLinkOutlineColor), 177 m_visitedLinkOutlineColor(o.m_visitedLinkOutlineColor),
176 m_visitedLinkBorderLeftColor(o.m_visitedLinkBorderLeftColor), 178 m_visitedLinkBorderLeftColor(o.m_visitedLinkBorderLeftColor),
177 m_visitedLinkBorderRightColor(o.m_visitedLinkBorderRightColor), 179 m_visitedLinkBorderRightColor(o.m_visitedLinkBorderRightColor),
178 m_visitedLinkBorderTopColor(o.m_visitedLinkBorderTopColor), 180 m_visitedLinkBorderTopColor(o.m_visitedLinkBorderTopColor),
179 m_visitedLinkBorderBottomColor(o.m_visitedLinkBorderBottomColor), 181 m_visitedLinkBorderBottomColor(o.m_visitedLinkBorderBottomColor),
180 m_variables(o.m_variables ? o.m_variables->copy() : nullptr), 182 m_variables(o.m_variables ? o.m_variables->copy() : nullptr),
181 m_alignContent(o.m_alignContent), 183 m_alignContent(o.m_alignContent),
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 m_flexibleBox == o.m_flexibleBox && m_multiCol == o.m_multiCol && 237 m_flexibleBox == o.m_flexibleBox && m_multiCol == o.m_multiCol &&
236 m_transform == o.m_transform && m_willChange == o.m_willChange && 238 m_transform == o.m_transform && m_willChange == o.m_willChange &&
237 m_filter == o.m_filter && m_backdropFilter == o.m_backdropFilter && 239 m_filter == o.m_filter && m_backdropFilter == o.m_backdropFilter &&
238 m_grid == o.m_grid && m_gridItem == o.m_gridItem && 240 m_grid == o.m_grid && m_gridItem == o.m_gridItem &&
239 m_scrollSnap == o.m_scrollSnap && contentDataEquivalent(o) && 241 m_scrollSnap == o.m_scrollSnap && contentDataEquivalent(o) &&
240 counterDataEquivalent(o) && shadowDataEquivalent(o) && 242 counterDataEquivalent(o) && shadowDataEquivalent(o) &&
241 reflectionDataEquivalent(o) && animationDataEquivalent(o) && 243 reflectionDataEquivalent(o) && animationDataEquivalent(o) &&
242 transitionDataEquivalent(o) && shapeOutsideDataEquivalent(o) && 244 transitionDataEquivalent(o) && shapeOutsideDataEquivalent(o) &&
243 m_mask == o.m_mask && m_maskBoxImage == o.m_maskBoxImage && 245 m_mask == o.m_mask && m_maskBoxImage == o.m_maskBoxImage &&
244 m_pageSize == o.m_pageSize && m_shapeMargin == o.m_shapeMargin && 246 m_pageSize == o.m_pageSize && m_shapeMargin == o.m_shapeMargin &&
245 clipPathDataEquivalent(o) && 247 m_outline == o.m_outline && clipPathDataEquivalent(o) &&
246 m_textDecorationColor == o.m_textDecorationColor && 248 m_textDecorationColor == o.m_textDecorationColor &&
247 m_visitedLinkTextDecorationColor == 249 m_visitedLinkTextDecorationColor ==
248 o.m_visitedLinkTextDecorationColor && 250 o.m_visitedLinkTextDecorationColor &&
249 m_visitedLinkBackgroundColor == o.m_visitedLinkBackgroundColor && 251 m_visitedLinkBackgroundColor == o.m_visitedLinkBackgroundColor &&
250 m_visitedLinkOutlineColor == o.m_visitedLinkOutlineColor && 252 m_visitedLinkOutlineColor == o.m_visitedLinkOutlineColor &&
251 m_visitedLinkBorderLeftColor == o.m_visitedLinkBorderLeftColor && 253 m_visitedLinkBorderLeftColor == o.m_visitedLinkBorderLeftColor &&
252 m_visitedLinkBorderRightColor == o.m_visitedLinkBorderRightColor && 254 m_visitedLinkBorderRightColor == o.m_visitedLinkBorderRightColor &&
253 m_visitedLinkBorderTopColor == o.m_visitedLinkBorderTopColor && 255 m_visitedLinkBorderTopColor == o.m_visitedLinkBorderTopColor &&
254 m_visitedLinkBorderBottomColor == o.m_visitedLinkBorderBottomColor && 256 m_visitedLinkBorderBottomColor == o.m_visitedLinkBorderBottomColor &&
255 m_callbackSelectors == o.m_callbackSelectors && 257 m_callbackSelectors == o.m_callbackSelectors &&
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 const StyleRareNonInheritedData& o) const { 347 const StyleRareNonInheritedData& o) const {
346 return dataEquivalent(m_shapeOutside, o.m_shapeOutside); 348 return dataEquivalent(m_shapeOutside, o.m_shapeOutside);
347 } 349 }
348 350
349 bool StyleRareNonInheritedData::clipPathDataEquivalent( 351 bool StyleRareNonInheritedData::clipPathDataEquivalent(
350 const StyleRareNonInheritedData& o) const { 352 const StyleRareNonInheritedData& o) const {
351 return dataEquivalent(m_clipPath, o.m_clipPath); 353 return dataEquivalent(m_clipPath, o.m_clipPath);
352 } 354 }
353 355
354 } // namespace blink 356 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698