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

Unified Diff: cc/layers/layer.h

Issue 2297213003: Fix CSS reference filters with negative transformed children. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « cc/ipc/struct_traits_unittest.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index 2f2bb308c9464f8f46cb8239efa79ecb3022efa6..72399af2f0a5a8547815898d36105463d32947db 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -309,6 +309,9 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
void SetHideLayerAndSubtree(bool hide);
bool hide_layer_and_subtree() const { return inputs_.hide_layer_and_subtree; }
+ void SetFiltersOrigin(const gfx::PointF& origin);
+ gfx::PointF filters_origin() const { return inputs_.filters_origin; }
+
void SetReplicaLayer(Layer* layer);
Layer* replica_layer() { return inputs_.replica_layer.get(); }
const Layer* replica_layer() const { return inputs_.replica_layer.get(); }
@@ -653,6 +656,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
FilterOperations filters;
FilterOperations background_filters;
+ gfx::PointF filters_origin;
gfx::ScrollOffset scroll_offset;
« no previous file with comments | « cc/ipc/struct_traits_unittest.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698