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

Unified 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, 4 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/style/StyleRareNonInheritedData.h
diff --git a/Source/core/style/StyleRareNonInheritedData.h b/Source/core/style/StyleRareNonInheritedData.h
index 35728ef6ba515002fbec47969e70b24ec5c0caec..a4004850e19acf38975d0fdb9564b19c1094fc53 100644
--- a/Source/core/style/StyleRareNonInheritedData.h
+++ b/Source/core/style/StyleRareNonInheritedData.h
@@ -93,6 +93,7 @@ public:
bool shapeOutsideDataEquivalent(const StyleRareNonInheritedData&) const;
bool clipPathDataEquivalent(const StyleRareNonInheritedData&) const;
bool hasFilters() const;
+ bool hasBackdropFilters() const;
bool hasOpacity() const { return opacity < 1; }
float opacity; // Whether or not we're transparent.
@@ -115,6 +116,7 @@ public:
DataRef<StyleWillChangeData> m_willChange; // CSS Will Change
DataRef<StyleFilterData> m_filter; // Filter operations (url, sepia, blur, etc.)
+ DataRef<StyleFilterData> m_backdropFilter; // Backdrop filter operations (url, sepia, blur, etc.)
DataRef<StyleGridData> m_grid;
DataRef<StyleGridItemData> m_gridItem;
@@ -173,9 +175,11 @@ public:
unsigned m_hasCurrentOpacityAnimation : 1;
unsigned m_hasCurrentTransformAnimation : 1;
unsigned m_hasCurrentFilterAnimation : 1;
+ unsigned m_hasCurrentBackdropFilterAnimation : 1;
unsigned m_runningOpacityAnimationOnCompositor : 1;
unsigned m_runningTransformAnimationOnCompositor : 1;
unsigned m_runningFilterAnimationOnCompositor : 1;
+ unsigned m_runningBackdropFilterAnimationOnCompositor : 1;
unsigned m_effectiveBlendMode: 5; // EBlendMode

Powered by Google App Engine
This is Rietveld 408576698