Index: Source/core/rendering/RenderLayerClipPathInfo.h |
diff --git a/Source/core/rendering/RenderLayerClipPathInfo.h b/Source/core/rendering/RenderLayerClipPathInfo.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a19ef73ae1a47514077146911aaaf00a98a24bf6 |
--- /dev/null |
+++ b/Source/core/rendering/RenderLayerClipPathInfo.h |
@@ -0,0 +1,35 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef RenderLayerClipPathInfo_h |
+#define RenderLayerClipPathInfo_h |
+ |
+#include "core/svg/SVGClipPathElement.h" |
+#include "wtf/RefPtr.h" |
+ |
+namespace blink { |
+ |
+class ClipPathOperation; |
+class RenderLayer; |
+class RenderLayerClipPathInfo; |
+ |
+class RenderLayerClipPathInfo { |
+ WTF_MAKE_NONCOPYABLE(RenderLayerClipPathInfo); |
+ |
+public: |
+ explicit RenderLayerClipPathInfo(RenderLayer*); |
+ virtual ~RenderLayerClipPathInfo(); |
+ |
+ void updateReferenceClipPathClients(ClipPathOperation*); |
+ void removeReferenceClipPathClients(); |
+ |
+private: |
+ RenderLayer* m_layer; |
+ |
+ RefPtr<SVGClipPathElement> m_clipPathElement; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // RenderLayerClipPathInfo_h |