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

Side by Side Diff: Source/core/rendering/style/StyleRareNonInheritedData.cpp

Issue 143323014: *** DO NOT LAND *** Attempt to understand Regions complexity Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 , m_textDecorationColor(StyleColor::currentColor()) 51 , m_textDecorationColor(StyleColor::currentColor())
52 , m_visitedLinkTextDecorationColor(StyleColor::currentColor()) 52 , m_visitedLinkTextDecorationColor(StyleColor::currentColor())
53 , m_visitedLinkBackgroundColor(RenderStyle::initialBackgroundColor()) 53 , m_visitedLinkBackgroundColor(RenderStyle::initialBackgroundColor())
54 , m_visitedLinkOutlineColor(StyleColor::currentColor()) 54 , m_visitedLinkOutlineColor(StyleColor::currentColor())
55 , m_visitedLinkBorderLeftColor(StyleColor::currentColor()) 55 , m_visitedLinkBorderLeftColor(StyleColor::currentColor())
56 , m_visitedLinkBorderRightColor(StyleColor::currentColor()) 56 , m_visitedLinkBorderRightColor(StyleColor::currentColor())
57 , m_visitedLinkBorderTopColor(StyleColor::currentColor()) 57 , m_visitedLinkBorderTopColor(StyleColor::currentColor())
58 , m_visitedLinkBorderBottomColor(StyleColor::currentColor()) 58 , m_visitedLinkBorderBottomColor(StyleColor::currentColor())
59 , m_order(RenderStyle::initialOrder()) 59 , m_order(RenderStyle::initialOrder())
60 , m_objectPosition(RenderStyle::initialObjectPosition()) 60 , m_objectPosition(RenderStyle::initialObjectPosition())
61 , m_flowThread(RenderStyle::initialFlowThread())
62 , m_regionThread(RenderStyle::initialRegionThread())
63 , m_regionFragment(RenderStyle::initialRegionFragment())
64 , m_regionBreakAfter(RenderStyle::initialPageBreak())
65 , m_regionBreakBefore(RenderStyle::initialPageBreak())
66 , m_regionBreakInside(RenderStyle::initialPageBreak())
67 , m_pageSizeType(PAGE_SIZE_AUTO) 61 , m_pageSizeType(PAGE_SIZE_AUTO)
68 , m_transformStyle3D(RenderStyle::initialTransformStyle3D()) 62 , m_transformStyle3D(RenderStyle::initialTransformStyle3D())
69 , m_backfaceVisibility(RenderStyle::initialBackfaceVisibility()) 63 , m_backfaceVisibility(RenderStyle::initialBackfaceVisibility())
70 , m_alignContent(RenderStyle::initialAlignContent()) 64 , m_alignContent(RenderStyle::initialAlignContent())
71 , m_alignItems(RenderStyle::initialAlignItems()) 65 , m_alignItems(RenderStyle::initialAlignItems())
72 , m_alignItemsOverflowAlignment(RenderStyle::initialAlignItemsOverflowAlignm ent()) 66 , m_alignItemsOverflowAlignment(RenderStyle::initialAlignItemsOverflowAlignm ent())
73 , m_alignSelf(RenderStyle::initialAlignSelf()) 67 , m_alignSelf(RenderStyle::initialAlignSelf())
74 , m_alignSelfOverflowAlignment(RenderStyle::initialAlignSelfOverflowAlignmen t()) 68 , m_alignSelfOverflowAlignment(RenderStyle::initialAlignSelfOverflowAlignmen t())
75 , m_justifyContent(RenderStyle::initialJustifyContent()) 69 , m_justifyContent(RenderStyle::initialJustifyContent())
76 , userDrag(RenderStyle::initialUserDrag()) 70 , userDrag(RenderStyle::initialUserDrag())
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 , m_textDecorationColor(o.m_textDecorationColor) 125 , m_textDecorationColor(o.m_textDecorationColor)
132 , m_visitedLinkTextDecorationColor(o.m_visitedLinkTextDecorationColor) 126 , m_visitedLinkTextDecorationColor(o.m_visitedLinkTextDecorationColor)
133 , m_visitedLinkBackgroundColor(o.m_visitedLinkBackgroundColor) 127 , m_visitedLinkBackgroundColor(o.m_visitedLinkBackgroundColor)
134 , m_visitedLinkOutlineColor(o.m_visitedLinkOutlineColor) 128 , m_visitedLinkOutlineColor(o.m_visitedLinkOutlineColor)
135 , m_visitedLinkBorderLeftColor(o.m_visitedLinkBorderLeftColor) 129 , m_visitedLinkBorderLeftColor(o.m_visitedLinkBorderLeftColor)
136 , m_visitedLinkBorderRightColor(o.m_visitedLinkBorderRightColor) 130 , m_visitedLinkBorderRightColor(o.m_visitedLinkBorderRightColor)
137 , m_visitedLinkBorderTopColor(o.m_visitedLinkBorderTopColor) 131 , m_visitedLinkBorderTopColor(o.m_visitedLinkBorderTopColor)
138 , m_visitedLinkBorderBottomColor(o.m_visitedLinkBorderBottomColor) 132 , m_visitedLinkBorderBottomColor(o.m_visitedLinkBorderBottomColor)
139 , m_order(o.m_order) 133 , m_order(o.m_order)
140 , m_objectPosition(o.m_objectPosition) 134 , m_objectPosition(o.m_objectPosition)
141 , m_flowThread(o.m_flowThread)
142 , m_regionThread(o.m_regionThread)
143 , m_regionFragment(o.m_regionFragment)
144 , m_regionBreakAfter(o.m_regionBreakAfter)
145 , m_regionBreakBefore(o.m_regionBreakBefore)
146 , m_regionBreakInside(o.m_regionBreakInside)
147 , m_pageSizeType(o.m_pageSizeType) 135 , m_pageSizeType(o.m_pageSizeType)
148 , m_transformStyle3D(o.m_transformStyle3D) 136 , m_transformStyle3D(o.m_transformStyle3D)
149 , m_backfaceVisibility(o.m_backfaceVisibility) 137 , m_backfaceVisibility(o.m_backfaceVisibility)
150 , m_alignContent(o.m_alignContent) 138 , m_alignContent(o.m_alignContent)
151 , m_alignItems(o.m_alignItems) 139 , m_alignItems(o.m_alignItems)
152 , m_alignItemsOverflowAlignment(o.m_alignItemsOverflowAlignment) 140 , m_alignItemsOverflowAlignment(o.m_alignItemsOverflowAlignment)
153 , m_alignSelf(o.m_alignSelf) 141 , m_alignSelf(o.m_alignSelf)
154 , m_alignSelfOverflowAlignment(o.m_alignSelfOverflowAlignment) 142 , m_alignSelfOverflowAlignment(o.m_alignSelfOverflowAlignment)
155 , m_justifyContent(o.m_justifyContent) 143 , m_justifyContent(o.m_justifyContent)
156 , userDrag(o.userDrag) 144 , userDrag(o.userDrag)
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 && m_visitedLinkTextDecorationColor == o.m_visitedLinkTextDecorationColo r 206 && m_visitedLinkTextDecorationColor == o.m_visitedLinkTextDecorationColo r
219 && m_visitedLinkBackgroundColor == o.m_visitedLinkBackgroundColor 207 && m_visitedLinkBackgroundColor == o.m_visitedLinkBackgroundColor
220 && m_visitedLinkOutlineColor == o.m_visitedLinkOutlineColor 208 && m_visitedLinkOutlineColor == o.m_visitedLinkOutlineColor
221 && m_visitedLinkBorderLeftColor == o.m_visitedLinkBorderLeftColor 209 && m_visitedLinkBorderLeftColor == o.m_visitedLinkBorderLeftColor
222 && m_visitedLinkBorderRightColor == o.m_visitedLinkBorderRightColor 210 && m_visitedLinkBorderRightColor == o.m_visitedLinkBorderRightColor
223 && m_visitedLinkBorderTopColor == o.m_visitedLinkBorderTopColor 211 && m_visitedLinkBorderTopColor == o.m_visitedLinkBorderTopColor
224 && m_visitedLinkBorderBottomColor == o.m_visitedLinkBorderBottomColor 212 && m_visitedLinkBorderBottomColor == o.m_visitedLinkBorderBottomColor
225 && m_order == o.m_order 213 && m_order == o.m_order
226 && m_objectPosition == o.m_objectPosition 214 && m_objectPosition == o.m_objectPosition
227 && m_callbackSelectors == o.m_callbackSelectors 215 && m_callbackSelectors == o.m_callbackSelectors
228 && m_flowThread == o.m_flowThread
229 && m_regionThread == o.m_regionThread
230 && m_regionFragment == o.m_regionFragment
231 && m_regionBreakAfter == o.m_regionBreakAfter
232 && m_regionBreakBefore == o.m_regionBreakBefore
233 && m_regionBreakInside == o.m_regionBreakInside
234 && m_pageSizeType == o.m_pageSizeType 216 && m_pageSizeType == o.m_pageSizeType
235 && m_transformStyle3D == o.m_transformStyle3D 217 && m_transformStyle3D == o.m_transformStyle3D
236 && m_backfaceVisibility == o.m_backfaceVisibility 218 && m_backfaceVisibility == o.m_backfaceVisibility
237 && m_alignContent == o.m_alignContent 219 && m_alignContent == o.m_alignContent
238 && m_alignItems == o.m_alignItems 220 && m_alignItems == o.m_alignItems
239 && m_alignItemsOverflowAlignment == o.m_alignItemsOverflowAlignment 221 && m_alignItemsOverflowAlignment == o.m_alignItemsOverflowAlignment
240 && m_alignSelf == o.m_alignSelf 222 && m_alignSelf == o.m_alignSelf
241 && m_alignSelfOverflowAlignment == o.m_alignSelfOverflowAlignment 223 && m_alignSelfOverflowAlignment == o.m_alignSelfOverflowAlignment
242 && m_justifyContent == o.m_justifyContent 224 && m_justifyContent == o.m_justifyContent
243 && userDrag == o.userDrag 225 && userDrag == o.userDrag
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 return false; 302 return false;
321 return true; 303 return true;
322 } 304 }
323 305
324 bool StyleRareNonInheritedData::hasFilters() const 306 bool StyleRareNonInheritedData::hasFilters() const
325 { 307 {
326 return m_filter.get() && !m_filter->m_operations.isEmpty(); 308 return m_filter.get() && !m_filter->m_operations.isEmpty();
327 } 309 }
328 310
329 } // namespace WebCore 311 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/style/StyleRareNonInheritedData.h ('k') | Source/core/rendering/svg/RenderSVGRoot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698