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

Unified Diff: Source/core/style/StyleDifference.h

Issue 1299323005: blink: Add backdrop-filter support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: removed some todos 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/StyleDifference.h
diff --git a/Source/core/style/StyleDifference.h b/Source/core/style/StyleDifference.h
index 1d3e610ea4a1bfda53cf0220001923984fe2baac..f3aacd306959d0cf95225dbc90d5254777518041 100644
--- a/Source/core/style/StyleDifference.h
+++ b/Source/core/style/StyleDifference.h
@@ -16,8 +16,9 @@ public:
OpacityChanged = 1 << 1,
ZIndexChanged = 1 << 2,
FilterChanged = 1 << 3,
+ BackdropFilterChanged = 1 << 4,
// The object needs to issue paint invalidations if it contains text or properties dependent on color (e.g., border or outline).
- TextOrColorChanged = 1 << 4,
+ TextOrColorChanged = 1 << 5,
};
StyleDifference()
@@ -74,6 +75,9 @@ public:
bool filterChanged() const { return m_propertySpecificDifferences & FilterChanged; }
void setFilterChanged() { m_propertySpecificDifferences |= FilterChanged; }
+ bool backdropFilterChanged() const { return m_propertySpecificDifferences & FilterChanged; }
+ void setBackdropFilterChanged() { m_propertySpecificDifferences |= BackdropFilterChanged; }
+
bool textOrColorChanged() const { return m_propertySpecificDifferences & TextOrColorChanged; }
void setTextOrColorChanged() { m_propertySpecificDifferences |= TextOrColorChanged; }

Powered by Google App Engine
This is Rietveld 408576698