OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef RenderLayerClipPathInfo_h |
| 6 #define RenderLayerClipPathInfo_h |
| 7 |
| 8 #include "core/svg/SVGClipPathElement.h" |
| 9 #include "wtf/RefPtr.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class ClipPathOperation; |
| 14 class RenderLayer; |
| 15 class RenderLayerClipPathInfo; |
| 16 |
| 17 class RenderLayerClipPathInfo { |
| 18 WTF_MAKE_NONCOPYABLE(RenderLayerClipPathInfo); |
| 19 |
| 20 public: |
| 21 explicit RenderLayerClipPathInfo(RenderLayer*); |
| 22 virtual ~RenderLayerClipPathInfo(); |
| 23 |
| 24 void updateReferenceClipPathClients(ClipPathOperation*); |
| 25 void removeReferenceClipPathClients(); |
| 26 |
| 27 private: |
| 28 RenderLayer* m_layer; |
| 29 |
| 30 RefPtr<SVGClipPathElement> m_clipPathElement; |
| 31 }; |
| 32 |
| 33 } // namespace blink |
| 34 |
| 35 #endif // RenderLayerClipPathInfo_h |
OLD | NEW |