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

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

Issue 167603002: Implement 'will-change' parsing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 , m_perspective(o.m_perspective) 98 , m_perspective(o.m_perspective)
99 , m_perspectiveOriginX(o.m_perspectiveOriginX) 99 , m_perspectiveOriginX(o.m_perspectiveOriginX)
100 , m_perspectiveOriginY(o.m_perspectiveOriginY) 100 , m_perspectiveOriginY(o.m_perspectiveOriginY)
101 , lineClamp(o.lineClamp) 101 , lineClamp(o.lineClamp)
102 , m_draggableRegionMode(o.m_draggableRegionMode) 102 , m_draggableRegionMode(o.m_draggableRegionMode)
103 , m_deprecatedFlexibleBox(o.m_deprecatedFlexibleBox) 103 , m_deprecatedFlexibleBox(o.m_deprecatedFlexibleBox)
104 , m_flexibleBox(o.m_flexibleBox) 104 , m_flexibleBox(o.m_flexibleBox)
105 , m_marquee(o.m_marquee) 105 , m_marquee(o.m_marquee)
106 , m_multiCol(o.m_multiCol) 106 , m_multiCol(o.m_multiCol)
107 , m_transform(o.m_transform) 107 , m_transform(o.m_transform)
108 , m_willChange(o.m_willChange)
108 , m_filter(o.m_filter) 109 , m_filter(o.m_filter)
109 , m_grid(o.m_grid) 110 , m_grid(o.m_grid)
110 , m_gridItem(o.m_gridItem) 111 , m_gridItem(o.m_gridItem)
111 , m_content(o.m_content ? o.m_content->clone() : nullptr) 112 , m_content(o.m_content ? o.m_content->clone() : nullptr)
112 , m_counterDirectives(o.m_counterDirectives ? clone(*o.m_counterDirectives) : nullptr) 113 , m_counterDirectives(o.m_counterDirectives ? clone(*o.m_counterDirectives) : nullptr)
113 , m_boxShadow(o.m_boxShadow) 114 , m_boxShadow(o.m_boxShadow)
114 , m_boxReflect(o.m_boxReflect) 115 , m_boxReflect(o.m_boxReflect)
115 , m_animations(o.m_animations ? adoptPtr(new CSSAnimationDataList(*o.m_anima tions)) : nullptr) 116 , m_animations(o.m_animations ? adoptPtr(new CSSAnimationDataList(*o.m_anima tions)) : nullptr)
116 , m_transitions(o.m_transitions ? adoptPtr(new CSSAnimationDataList(*o.m_tra nsitions)) : nullptr) 117 , m_transitions(o.m_transitions ? adoptPtr(new CSSAnimationDataList(*o.m_tra nsitions)) : nullptr)
117 , m_mask(o.m_mask) 118 , m_mask(o.m_mask)
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 && m_perspective == o.m_perspective 180 && m_perspective == o.m_perspective
180 && m_perspectiveOriginX == o.m_perspectiveOriginX 181 && m_perspectiveOriginX == o.m_perspectiveOriginX
181 && m_perspectiveOriginY == o.m_perspectiveOriginY 182 && m_perspectiveOriginY == o.m_perspectiveOriginY
182 && lineClamp == o.lineClamp 183 && lineClamp == o.lineClamp
183 && m_draggableRegionMode == o.m_draggableRegionMode 184 && m_draggableRegionMode == o.m_draggableRegionMode
184 && m_deprecatedFlexibleBox == o.m_deprecatedFlexibleBox 185 && m_deprecatedFlexibleBox == o.m_deprecatedFlexibleBox
185 && m_flexibleBox == o.m_flexibleBox 186 && m_flexibleBox == o.m_flexibleBox
186 && m_marquee == o.m_marquee 187 && m_marquee == o.m_marquee
187 && m_multiCol == o.m_multiCol 188 && m_multiCol == o.m_multiCol
188 && m_transform == o.m_transform 189 && m_transform == o.m_transform
190 && m_willChange == o.m_willChange
189 && m_filter == o.m_filter 191 && m_filter == o.m_filter
190 && m_grid == o.m_grid 192 && m_grid == o.m_grid
191 && m_gridItem == o.m_gridItem 193 && m_gridItem == o.m_gridItem
192 && contentDataEquivalent(o) 194 && contentDataEquivalent(o)
193 && counterDataEquivalent(o) 195 && counterDataEquivalent(o)
194 && shadowDataEquivalent(o) 196 && shadowDataEquivalent(o)
195 && reflectionDataEquivalent(o) 197 && reflectionDataEquivalent(o)
196 && animationDataEquivalent(o) 198 && animationDataEquivalent(o)
197 && transitionDataEquivalent(o) 199 && transitionDataEquivalent(o)
198 && m_mask == o.m_mask 200 && m_mask == o.m_mask
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 return false; 307 return false;
306 return true; 308 return true;
307 } 309 }
308 310
309 bool StyleRareNonInheritedData::hasFilters() const 311 bool StyleRareNonInheritedData::hasFilters() const
310 { 312 {
311 return m_filter.get() && !m_filter->m_operations.isEmpty(); 313 return m_filter.get() && !m_filter->m_operations.isEmpty();
312 } 314 }
313 315
314 } // namespace WebCore 316 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698