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

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

Issue 731863003: Remove CSSCompositing (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: preland 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
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 , m_textDecorationStyle(RenderStyle::initialTextDecorationStyle()) 60 , m_textDecorationStyle(RenderStyle::initialTextDecorationStyle())
61 , m_wrapFlow(RenderStyle::initialWrapFlow()) 61 , m_wrapFlow(RenderStyle::initialWrapFlow())
62 , m_wrapThrough(RenderStyle::initialWrapThrough()) 62 , m_wrapThrough(RenderStyle::initialWrapThrough())
63 , m_hasCurrentOpacityAnimation(false) 63 , m_hasCurrentOpacityAnimation(false)
64 , m_hasCurrentTransformAnimation(false) 64 , m_hasCurrentTransformAnimation(false)
65 , m_hasCurrentFilterAnimation(false) 65 , m_hasCurrentFilterAnimation(false)
66 , m_runningOpacityAnimationOnCompositor(false) 66 , m_runningOpacityAnimationOnCompositor(false)
67 , m_runningTransformAnimationOnCompositor(false) 67 , m_runningTransformAnimationOnCompositor(false)
68 , m_runningFilterAnimationOnCompositor(false) 68 , m_runningFilterAnimationOnCompositor(false)
69 , m_hasAspectRatio(false) 69 , m_hasAspectRatio(false)
70 , m_effectiveBlendMode(RenderStyle::initialBlendMode())
71 , m_touchAction(RenderStyle::initialTouchAction()) 70 , m_touchAction(RenderStyle::initialTouchAction())
72 , m_objectFit(RenderStyle::initialObjectFit()) 71 , m_objectFit(RenderStyle::initialObjectFit())
73 , m_isolation(RenderStyle::initialIsolation())
74 , m_justifyItems(RenderStyle::initialJustifyItems()) 72 , m_justifyItems(RenderStyle::initialJustifyItems())
75 , m_justifyItemsOverflowAlignment(RenderStyle::initialJustifyItemsOverflowAl ignment()) 73 , m_justifyItemsOverflowAlignment(RenderStyle::initialJustifyItemsOverflowAl ignment())
76 , m_justifyItemsPositionType(RenderStyle::initialJustifyItemsPositionType()) 74 , m_justifyItemsPositionType(RenderStyle::initialJustifyItemsPositionType())
77 , m_justifySelf(RenderStyle::initialJustifySelf()) 75 , m_justifySelf(RenderStyle::initialJustifySelf())
78 , m_justifySelfOverflowAlignment(RenderStyle::initialJustifySelfOverflowAlig nment()) 76 , m_justifySelfOverflowAlignment(RenderStyle::initialJustifySelfOverflowAlig nment())
79 , m_scrollBehavior(RenderStyle::initialScrollBehavior()) 77 , m_scrollBehavior(RenderStyle::initialScrollBehavior())
80 , m_requiresAcceleratedCompositingForExternalReasons(false) 78 , m_requiresAcceleratedCompositingForExternalReasons(false)
81 , m_hasInlineTransform(false) 79 , m_hasInlineTransform(false)
82 { 80 {
83 m_maskBoxImage.setMaskDefaults(); 81 m_maskBoxImage.setMaskDefaults();
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 , m_textDecorationStyle(o.m_textDecorationStyle) 121 , m_textDecorationStyle(o.m_textDecorationStyle)
124 , m_wrapFlow(o.m_wrapFlow) 122 , m_wrapFlow(o.m_wrapFlow)
125 , m_wrapThrough(o.m_wrapThrough) 123 , m_wrapThrough(o.m_wrapThrough)
126 , m_hasCurrentOpacityAnimation(o.m_hasCurrentOpacityAnimation) 124 , m_hasCurrentOpacityAnimation(o.m_hasCurrentOpacityAnimation)
127 , m_hasCurrentTransformAnimation(o.m_hasCurrentTransformAnimation) 125 , m_hasCurrentTransformAnimation(o.m_hasCurrentTransformAnimation)
128 , m_hasCurrentFilterAnimation(o.m_hasCurrentFilterAnimation) 126 , m_hasCurrentFilterAnimation(o.m_hasCurrentFilterAnimation)
129 , m_runningOpacityAnimationOnCompositor(o.m_runningOpacityAnimationOnComposi tor) 127 , m_runningOpacityAnimationOnCompositor(o.m_runningOpacityAnimationOnComposi tor)
130 , m_runningTransformAnimationOnCompositor(o.m_runningTransformAnimationOnCom positor) 128 , m_runningTransformAnimationOnCompositor(o.m_runningTransformAnimationOnCom positor)
131 , m_runningFilterAnimationOnCompositor(o.m_runningFilterAnimationOnComposito r) 129 , m_runningFilterAnimationOnCompositor(o.m_runningFilterAnimationOnComposito r)
132 , m_hasAspectRatio(o.m_hasAspectRatio) 130 , m_hasAspectRatio(o.m_hasAspectRatio)
133 , m_effectiveBlendMode(o.m_effectiveBlendMode)
134 , m_touchAction(o.m_touchAction) 131 , m_touchAction(o.m_touchAction)
135 , m_objectFit(o.m_objectFit) 132 , m_objectFit(o.m_objectFit)
136 , m_isolation(o.m_isolation)
137 , m_justifyItems(o.m_justifyItems) 133 , m_justifyItems(o.m_justifyItems)
138 , m_justifyItemsOverflowAlignment(o.m_justifyItemsOverflowAlignment) 134 , m_justifyItemsOverflowAlignment(o.m_justifyItemsOverflowAlignment)
139 , m_justifyItemsPositionType(o.m_justifyItemsPositionType) 135 , m_justifyItemsPositionType(o.m_justifyItemsPositionType)
140 , m_justifySelf(o.m_justifySelf) 136 , m_justifySelf(o.m_justifySelf)
141 , m_justifySelfOverflowAlignment(o.m_justifySelfOverflowAlignment) 137 , m_justifySelfOverflowAlignment(o.m_justifySelfOverflowAlignment)
142 , m_scrollBehavior(o.m_scrollBehavior) 138 , m_scrollBehavior(o.m_scrollBehavior)
143 , m_requiresAcceleratedCompositingForExternalReasons(o.m_requiresAccelerated CompositingForExternalReasons) 139 , m_requiresAcceleratedCompositingForExternalReasons(o.m_requiresAccelerated CompositingForExternalReasons)
144 , m_hasInlineTransform(o.m_hasInlineTransform) 140 , m_hasInlineTransform(o.m_hasInlineTransform)
145 { 141 {
146 } 142 }
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 && userDrag == o.userDrag 181 && userDrag == o.userDrag
186 && textOverflow == o.textOverflow 182 && textOverflow == o.textOverflow
187 && marginBeforeCollapse == o.marginBeforeCollapse 183 && marginBeforeCollapse == o.marginBeforeCollapse
188 && marginAfterCollapse == o.marginAfterCollapse 184 && marginAfterCollapse == o.marginAfterCollapse
189 && m_textDecorationStyle == o.m_textDecorationStyle 185 && m_textDecorationStyle == o.m_textDecorationStyle
190 && m_wrapFlow == o.m_wrapFlow 186 && m_wrapFlow == o.m_wrapFlow
191 && m_wrapThrough == o.m_wrapThrough 187 && m_wrapThrough == o.m_wrapThrough
192 && m_hasCurrentOpacityAnimation == o.m_hasCurrentOpacityAnimation 188 && m_hasCurrentOpacityAnimation == o.m_hasCurrentOpacityAnimation
193 && m_hasCurrentTransformAnimation == o.m_hasCurrentTransformAnimation 189 && m_hasCurrentTransformAnimation == o.m_hasCurrentTransformAnimation
194 && m_hasCurrentFilterAnimation == o.m_hasCurrentFilterAnimation 190 && m_hasCurrentFilterAnimation == o.m_hasCurrentFilterAnimation
195 && m_effectiveBlendMode == o.m_effectiveBlendMode
196 && m_hasAspectRatio == o.m_hasAspectRatio 191 && m_hasAspectRatio == o.m_hasAspectRatio
197 && m_touchAction == o.m_touchAction 192 && m_touchAction == o.m_touchAction
198 && m_objectFit == o.m_objectFit 193 && m_objectFit == o.m_objectFit
199 && m_isolation == o.m_isolation
200 && m_justifyItems == o.m_justifyItems 194 && m_justifyItems == o.m_justifyItems
201 && m_justifyItemsOverflowAlignment == o.m_justifyItemsOverflowAlignment 195 && m_justifyItemsOverflowAlignment == o.m_justifyItemsOverflowAlignment
202 && m_justifyItemsPositionType == o.m_justifyItemsPositionType 196 && m_justifyItemsPositionType == o.m_justifyItemsPositionType
203 && m_justifySelf == o.m_justifySelf 197 && m_justifySelf == o.m_justifySelf
204 && m_justifySelfOverflowAlignment == o.m_justifySelfOverflowAlignment 198 && m_justifySelfOverflowAlignment == o.m_justifySelfOverflowAlignment
205 && m_scrollBehavior == o.m_scrollBehavior 199 && m_scrollBehavior == o.m_scrollBehavior
206 && m_requiresAcceleratedCompositingForExternalReasons == o.m_requiresAcc eleratedCompositingForExternalReasons 200 && m_requiresAcceleratedCompositingForExternalReasons == o.m_requiresAcc eleratedCompositingForExternalReasons
207 && m_hasInlineTransform == o.m_hasInlineTransform; 201 && m_hasInlineTransform == o.m_hasInlineTransform;
208 } 202 }
209 203
(...skipping 24 matching lines...) Expand all
234 return false; 228 return false;
235 return m_transitions->transitionsMatchForStyleRecalc(*o.m_transitions); 229 return m_transitions->transitionsMatchForStyleRecalc(*o.m_transitions);
236 } 230 }
237 231
238 bool StyleRareNonInheritedData::hasFilters() const 232 bool StyleRareNonInheritedData::hasFilters() const
239 { 233 {
240 return m_filter.get() && !m_filter->m_operations.isEmpty(); 234 return m_filter.get() && !m_filter->m_operations.isEmpty();
241 } 235 }
242 236
243 } // namespace blink 237 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/style/StyleRareNonInheritedData.h ('k') | sky/engine/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698