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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h

Issue 1973343003: Initial implementation of GeometryMapper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: none Created 4 years, 6 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: third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h b/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h
new file mode 100644
index 0000000000000000000000000000000000000000..6673ad3d1e8aa7effe80ca7a07217d8c026a42ea
--- /dev/null
+++ b/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h
@@ -0,0 +1,31 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
Xianzhu 2016/06/22 23:20:30 Nit: 2016
wkorman 2016/06/22 23:33:33 2016?
chrishtr 2016/06/23 00:18:27 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PropertyTreeState_h
+#define PropertyTreeState_h
+
+#include "wtf/HashFunctions.h"
+#include "wtf/HashTraits.h"
+
+namespace blink {
+
+class TransformPaintPropertyNode;
+class ClipPaintPropertyNode;
+class EffectPaintPropertyNode;
+
+struct PropertyTreeState {
wkorman 2016/06/22 23:33:33 Worth adding a brief doc comment even if just noti
chrishtr 2016/06/23 00:18:27 Done.
+ PropertyTreeState(
+ TransformPaintPropertyNode* transformArg,
wkorman 2016/06/22 23:33:33 I think it's ok to name these without 'Arg' and th
chrishtr 2016/06/23 00:18:27 Done.
+ ClipPaintPropertyNode* clipArg,
+ EffectPaintPropertyNode* effectArg)
+ : transform(transformArg), clip(clipArg), effect(effectArg) {}
+
+ TransformPaintPropertyNode* transform;
+ ClipPaintPropertyNode* clip;
+ EffectPaintPropertyNode* effect;
+};
+
+} // namespace blink
+
+#endif // PropertyTreeState_h

Powered by Google App Engine
This is Rietveld 408576698