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

Side by Side Diff: Source/core/style/StyleRareNonInheritedData.h

Issue 1299323005: blink: Add backdrop-filter support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: one more Created 5 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 bool contentDataEquivalent(const StyleRareNonInheritedData&) const; 87 bool contentDataEquivalent(const StyleRareNonInheritedData&) const;
88 bool counterDataEquivalent(const StyleRareNonInheritedData&) const; 88 bool counterDataEquivalent(const StyleRareNonInheritedData&) const;
89 bool shadowDataEquivalent(const StyleRareNonInheritedData&) const; 89 bool shadowDataEquivalent(const StyleRareNonInheritedData&) const;
90 bool reflectionDataEquivalent(const StyleRareNonInheritedData&) const; 90 bool reflectionDataEquivalent(const StyleRareNonInheritedData&) const;
91 bool animationDataEquivalent(const StyleRareNonInheritedData&) const; 91 bool animationDataEquivalent(const StyleRareNonInheritedData&) const;
92 bool transitionDataEquivalent(const StyleRareNonInheritedData&) const; 92 bool transitionDataEquivalent(const StyleRareNonInheritedData&) const;
93 bool shapeOutsideDataEquivalent(const StyleRareNonInheritedData&) const; 93 bool shapeOutsideDataEquivalent(const StyleRareNonInheritedData&) const;
94 bool clipPathDataEquivalent(const StyleRareNonInheritedData&) const; 94 bool clipPathDataEquivalent(const StyleRareNonInheritedData&) const;
95 bool hasFilters() const; 95 bool hasFilters() const;
96 bool hasBackdropFilters() const;
96 bool hasOpacity() const { return opacity < 1; } 97 bool hasOpacity() const { return opacity < 1; }
97 98
98 float opacity; // Whether or not we're transparent. 99 float opacity; // Whether or not we're transparent.
99 100
100 float m_perspective; 101 float m_perspective;
101 float m_shapeImageThreshold; 102 float m_shapeImageThreshold;
102 103
103 int m_order; 104 int m_order;
104 105
105 LengthPoint m_perspectiveOrigin; 106 LengthPoint m_perspectiveOrigin;
106 LengthPoint m_objectPosition; 107 LengthPoint m_objectPosition;
107 108
108 LineClampValue lineClamp; // An Apple extension. 109 LineClampValue lineClamp; // An Apple extension.
109 DraggableRegionMode m_draggableRegionMode; 110 DraggableRegionMode m_draggableRegionMode;
110 111
111 DataRef<StyleDeprecatedFlexibleBoxData> m_deprecatedFlexibleBox; // Flexible box properties 112 DataRef<StyleDeprecatedFlexibleBoxData> m_deprecatedFlexibleBox; // Flexible box properties
112 DataRef<StyleFlexibleBoxData> m_flexibleBox; 113 DataRef<StyleFlexibleBoxData> m_flexibleBox;
113 DataRef<StyleMultiColData> m_multiCol; // CSS3 multicol properties 114 DataRef<StyleMultiColData> m_multiCol; // CSS3 multicol properties
114 DataRef<StyleTransformData> m_transform; // Transform properties (rotate, sc ale, skew, etc.) 115 DataRef<StyleTransformData> m_transform; // Transform properties (rotate, sc ale, skew, etc.)
115 DataRef<StyleWillChangeData> m_willChange; // CSS Will Change 116 DataRef<StyleWillChangeData> m_willChange; // CSS Will Change
116 117
117 DataRef<StyleFilterData> m_filter; // Filter operations (url, sepia, blur, e tc.) 118 DataRef<StyleFilterData> m_filter; // Filter operations (url, sepia, blur, e tc.)
119 DataRef<StyleFilterData> m_backdropFilter; // Backdrop filter operations (ur l, sepia, blur, etc.)
118 120
119 DataRef<StyleGridData> m_grid; 121 DataRef<StyleGridData> m_grid;
120 DataRef<StyleGridItemData> m_gridItem; 122 DataRef<StyleGridItemData> m_gridItem;
121 DataRef<StyleScrollSnapData> m_scrollSnap; 123 DataRef<StyleScrollSnapData> m_scrollSnap;
122 124
123 OwnPtrWillBePersistent<ContentData> m_content; 125 OwnPtrWillBePersistent<ContentData> m_content;
124 OwnPtr<CounterDirectiveMap> m_counterDirectives; 126 OwnPtr<CounterDirectiveMap> m_counterDirectives;
125 OwnPtr<CSSAnimationData> m_animations; 127 OwnPtr<CSSAnimationData> m_animations;
126 OwnPtr<CSSTransitionData> m_transitions; 128 OwnPtr<CSSTransitionData> m_transitions;
127 129
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 unsigned marginAfterCollapse : 2; // EMarginCollapse 168 unsigned marginAfterCollapse : 2; // EMarginCollapse
167 unsigned m_appearance : 6; // EAppearance 169 unsigned m_appearance : 6; // EAppearance
168 170
169 unsigned m_textDecorationStyle : 3; // TextDecorationStyle 171 unsigned m_textDecorationStyle : 3; // TextDecorationStyle
170 unsigned m_wrapFlow: 3; // WrapFlow 172 unsigned m_wrapFlow: 3; // WrapFlow
171 unsigned m_wrapThrough: 1; // WrapThrough 173 unsigned m_wrapThrough: 1; // WrapThrough
172 174
173 unsigned m_hasCurrentOpacityAnimation : 1; 175 unsigned m_hasCurrentOpacityAnimation : 1;
174 unsigned m_hasCurrentTransformAnimation : 1; 176 unsigned m_hasCurrentTransformAnimation : 1;
175 unsigned m_hasCurrentFilterAnimation : 1; 177 unsigned m_hasCurrentFilterAnimation : 1;
178 unsigned m_hasCurrentBackdropFilterAnimation : 1;
176 unsigned m_runningOpacityAnimationOnCompositor : 1; 179 unsigned m_runningOpacityAnimationOnCompositor : 1;
177 unsigned m_runningTransformAnimationOnCompositor : 1; 180 unsigned m_runningTransformAnimationOnCompositor : 1;
178 unsigned m_runningFilterAnimationOnCompositor : 1; 181 unsigned m_runningFilterAnimationOnCompositor : 1;
182 unsigned m_runningBackdropFilterAnimationOnCompositor : 1;
179 183
180 unsigned m_effectiveBlendMode: 5; // EBlendMode 184 unsigned m_effectiveBlendMode: 5; // EBlendMode
181 185
182 unsigned m_touchAction : TouchActionBits; // TouchAction 186 unsigned m_touchAction : TouchActionBits; // TouchAction
183 187
184 unsigned m_objectFit : 3; // ObjectFit 188 unsigned m_objectFit : 3; // ObjectFit
185 189
186 unsigned m_isolation : 1; // Isolation 190 unsigned m_isolation : 1; // Isolation
187 191
188 // ScrollBehavior. 'scroll-behavior' has 2 accepted values, but ScrollBehavi or has a third 192 // ScrollBehavior. 'scroll-behavior' has 2 accepted values, but ScrollBehavi or has a third
(...skipping 14 matching lines...) Expand all
203 unsigned m_hasCompositorProxy : 1; 207 unsigned m_hasCompositorProxy : 1;
204 208
205 private: 209 private:
206 StyleRareNonInheritedData(); 210 StyleRareNonInheritedData();
207 StyleRareNonInheritedData(const StyleRareNonInheritedData&); 211 StyleRareNonInheritedData(const StyleRareNonInheritedData&);
208 }; 212 };
209 213
210 } // namespace blink 214 } // namespace blink
211 215
212 #endif // StyleRareNonInheritedData_h 216 #endif // StyleRareNonInheritedData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698