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

Side by Side Diff: sky/engine/core/rendering/style/StyleRareNonInheritedData.cpp

Issue 667003003: Remove most of visited link support. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 | « sky/engine/core/rendering/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 28 matching lines...) Expand all
39 , m_perspectiveOriginX(RenderStyle::initialPerspectiveOriginX()) 39 , m_perspectiveOriginX(RenderStyle::initialPerspectiveOriginX())
40 , m_perspectiveOriginY(RenderStyle::initialPerspectiveOriginY()) 40 , m_perspectiveOriginY(RenderStyle::initialPerspectiveOriginY())
41 , lineClamp(RenderStyle::initialLineClamp()) 41 , lineClamp(RenderStyle::initialLineClamp())
42 , m_mask(MaskFillLayer, true) 42 , m_mask(MaskFillLayer, true)
43 , m_pageSize() 43 , m_pageSize()
44 , m_shapeOutside(RenderStyle::initialShapeOutside()) 44 , m_shapeOutside(RenderStyle::initialShapeOutside())
45 , m_shapeMargin(RenderStyle::initialShapeMargin()) 45 , m_shapeMargin(RenderStyle::initialShapeMargin())
46 , m_shapeImageThreshold(RenderStyle::initialShapeImageThreshold()) 46 , m_shapeImageThreshold(RenderStyle::initialShapeImageThreshold())
47 , m_clipPath(RenderStyle::initialClipPath()) 47 , m_clipPath(RenderStyle::initialClipPath())
48 , m_textDecorationColor(StyleColor::currentColor()) 48 , m_textDecorationColor(StyleColor::currentColor())
49 , m_visitedLinkTextDecorationColor(StyleColor::currentColor())
50 , m_visitedLinkBackgroundColor(RenderStyle::initialBackgroundColor())
51 , m_visitedLinkOutlineColor(StyleColor::currentColor())
52 , m_visitedLinkBorderLeftColor(StyleColor::currentColor())
53 , m_visitedLinkBorderRightColor(StyleColor::currentColor())
54 , m_visitedLinkBorderTopColor(StyleColor::currentColor())
55 , m_visitedLinkBorderBottomColor(StyleColor::currentColor())
56 , m_order(RenderStyle::initialOrder()) 49 , m_order(RenderStyle::initialOrder())
57 , m_objectPosition(RenderStyle::initialObjectPosition()) 50 , m_objectPosition(RenderStyle::initialObjectPosition())
58 , m_pageSizeType(PAGE_SIZE_AUTO) 51 , m_pageSizeType(PAGE_SIZE_AUTO)
59 , m_transformStyle3D(RenderStyle::initialTransformStyle3D()) 52 , m_transformStyle3D(RenderStyle::initialTransformStyle3D())
60 , m_backfaceVisibility(RenderStyle::initialBackfaceVisibility()) 53 , m_backfaceVisibility(RenderStyle::initialBackfaceVisibility())
61 , m_alignContent(RenderStyle::initialAlignContent()) 54 , m_alignContent(RenderStyle::initialAlignContent())
62 , m_alignItems(RenderStyle::initialAlignItems()) 55 , m_alignItems(RenderStyle::initialAlignItems())
63 , m_alignItemsOverflowAlignment(RenderStyle::initialAlignItemsOverflowAlignm ent()) 56 , m_alignItemsOverflowAlignment(RenderStyle::initialAlignItemsOverflowAlignm ent())
64 , m_alignSelf(RenderStyle::initialAlignSelf()) 57 , m_alignSelf(RenderStyle::initialAlignSelf())
65 , m_alignSelfOverflowAlignment(RenderStyle::initialAlignSelfOverflowAlignmen t()) 58 , m_alignSelfOverflowAlignment(RenderStyle::initialAlignSelfOverflowAlignmen t())
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 , m_animations(o.m_animations ? CSSAnimationData::create(*o.m_animations) : nullptr) 110 , m_animations(o.m_animations ? CSSAnimationData::create(*o.m_animations) : nullptr)
118 , m_transitions(o.m_transitions ? CSSTransitionData::create(*o.m_transitions ) : nullptr) 111 , m_transitions(o.m_transitions ? CSSTransitionData::create(*o.m_transitions ) : nullptr)
119 , m_mask(o.m_mask) 112 , m_mask(o.m_mask)
120 , m_maskBoxImage(o.m_maskBoxImage) 113 , m_maskBoxImage(o.m_maskBoxImage)
121 , m_pageSize(o.m_pageSize) 114 , m_pageSize(o.m_pageSize)
122 , m_shapeOutside(o.m_shapeOutside) 115 , m_shapeOutside(o.m_shapeOutside)
123 , m_shapeMargin(o.m_shapeMargin) 116 , m_shapeMargin(o.m_shapeMargin)
124 , m_shapeImageThreshold(o.m_shapeImageThreshold) 117 , m_shapeImageThreshold(o.m_shapeImageThreshold)
125 , m_clipPath(o.m_clipPath) 118 , m_clipPath(o.m_clipPath)
126 , m_textDecorationColor(o.m_textDecorationColor) 119 , m_textDecorationColor(o.m_textDecorationColor)
127 , m_visitedLinkTextDecorationColor(o.m_visitedLinkTextDecorationColor)
128 , m_visitedLinkBackgroundColor(o.m_visitedLinkBackgroundColor)
129 , m_visitedLinkOutlineColor(o.m_visitedLinkOutlineColor)
130 , m_visitedLinkBorderLeftColor(o.m_visitedLinkBorderLeftColor)
131 , m_visitedLinkBorderRightColor(o.m_visitedLinkBorderRightColor)
132 , m_visitedLinkBorderTopColor(o.m_visitedLinkBorderTopColor)
133 , m_visitedLinkBorderBottomColor(o.m_visitedLinkBorderBottomColor)
134 , m_order(o.m_order) 120 , m_order(o.m_order)
135 , m_objectPosition(o.m_objectPosition) 121 , m_objectPosition(o.m_objectPosition)
136 , m_pageSizeType(o.m_pageSizeType) 122 , m_pageSizeType(o.m_pageSizeType)
137 , m_transformStyle3D(o.m_transformStyle3D) 123 , m_transformStyle3D(o.m_transformStyle3D)
138 , m_backfaceVisibility(o.m_backfaceVisibility) 124 , m_backfaceVisibility(o.m_backfaceVisibility)
139 , m_alignContent(o.m_alignContent) 125 , m_alignContent(o.m_alignContent)
140 , m_alignItems(o.m_alignItems) 126 , m_alignItems(o.m_alignItems)
141 , m_alignItemsOverflowAlignment(o.m_alignItemsOverflowAlignment) 127 , m_alignItemsOverflowAlignment(o.m_alignItemsOverflowAlignment)
142 , m_alignSelf(o.m_alignSelf) 128 , m_alignSelf(o.m_alignSelf)
143 , m_alignSelfOverflowAlignment(o.m_alignSelfOverflowAlignment) 129 , m_alignSelfOverflowAlignment(o.m_alignSelfOverflowAlignment)
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 && animationDataEquivalent(o) 184 && animationDataEquivalent(o)
199 && transitionDataEquivalent(o) 185 && transitionDataEquivalent(o)
200 && m_mask == o.m_mask 186 && m_mask == o.m_mask
201 && m_maskBoxImage == o.m_maskBoxImage 187 && m_maskBoxImage == o.m_maskBoxImage
202 && m_pageSize == o.m_pageSize 188 && m_pageSize == o.m_pageSize
203 && m_shapeOutside == o.m_shapeOutside 189 && m_shapeOutside == o.m_shapeOutside
204 && m_shapeMargin == o.m_shapeMargin 190 && m_shapeMargin == o.m_shapeMargin
205 && m_shapeImageThreshold == o.m_shapeImageThreshold 191 && m_shapeImageThreshold == o.m_shapeImageThreshold
206 && m_clipPath == o.m_clipPath 192 && m_clipPath == o.m_clipPath
207 && m_textDecorationColor == o.m_textDecorationColor 193 && m_textDecorationColor == o.m_textDecorationColor
208 && m_visitedLinkTextDecorationColor == o.m_visitedLinkTextDecorationColo r
209 && m_visitedLinkBackgroundColor == o.m_visitedLinkBackgroundColor
210 && m_visitedLinkOutlineColor == o.m_visitedLinkOutlineColor
211 && m_visitedLinkBorderLeftColor == o.m_visitedLinkBorderLeftColor
212 && m_visitedLinkBorderRightColor == o.m_visitedLinkBorderRightColor
213 && m_visitedLinkBorderTopColor == o.m_visitedLinkBorderTopColor
214 && m_visitedLinkBorderBottomColor == o.m_visitedLinkBorderBottomColor
215 && m_order == o.m_order 194 && m_order == o.m_order
216 && m_objectPosition == o.m_objectPosition 195 && m_objectPosition == o.m_objectPosition
217 && m_pageSizeType == o.m_pageSizeType 196 && m_pageSizeType == o.m_pageSizeType
218 && m_transformStyle3D == o.m_transformStyle3D 197 && m_transformStyle3D == o.m_transformStyle3D
219 && m_backfaceVisibility == o.m_backfaceVisibility 198 && m_backfaceVisibility == o.m_backfaceVisibility
220 && m_alignContent == o.m_alignContent 199 && m_alignContent == o.m_alignContent
221 && m_alignItems == o.m_alignItems 200 && m_alignItems == o.m_alignItems
222 && m_alignItemsOverflowAlignment == o.m_alignItemsOverflowAlignment 201 && m_alignItemsOverflowAlignment == o.m_alignItemsOverflowAlignment
223 && m_alignSelf == o.m_alignSelf 202 && m_alignSelf == o.m_alignSelf
224 && m_alignSelfOverflowAlignment == o.m_alignSelfOverflowAlignment 203 && m_alignSelfOverflowAlignment == o.m_alignSelfOverflowAlignment
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 return false; 269 return false;
291 return m_transitions->transitionsMatchForStyleRecalc(*o.m_transitions); 270 return m_transitions->transitionsMatchForStyleRecalc(*o.m_transitions);
292 } 271 }
293 272
294 bool StyleRareNonInheritedData::hasFilters() const 273 bool StyleRareNonInheritedData::hasFilters() const
295 { 274 {
296 return m_filter.get() && !m_filter->m_operations.isEmpty(); 275 return m_filter.get() && !m_filter->m_operations.isEmpty();
297 } 276 }
298 277
299 } // namespace blink 278 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/style/StyleRareNonInheritedData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698