Chromium Code Reviews| 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..3ca6a1077b757fb24b157e82d9d2f02062d66fa6 |
| --- /dev/null |
| +++ b/Source/core/rendering/RenderLayerClipPathInfo.h |
| @@ -0,0 +1,39 @@ |
| +// 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*); |
|
esprehn
2014/08/06 17:25:10
RenderLayer&
|
| + virtual ~RenderLayerClipPathInfo(); |
| + |
| + void updateReferenceClipPathClients(ClipPathOperation*); |
| + void removeReferenceClipPathClients(); |
| + SVGClipPathElement* getClipPathElement() |
|
esprehn
2014/08/06 17:25:10
We don't prefix getters with get. Also const.
|
| + { |
| + return m_clipPathElement.get(); |
| + } |
| + |
| +private: |
| + RenderLayer* m_layer; |
| + |
| + RefPtr<SVGClipPathElement> m_clipPathElement; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // RenderLayerClipPathInfo_h |