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*); | |
esprehn
2014/08/06 17:25:10
RenderLayer&
| |
22 virtual ~RenderLayerClipPathInfo(); | |
23 | |
24 void updateReferenceClipPathClients(ClipPathOperation*); | |
25 void removeReferenceClipPathClients(); | |
26 SVGClipPathElement* getClipPathElement() | |
esprehn
2014/08/06 17:25:10
We don't prefix getters with get. Also const.
| |
27 { | |
28 return m_clipPathElement.get(); | |
29 } | |
30 | |
31 private: | |
32 RenderLayer* m_layer; | |
33 | |
34 RefPtr<SVGClipPathElement> m_clipPathElement; | |
35 }; | |
36 | |
37 } // namespace blink | |
38 | |
39 #endif // RenderLayerClipPathInfo_h | |
OLD | NEW |