Index: third_party/WebKit/Source/platform/graphics/CompositorMutableProperties.h |
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutableProperties.h b/third_party/WebKit/Source/platform/graphics/CompositorMutableProperties.h |
index 8aecbfff4cd2e741e0bb36f53513ce457ca64aa6..42782463530930ac7d24d5993d8a87e0b6d54308 100644 |
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutableProperties.h |
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutableProperties.h |
@@ -5,12 +5,25 @@ |
#ifndef CompositorMutableProperties_h |
#define CompositorMutableProperties_h |
+#include <unordered_map> |
#include "cc/trees/mutable_properties.h" |
+#include "third_party/skia/include/core/SkMatrix44.h" |
namespace blink { |
using CompositorMutableProperty = cc::MutableProperty; |
+class CompositorMutableProperties { |
flackr
2017/04/03 17:09:19
Can you add a comment what this is used for?
smcgruer
2017/04/03 19:37:11
Done, although I don't love my own explanation...
|
+ public: |
+ uint64_t elementId; |
+ double opacity; |
+ float scrollLeft; |
+ float scrollTop; |
+ SkMatrix44 transform; |
+}; |
+typedef std::unordered_map<uint64_t, CompositorMutableProperties> |
+ ProxyCompositorMutablePropertiesMap; |
+ |
} // namespace blink |
#endif // CompositorMutableProperties_h |